Skip to content

Revert "test(ios): Chief tests wait on the change, not a wall clock (#28337)" - #28741

Closed
teamleaderleo wants to merge 1 commit into
feat-cmux-nextfrom
ios-ci-3/revert-28337
Closed

teamleaderleo wants to merge 1 commit into
feat-cmux-nextfrom
ios-ci-3/revert-28337

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Reverts #28337 (squash commit a7a51e0). This is the restore-base rule: the fix-forward #28586 missed its roughly one-hour window and has a red of its own.

Why:

The diff is the exact inverse of #28337: only ChiefTests.swift and MacHomeTests.swift, set back to their blobs at 901c769. Neither file changed on feat-cmux-next since the merge.

The eventually/timeout redesign comes back in a new PR, held until the full kit is clean under load.

Agent session: agent session

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Reverts #28337, which made Chief tests wait on state changes instead of a wall clock. The merged change made the full CmuxMobileChiefTests target fail 1 of 5 runs, and the fix-forward #28586 had its own four timeouts traced to the new eventually wait.

Restores the previous polling wait in ChiefTests.swift and MacHomeTests.swift, removes the Observation-based wake-up tests, and reinstates the exact .delivered delivery expectation. The change-based wait redesign returns in a new PR once the full kit is stable under load.

Written for commit 05f8de6. Summary will update on new commits.

View guided diff Turn on auto-fix

…28337)"

This reverts commit a7a51e0.

The Chief target failed at the merge (step 1b6fc19c), and its fix-forward #28586 has a red of its own traced to the new wait at ChiefTests.swift:369.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the risk:low Risk tier (docs/ci/risk-tiers.md) label Oct 31, 2026
@github-actions

Copy link
Copy Markdown
Contributor

cmux status (one comment, edited in place; each line is updated by the job that owns it)

Review 05f8de6: HQ feed card · gallery before/after runs · checks

App of this head (app.zip, kept 1 day)

gh workflow run reload-build.yml -R manaflow-ai/cmux --ref feat-cmux-next -f tag=pr28741 -f ref=ios-ci-3/revert-28337 -f platform=macos -f backend_mode=local

@blacksmith-sh

blacksmith-sh Bot commented Oct 31, 2026

Copy link
Copy Markdown

Found 1 test failure on Blacksmith runners:

Failure

Test View Logs
test_every_listed_hook_is_one_glaeda_released_with_the_check (main.SigningHooksInSt
epWithGlaedaTests.test_every_listed_hook_is_one_glaeda_released_with_the_check)/
test_every_listed_hook_is_one_glaeda_released_with_the_check (main.SigningHooksInSt
epWithGlaedaTests.test_every_listed_hook_is_one_glaeda_released_with_the_check)
View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

@azooz2003-bit for awareness: this reverts #28337 (Chief test waits only, ChiefTests.swift and MacHomeTests.swift, no product code). It's on hold: the independent review BLOCKs it, and the old waits it restores fail the Chief target at this head too. Not a wait gate.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Closing: this revert makes base worse.

  • The full CmuxMobileChiefTests target failed both runs at this head:

    • 48efd59a: 109 passed, 5 failed.
    • fa2b9b5f: 111 passed, 3 failed.

    They hit the same load timeouts ("timed out waiting for Chief to connect", plus the HomeRetryTests and MacHomeFeedTests until waits), with the old wait's CancellationError thrown at ChiefTests.swift:366.

  • The independent review blocked it on the three races it brings back:

    • the pin command checked before its unawaited write has run (MacHomeTests.swift:205);
    • until/within hanging on a polling child that ignores cancellation;
    • the .delivered-only assertion at ChiefTests.swift:317.

#28337 stays on base, and #28586 is the fix-forward. The load timeouts get their own rework PR.

This branch was previously deployed

1 inactive deployment
ci-routing-agent — 05f8de6f Deployed Oct 31, 2026 by teamleaderleo via wait for same-key tree publisher #86497
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:low Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant