Repository navigation
test(cloud): follow the Coderouter section and the Cloud sheet wrapper - #17448
Conversation
Main's full CI at 1c84448 (run 37374680247) failed three suites on test drift, which the window crash loop fixed in #17433 had been hiding: - CloudTreeAvailabilityTests:23/:47 and MachineCreateOptimisticProjectionTests:89: #17233 always appends the Coderouter section, so exact tree IDs and node counts gained it. - CloudCreateTeamSheetPresenterTests:101: #17422 hosts every Cloud sheet in CloudSheetWindow's CloudSheetContent wrapper, so the window no longer has an NSHostingController<CloudCreateTeamSheet>. Find the window by its cmux.cloudCreateTeam identifier and read the sheet through the wrapper, which is now internal (its size reporter stays fileprivate). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
All contributors have signed the CLA ✍️ ✅ |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe changes expose ChangesCloud team sheet presenter tests
Cloud tree test expectations
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to The changes align the presenter tests and cloud-tree expectations with their current source contracts. No merge-blocking risk was identified in the inspected changes. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
🧰 Additional context used📚 Code guidelines (3)Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Subagent review at 2f1b813: approve, with no blocking issues. It checked:
This PR's CI still has to show the Create Team assertions passing, since main's run never got past the window lookup. |
|
Merge receipt for
|
Dogfood tours of
|
615a103 test(cloud): follow the Coderouter section and the Cloud sheet wrapper (manaflow-ai#17448) 5fe7ca2 ci: propose removing dormant TUI nightly workflow (manaflow-ai#17419) fbf762a ci: harden hosted queue rescue permissions (manaflow-ai#17449) 3c37fe0 ci: rescue hosted jobs cancelled in queue (manaflow-ai#17447) f4b3c1d fix: reattach live agent views after relaunch (manaflow-ai#17435) 6c7d3a9 ci: route backend-migrations and web-complexity through CI_TRUSTED_RUNNER (manaflow-ai#17445) 0b20768 ci: publish meaningful nightly release notes (manaflow-ai#17434) 2fd61ee ci: say whose failure it is in the CI attribution comment (manaflow-ai#17443) 1adaf63 ci: route read-only Linux lanes through Blacksmith (manaflow-ai#17438) 1c84448 fix: repair main's red full CI (window crash loop, Cloud port and team regressions and test drift) (manaflow-ai#17433) # Conflicts: # .github/workflows/backend-migrations.yml # .github/workflows/ci-cloud-overflow-probe.yml # .github/workflows/ci-compile-attribution.yml # .github/workflows/ci-failure-attribution.yml # .github/workflows/ci-fast-guards.yml # .github/workflows/ci-guard-attribution.yml # .github/workflows/ci-guards.yml # .github/workflows/ci-health-report.yml # .github/workflows/ci-hosted-queue-rescue.yml # .github/workflows/ci-repo-variables.yml # .github/workflows/cmux-tui-sdks.yml # .github/workflows/labels-sync.yml # .github/workflows/merge-group-policy-checks.yml # .github/workflows/nightly.yml # .github/workflows/tui-publish-npm.yml # .github/workflows/web-complexity-trusted.yml




Summary
Main's full CI at 1c84448 (run 37374680247) failed app-host shards 1, 2 and 7 on test drift. The window crash loop that #17433 fixed had been hiding these failures.
CloudTreeAvailabilityTests.swift:23,:47andMachineCreateOptimisticProjectionTests.swift:89: feat: add Coderouter section to Cloud sidebar #17233 always appends the Coderouter section toCloudTreeNodeBuilder.nodes, so the exact tree IDs and node counts now include it. The expectations come from the CI log's actual values. This follows fix: repair main's red full CI (window crash loop, Cloud port and team regressions and test drift) #17433's MachinesPanelModelTests fix.CloudCreateTeamSheetPresenterTests.swift:101(3 tests): fix: Cmd+Y crash and New Machine sheet layout #17422 hosts every Cloud sheet inCloudSheetWindow'sCloudSheetContentwrapper, so the window's controller is no longerNSHostingController<CloudCreateTeamSheet>.cmux.cloudCreateTeamidentifier and reads the sheet through the wrapper.CloudSheetContentgoes from private to internal; its size reporter stays fileprivate. That is the onlySources/change, and it is visibility only.The other failures in that run were flakes or infra and are left alone:
workflow-guard-historycheckout hung, which then failed linux-preflight and release-admissionFileExplorerOpenedTabDragSourceTests.swift:251failed once in shard 1. I'll recheck it on this PR's run.Testing
Resource check
None: test expectations and one visibility change.
Changelog
none
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Fixes cloud test drift that main's CI caught at 1c84448, which the window crash-loop fix in #17433 had been hiding.
CloudCreateTeamSheetPresenterTeststo find the window by itscmux.cloudCreateTeamidentifier and read the sheet through theCloudSheetContentwrapper, since fix: Cmd+Y crash and New Machine sheet layout #17422 hosts every Cloud sheet in it.CloudSheetContentinternal (its size reporter staysfileprivate); the onlySources/change is that visibility.Testing
Written for commit 2f1b813. Summary will update on new commits.
Summary by CodeRabbit