Repository navigation
Assert the generated VS Code theme extension sets _watch - #13766
SorenHJohansen wants to merge 2 commits into
Conversation
fde7e26 to
9f9d4f7
Compare
Independent community review
Tested: Result: The change behaved as expected. The base branch reproduces the test failure on Testing details
|
|
Thanks for tracking this down. The bug this fixes is real, and What was checked: the diff read against One assertion here is not on Next step is the maintainer's: close this as fixed by #14259, or keep the |
…-test # Conflicts: # test/cli
_watch
|
Assert the generated VS Code theme extension sets
_watchContext
The stale symlink and static-
1.0.0assertions this PR originally targeted were fixed independently onquattroby #14259 (commit0e7d6c2), which seeds the obsolete marker with the checksum-derived version and replaces the symlink/readlinkchecks with a not-a-symlink check plus acmpagainst the current palette. This branch now merges currentquattroand adds only what is still missing.What is still missing:
_watchbin/omarchy-theme-set-vscodewrites the theme as a real same-inode file rather than a symlink precisely so VS Code's watcher fires and reloads the theme when the palette changes. That reload depends on the manifest declaring_watch: true. Nothing else in the suite covers that flag, so removing it would silently disable live theme reload with no failing test.Change
One assertion on top of current
quattro:This tests the manifest flag only, not that a reload actually happens.
Verification
The suite cannot run on a development host; verify in the disposable VM: