Repository navigation
Conversation
omacom#10134 made omarchy-theme-set-vscode write a real theme file with a content-derived extension version, but test/cli still expected a symlink and seeded the obsolete marker with version 1.0.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
LGTM — matches (Formal approve isn't available from my account on this repo; treat this as an approval from review.) |
Automated AI review
Verified: No issue found in the changed test. The description of the base failures matches the current
Verified: In disposable copies of the head with one script change each, the head suite fails on the pre-#10134 script (symlink plus constant Optional test improvement: The suite never asserts the version written to the generated
This line, placed after the registration check, passes on the head script and fails on that variant: jq -e --arg version "$vscode_theme_version" '.version == $version' "$PI_TMPDIR/.vscode/extensions/omarchy-theme/package.json" >/dev/null || fail "vscode generated extension version follows the theme content"Seeding the pre-#10134 symlink before the run would also cover the upgrade path: without the Review informationTest scope: Source review of AI process: Opus 5.5 Medium coordination and synthesis, independent Opus 5.5 Xhigh and GPT 6 Sol Xhigh technical assessments, Opus 5.5 Medium editorial check. Opt out: To stop receiving these reviews, reply to this comment saying so. |
|
Reviewed and tested at d96671a; nothing found. Fixes #13131. Where it ran: Review: The new checks match Related: #13133, #13766 and #13810 fix the same failing test. #13133 makes the same change, opened a day later. #13766 also asserts Nothing is left for the author. This waits on the maintainer. |
|
Where it ran: Review: I compared this diff with Thank you for tracking down both failures, including the obsolete-marker one hidden behind the first. This now waits on the maintainer, recommending it be closed as superseded. #13131 is fixed on |
Summary
#10134 (merged 2026-09-23) changed
omarchy-theme-set-vscodeto writeomarchy-color-theme.jsonas a real file instead of a symlink intocurrent/theme, and to derive the extension version from the theme content (1.0.<cksum>). Both changes were deliberate: they let VS Code's_watchreload fire, and they invalidate VS Code's theme cache.test/cliwasn't updated, so./test/clinow fails onquattro:not ok - vscode generated theme references current theme file: the check still expects a symlink.not ok - vscode generated theme clears obsolete extension marker: this one was hidden behind the first. The test seeds.obsoletewithlocal.omarchy-theme-1.0.0, but the script removes only the marker for the version it installs, which is no longer1.0.0.Changes
Test only; the script is unchanged:
current/theme/vscode-theme.json..obsoletefixture marks the version the script will actually compute, so the "clears obsolete marker" check keeps testing the removal path.Tests
./test/clinow passes: 112 ok, exit 0. Before this change it stopped at the first failure above.cc @Macho0x, as a follow-up to #10134.
🤖 Generated with Claude Code
Fixes #13131