Repository navigation
Fix the background intro lifecycle test that fails every CI run - #17840
Merged
Merged
Conversation
…itor sessions Since #17035 a session rendering on the CPU turns Hyprland's animations off, so the CI VM zeroes every Style.duration and the opening crossfade the fixture checks never runs. Give the fixtures a hyprctl that reports animations on, which also keeps them off the live compositor. The cover check ran a fixed 200 ms after prepareTheme, but decoding and presenting the cover took 200-300 ms on three high-resolution screens. Wait for the cover to leave "loading" instead, up to 3 s. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
[Low impact] The PR appears safe to merge, with the previous finding addressed and no new actionable issues found. SummaryThis PR makes the background intro tests less dependent on machine speed and desktop settings.
Reviews (2) · Last reviewed commit: "Keep background intro fixtures from raci..." · Reviewed by Greptile |
The lifecycle fixture now waits up to 3 s for its cover, longer than the fake launcher's fixed 2 s; the launcher's exit then cleared the cover before the check. The launcher now waits for the fixture to release it, in the step after the background is suspended. The switch fixture checked a fixed 600 ms after a change made during an intro, before the fake owe render had handed the still over on a busy machine. That step now waits for the still too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
cursor Bot
pushed a commit
to mark-groves/omarchy
that referenced
this pull request
Nov 6, 2026
…om#17840) * Fix the background intro lifecycle test on CPU-rendered and multi-monitor sessions Since omacom#17035 a session rendering on the CPU turns Hyprland's animations off, so the CI VM zeroes every Style.duration and the opening crossfade the fixture checks never runs. Give the fixtures a hyprctl that reports animations on, which also keeps them off the live compositor. The cover check ran a fixed 200 ms after prepareTheme, but decoding and presenting the cover took 200-300 ms on three high-resolution screens. Wait for the cover to leave "loading" instead, up to 3 s. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Keep background intro fixtures from racing a fixed launcher or render The lifecycle fixture now waits up to 3 s for its cover, longer than the fake launcher's fixed 2 s; the launcher's exit then cleared the cover before the check. The launcher now waits for the fixture to release it, in the step after the background is suspended. The switch fixture checked a fixed 600 ms after a change made during an intro, before the fake owe render had handed the still over on a busy machine. That step now waits for the still too. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
bamr87
pushed a commit
to bamr87/amrchy
that referenced
this pull request
Nov 15, 2026
…ery CI run (omacom#17840) Upstream test-only fix, taken ahead of the next upstream sync because the CI image moved past the synced snapshot (Hyprland animations are off on CPU rendering, so the VM zeroed the crossfade the fixture checks). Original subject: Fix the background intro lifecycle test that fails every CI run (omacom#17840) * Fix the background intro lifecycle test on CPU-rendered and multi-monitor sessions Since omacom#17035 a session rendering on the CPU turns Hyprland's animations off, so the CI VM zeroes every Style.duration and the opening crossfade the fixture checks never runs. Give the fixtures a hyprctl that reports animations on, which also keeps them off the live compositor. The cover check ran a fixed 200 ms after prepareTheme, but decoding and presenting the cover took 200-300 ms on three high-resolution screens. Wait for the cover to leave "loading" instead, up to 3 s. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Keep background intro fixtures from racing a fixed launcher or render The lifecycle fixture now waits up to 3 s for its cover, longer than the fake launcher's fixed 2 s; the launcher's exit then cleared the cover before the check. The launcher now waits for the fixture to release it, in the step after the background is suspended. The switch fixture checked a fixed 600 ms after a change made during an intro, before the fake owe render had handed the still over on a busy machine. That step now waits for the still too. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit d5b32d2) Co-Authored-By: Claude Opus 5.5 <[email protected]>
omarchybot
added a commit
to OmarGonD/omarchy
that referenced
this pull request
Nov 22, 2026
Keep the animation stub and launcher release handshake from omacom#17840 alongside the shared sequencer. Otherwise the old branch fails its crossfade assertion on CPU-rendered workers before reaching the remaining handoff checks. Co-Authored-By: GPT-6 High <[email protected]>
This was referenced Nov 22, 2026
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 changes
The
Testsjob has been failing on nearly every PR because of one file,test/shell.d/background-intro-lifecycle-test.sh. Of the last 13 failed runs I pulled artifacts for, every one that reached the tests failed on the same check: "app retints also wait through the opening crossfade". It has nothing to do with the PRs it fails on.Since #17035, a session that renders on the CPU turns Hyprland's animations off. The CI VM renders on llvmpipe, so the shell's
Style.reduceMotiongoes true and everyStyle.duration()returns 0. The startup fade then finishes the moment it starts, and the fixture never sees the crossfade it checks for. The fixtures now get a fakehyprctlthat reports animations on, the same as the switch fixture's fake already does. That also stops them from callinghyprctl evalon whatever live compositor runs the test.A second, separate flake failed the same file locally on every run: "the outgoing cover is presented before the shell is hidden". That step checked the cover a fixed 200 ms after
prepareTheme, but on three high-resolution screens the cover took 200-300 ms to decode and present. Steps can now take anuntilcondition, and that step waits for the cover to leave "loading", up to 3 s, before it checks.Two more fixed delays could race the same way, so they wait now too:
sleep 2, and its exit clears the cover throughfinishStartup(). It now waits for the lifecycle fixture to release it, in the step after the background is suspended. The other fixtures keep the 2 s sleep.owe renderhad handed the still over. That step now waits for the still, up to 3 s.Because
failexits the script, the switch fixture hasn't actually run in CI while the crossfade check was failing ahead of it.Verification
bash test/shell.d/background-intro-lifecycle-test.shon my desktop (3 monitors, animations on): failed on every run before; all three fixtures pass now. The switch fixture's 600 ms race failed once locally before its wait was added.hyprctlreporting animations off failed the crossfade check 3 out of 3 times, matching CI. With animations reported on, the crossfade check passed.Testsrun is the real check, since the CI VM is where the crossfade failure happens.Screenshots
No visible change: test fixture and harness only.