Repository navigation
Conversation
ymichael
deleted the
bb/ci-flake-fix-appimage-owned-runtime-recurrence-a-thr_sb5c9p9kcb
branch
September 8, 2026 22:18
2 of 3 tasks
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.
Human comments
What was wrong
The desktop startup probe treated a successful
/healthresponse followed by a network failure from/api/v1/system/configas proof that the listening process was an incompatible non-bb server. The startup loop gives each probe the 250 ms polling interval as its request deadline, so scheduler contention could let bb-app reach health and begin its host daemon while the config request was aborted.waitForCompatibleServerreturned that result immediately, and the desktop then stopped its own healthy-starting runtime. The AppImage smoke correctly observed the resulting supervisor exit.This is the sequence exposed in the first current-main failure and made explicit by startup logging in run 34279226033 and run 34280422213: port 65535 was listening, bb-app was starting the host daemon, and the config probe reported
This operation was aborted. Port 65535 is the smoke's intentionally reserved non-ephemeral port, not a collision.This is distinct from the earlier AppImage fixes: the maintained runtime and AppRun bridge both launch successfully, the allocated port belongs to the new server, and
/healthhas already established server readiness. The failure is the desktop's transient second-stage probe classification.What changed
No timeout, polling interval, retry ceiling, smoke assertion, CLI surface, wire contract, or host-daemon protocol changed.
How you verified
incompatibleafter the abort with/api/v1/system/config returned This operation was aborted; green after the change with four fetches and a compatible result.pnpm exec turbo run test --filter=@bb/desktop --output-logs=new-only -- --run test/server-probe.test.ts— 7/7 passed.pnpm exec turbo run build typecheck test --filter=@bb/desktop --concurrency=2 --output-logs=new-onlyin an Intel x86_64 Ubuntu 24.04 VM — 16/16 Turbo tasks, 39/39 test files, and 295/295 tests passed.pnpm exec turbo run desktop:build:linux --filter=@bb/desktop --concurrency=2 --output-logs=new-only— 14/14 Turbo tasks passed and rebuilt the x64 AppImage.