Repository navigation
fix(desktop): non-gating qual cleanup after green T2+fault - #10782
Git-on-my-level merged 1 commit into
Conversation
Failed v0.12.142 qualification solely on final-cleanup lease lineage after Tier-2 and fault suite passed (BasedHardware#10779). Authenticated lease release now retires the admission pointer without killing unproven listeners; qualify-desktop-beta and the workflow finalize step no longer fence behavioral success on runner-hygiene cleanup failure. Failure-Class: none
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 42e2e2d2e2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if allow_unproven_listener_skip and skipped_unproven: | ||
| # Leave residual listeners; release still retires the admission pointer. | ||
| return |
There was a problem hiding this comment.
Keep escalating processes that still prove ownership
In the self-hosted qualification workflow, if one service has an unproven listener while another lease-owned service remains alive after the initial SIGINT, skipped_unproven makes this return exit the entire stop loop before SIGTERM/SIGKILL can be sent to the owned service. release() then removes the active lease pointer and marks the state completed, so subsequent acquisition cannot reclaim that owned process; it can continue consuming ports and runner resources indefinitely. Skip the unproven record, but continue all STOP_PHASES for records whose ownership remains proven.
Useful? React with 👍 / 👎.
Summary
v0.12.142 ordinary M1 qualification failed after Tier-2 and fault suite both passed, solely on final-cleanup lease-lineage (
Refusing to signal a qualification listener whose lease lineage is unproven). That permanently fenced the tag.This change keeps behavioral gates mandatory and loosens runner-hygiene cleanup so the next candidate can qualify when user-visible suites are green.
Changes
qualify-desktop-beta.sh: final-cleanup is non-gating after behavioral pass; EXIT trap does not rewrite a green exit solely for residual lease cleanup.qualification.release: authenticated release retires the lease pointer even when residual listeners fail lineage proof; never kills unproven PIDs.desktop_qualify_beta.ymlfinalize step:continue-on-error+ records cleanup status (non-gating).Failure-Class
Failure-Class: none
Verification
bash desktop/macos/tests/test-qualify-desktop-beta-contract.sh✅bash desktop/macos/tests/test-qualification-lease-command.sh✅python3 -m pytest scripts/dev-harness/tests/test_qualification_lease.py -q→ 15 passed, 2 skipped ✅Related