Repository navigation
Fix stale renderer callback fixture calls on main - #13422
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
Understand this PR’s impact Explore downstream dependencies and potential security impact with Blast Radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe three renderer callback tests now use ChangesRenderer callback test fixtures
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Other Suggested reviewers: 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
|
cc3e06c ci: run PR web validation tests only once (manaflow-ai#13170) 34e079c test: repair renderer callback fixture calls (manaflow-ai#13422) 6c68431 Merge pull request manaflow-ai#13348 from manaflow-ai/feat/agent-rooms-pr b96f70b Merge pull request manaflow-ai#13319 from manaflow-ai/feat/capacity-routing-reliability 06ccafb test(agent-chat): run routing locale coverage 4b44485 test(agent-chat): cover routing locales 830af36 fix(agent-chat): localize continuation actions 2529b10 fix(agent-chat): consume localized routing notices a7e5bb9 feat(agent-chat): localize routing handoff copy 916942b test(agent-chat): reject stale handoff responses 6a51312 fix(agent-chat): ignore stale handoff responses c567163 test(agent-mail): cover readable JSON framing d983516 fix(agent-mail): keep ACP message bodies readable 69f1646 fix(agent-chat): clean up reserved handoff tabs 6e22f0a chore(web): keep routing complexity gate green 46deb98 fix(agent-chat): guard handoff lifecycle a2d2c99 test(coderouter): sequence split NDJSON retry responses 47874e3 test(coderouter): return healthy response after split NDJSON failover 5f4e2c4 fix(coderouter): keep probing metadata and cancellation e57953a test(coderouter): cover NDJSON probe boundaries ff80f03 fix(coderouter): ignore capacity markers in output deltas fba5152 fix(coderouter): fail over NDJSON capacity events be92b41 fix(agent-chat): harden agent room message contracts 447a565 refactor(coderouter): split capacity routing control flow fcfff82 fix(coderouter): serialize cooldown SQL timestamps explicitly 9b45b7c fix(coderouter): use ArrayBuffer-backed Claude probe bodies cd1b353 docs: mark agent rooms core in progress d4de5f5 docs: align agent room message identity a4470bc docs: propose provider-neutral agent rooms 8035c05 feat(agent-chat): add durable mail prompt seam for ACP 7ac69f3 feat(agent-chat): add deterministic mail replies 3122049 feat(agent-chat): add provider-neutral mail broker 610fa61 expose normalized agent route health 7fb4a43 add explicit continue elsewhere handoff f116181 ci: retry canary artifact cleanup 087d30a ci: serialize stale run janitor invocations 44d51f2 make chat handoff visible 9ad79b0 fail over embedded Claude overload streams abcc13f classify Codex quota holdouts separately 074f33e handle Codex overload and quota error codes da049be reroute non-2xx model capacity responses ad5323b trace coderouter capacity failover f970f43 route model capacity failures before output b8e2c19 Document hosted Subrouter capacity contract # Conflicts: # .github/workflows/ci-artifact-canary.yml # .github/workflows/ci-stale-run-janitor.yml # .github/workflows/web-validation.yml
Summary
Current
mainno longer compilesCmuxTerminalTests/TerminalSurfaceRendererCallbackTests.swift:PresentedSurfaceFixturenow installs the native renderer callback lifecycle itself, but a later merge reintroduced three calls to the removedinstallRendererCallbacks:initializer.This restores the fixture usage introduced by the native-callback alignment work: all three callback tests construct
PresentedSurfaceFixture()directly and continue exercising the C callback boundary through the fixture-installed callbacks.Evidence
Recent unrelated PRs fail
swift-package-testswithextra argument 'installRendererCallbacks' in call, followed by cascadingrenderHealthinference errors. The fixture definition on current main has onlyinit(windowVisibleAtCreation:)and already callsmakeRendererCallbackContextForTestingplusregisterRendererCallbacksForTesting.This is test-only and intentionally narrow.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Fixes the
swift-package-testsbuild failure by updating three renderer callback tests to use the currentPresentedSurfaceFixture()initializer.PresentedSurfaceFixturenow installs the renderer callback lifecycle itself, so the removedinstallRendererCallbacks:argument was breaking compilation on main. The tests continue exercising the C callback boundary through the fixture-installed callbacks; this is test-only and doesn't change runtime behavior.Written for commit 7c51235. Summary will update on new commits.
Summary by CodeRabbit