base red: CmuxNextAppTests compile again (missing CmuxNextAgentPane import, slow #expect)
Merged
LA
6d ago+3+3+0123456789-1-1-0123456789
Summary
Base red, priority zero (tip watcher STATUS 2342). The feat tip 8769d23ba27 fails the CmuxNext compile check, job e0fc122468454277f36ec6eb, in two test files:
CloudMachineChangeStateTests.swift(from #28407) usesDaemonUpdateBoard, which is inCmuxNextAgentPane, withoutimport CmuxNextAgentPane. The.pausederror at :548 follows from it.AddMachineFlowTests.swift:189(from #28762):list.rows.map(\.step).filter { $0 == .approvals }.count == 1inside#expectis too slow for the type checker. Filter rows by step first, then count.
Test-only. No product code changes.
Testing
- Red: the tip's own compile check
e0fc122468454277f36ec6ebat8769d23ba27(7 errors, all in these two files). - Green: fleet compile check at this head (job in a comment below).
prepush-gate.py: no new violations; arch-ratchet: no count rises.
Observed / Not run
- Observed: the tip's error list (tip watcher state), the fix diff, prepush-gate.
- Not run: the two suites themselves; this PR only makes them compile.
Changelog
none
![View with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png)
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Fixes the red CmuxNext compile check on feat-cmux-next caused by two test files that failed to compile.
- Adds the missing
import CmuxNextAgentPaneinCloudMachineChangeStateTests, which usesDaemonUpdateBoardfrom that module. - Rewrites the slow
map/filter/countchain inAddMachineFlowTestsinside#expectto filter rows by step first, then count.
Test-only; no product code changes.