Repository navigation
Fix main CI sidebar drop metrics test fixture - #6575
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Sidebar Drop Metrics Test Helper
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error, 1 warning)
✅ Passed checks (21 passed)
✨ Finishing Touches📝 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 |
chore: sync fork with upstream cmux main (incl. manaflow-ai#6575)
Fixes the main CI compile failure from https://github.com/manaflow-ai/cmux/actions/runs/27930576162.
The
SidebarWorkspaceDropMetricsTestssnapshot helper lagged behindSidebarWorkspaceSnapshotBuilder.SnapshotaftermediaActivitybecame a required field. The fix keeps the model initializer explicit and updates the fixture with the neutralBrowserMediaActivity()value, matching the existing snapshot-refresh test helper pattern.Validation:
git diff --checkscripts/lint-pbxproj-test-wiring.shxcodebuild testandbuild-for-testingwere blocked by the cmux hq local test guard, so PR CI is the authoritative compile check.Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Note
Low Risk
Test-only fixture update with no production or runtime behavior changes.
Overview
Fixes a main CI compile failure in
SidebarWorkspaceDropMetricsTestsby updating theworkspaceSnapshot()helper so it matches the currentSidebarWorkspaceSnapshotBuilder.Snapshotinitializer.Snapshotnow requiresmediaActivity. The fixture passes a neutralBrowserMediaActivity(), consistent with other snapshot test helpers. Drop-target height behavior under test is unchanged; only the model construction is brought up to date.Reviewed by Cursor Bugbot for commit f870aa4. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Fixes the main CI compile error by updating
SidebarWorkspaceDropMetricsTeststo include the requiredmediaActivityfield in the snapshot fixture.mediaActivity: BrowserMediaActivity()to the snapshot initializer to matchSidebarWorkspaceSnapshotBuilder.Snapshotand keep the model constructor explicit.Written for commit f870aa4. Summary will update on new commits.
Summary by CodeRabbit