Repository navigation
chore(ops): turn on the legacy highlight rewrite in the PM2 config - #80
Merged
Merged
Conversation
Production has run editor-hocus with HOCUS_REWRITE_LEGACY_HIGHLIGHTS=1 since 2026-11-15, set with pm2 restart --update-env and pm2 save. Put it in ecosystem.config.cjs so pm2 start or reload from the file keeps it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Sets
HOCUS_REWRITE_LEGACY_HIGHLIGHTS: "1"in theeditor-hocusenv ofecosystem.config.cjs.Why
Production has run Hocus with the flag since 2026-11-15. It was set with
pm2 restart --update-envandpm2 save, so it lives only in PM2's dump.pm2 start ecosystem.config.cjsorpm2 reload ecosystem.config.cjswould drop it. Release N tabs are gone (client_schemashows only current builds withrefused:0), so the rewrite is safe to keep on permanently.Deploy
No action: the running process already has the flag. The next
git pullbrings the file in line with it.Checks
editor-hocusgets the flag (bun -erequire check).tests/unit/cipasses.