Repository navigation
fix(tab-bar): restore the tab-results fixture after occupantAgent became required - #15277
Conversation
…ame required main is currently red: #15134 made `occupantAgent` required on SearchableWorkspaceTab but did not update this test's fixture, so `tsc -p config/tsconfig.tc.web.json` fails on main itself. TabBarCreateEntry.tab-results.test.tsx(51,9): error TS2322 Property 'occupantAgent' is missing ... but required in type 'SearchableWorkspaceTab' Reproduced on pristine origin/main (545b3fb) with no other commits present, so this blocks every PR, not one branch. The field is `TuiAgent | null` and this fixture models tabs with no occupant, so null is the accurate value.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan includes up to 10 reviews per rolling hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe tab-results test fixture now includes Merge Risk: ⚪ Minimal · up to This is a narrowly scoped test-fixture correction that restores typecheck health without changing product behavior; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
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 |
…upstream merge Upstream stablyai#15277/stablyai#15423 added the same key in the fixture; our prior local fix left a duplicate property causing TS1117 at typecheck. Removing the duplicate restores green build. Co-Authored-By: internal-model
mainis red. #15134 madeoccupantAgentrequired onSearchableWorkspaceTabbut didn't update this test's fixture, so the web typecheck fails on main itself:Reproduced on pristine
origin/main(545b3fba08d) with no other commits present, so this blocks every open PR, not one branch. I hit it on an unrelated dev-tooling PR whose diff touches onlyconfig/scripts/.The field is
TuiAgent | null, and this fixture models tabs with no occupant, sonullis the accurate value rather than a placeholder.Verified:
tsc -p config/tsconfig.tc.web.jsonclean, and the suite still passes 10/10.