Repository navigation
Conversation
…t now keeps Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Low impact] The PR appears safe to merge; no outstanding findings or new actionable issues were identified. SummaryThe PR restores the video-background test after theme backgrounds began decoding early. It initializes the prepared-background variables and checks that a snapshot for a disappeared background is deleted. Reviews (2) · Last reviewed commit: "Merge quattro, keeping the prepared snap..." · Reviewed by Greptile |
chessing234
left a comment
There was a problem hiding this comment.
everything seems fine, ready to merge.
…nd case checks Quattro's omacom#14259 fixed the same unbound-variable abort by setting PREPARED_BACKGROUND and PREPARED_BACKGROUND_SNAPSHOT to empty just after the lines this branch adds. Merged as is, the empty values win, the check that the prepared snapshot is deleted tests an empty path and always passes, and the snapshot file is left in the test's temp directory. Drop the empty assignments so the case runs against the snapshot it prepared. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks @manuaudio. I reviewed this, ran it on a worker VM built from the Omarchy ISO, and pushed one merge commit to your branch. What changed on quattro since this was opened. #14259 fixed the same Pushed: 19bbcd5 merges quattro into the branch and drops quattro's two empty assignments, so the case runs against the snapshot it prepared. Against quattro, the diff is still only your seven lines in Checked on the worker:
Second opinion: Codex Medium reviewed the merged head and found no defects. It agreed that the resolution makes the check exercise the cleanup branch, and that no other test covers that deletion. Independence isn't guaranteed. GitHub has no CI result for this head yet. What's left: this no longer fixes a failing test on quattro. What it adds is one regression check for stale prepared-snapshot cleanup, so it can't be verified as a bug fix, and whether to take it is the maintainer's call. Nothing is needed from you. |
|
Thanks @chessing234 — I appreciate the review. I rechecked the current head after the later |
|
Closing this: #14259 fixed the same abort on quattro, so it no longer fixes a failing test. Thanks for the review and the merge. |
test/shell.d/video-background-test.shfails onquattro:The test copies
set_theme_backgroundout ofbin/omarchy-theme-setwith awk and runs it underset -u. Since #13408 ("Decode theme backgrounds earlier, and at screen size"), that function readsPREPARED_BACKGROUNDandPREPARED_BACKGROUND_SNAPSHOT. The script sets those at top level, but the test never defines them, so the file aborts before its last checks run.This PR sets both variables in the test, and the "preselected background disappeared" case now covers #13408's handling of a snapshot prepared ahead of time:
set_theme_backgrounddeletes that snapshot instead of leaving it behind.That new check fails if the
rm -f "$PREPARED_BACKGROUND_SNAPSHOT"branch is removed.Only the test changes.
./test/shellreports the file as passing again.🤖 Generated with Claude Code