Skip to content

fix(tab-bar): restore the tab-results fixture after occupantAgent became required - #15277

Merged
nwparker merged 1 commit into
mainfrom
nwparker/fix-tab-results-typecheck
Aug 18, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/fix-tab-results-typecheck

Conversation

@nwparker

@nwparker nwparker commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1
Prod 0 0 0 0

main is red. #15134 made occupantAgent required on SearchableWorkspaceTab but didn't update this test's fixture, so the web typecheck fails on main itself:

TabBarCreateEntry.tab-results.test.tsx(51,9): error TS2322
  Property 'occupantAgent' is missing in type '{ ... }'
  but required in type 'SearchableWorkspaceTab'

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 only config/scripts/.

The field is TuiAgent | null, and this fixture models tabs with no occupant, so null is the accurate value rather than a placeholder.

Verified: tsc -p config/tsconfig.tc.web.json clean, and the suite still passes 10/10.

…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.
@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5a900139-4500-4e0e-a1dd-62a476c50006

📥 Commits

Reviewing files that changed from the base of the PR and between 545b3fb and ef0e3b2.

📒 Files selected for processing (1)
  • src/renderer/src/components/tab-bar/TabBarCreateEntry.tab-results.test.tsx

Included review availability: Your plan includes up to 10 reviews per rolling hour; 2 remain after this review.


📝 Walkthrough

Walkthrough

The tab-results test fixture now includes occupantAgent: null in mocked workspace tab entries.

Merge Risk: ⚪ Minimal · up to ef0e3

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)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the change, cause, and testing, but it omits most required template sections and the mandatory linked issue. Add the required sections, provide the linked issue, document visual proof as N/A, and complete the checklist and review details.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the fixture fix and explains why the change was required.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit 96d88dd into main Aug 18, 2026
47 checks passed
@nwparker
nwparker deleted the nwparker/fix-tab-results-typecheck branch August 18, 2026 08:50
penghuizhang added a commit to penghuizhang/orca that referenced this pull request Aug 19, 2026
…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
paidaxingyo666 pushed a commit to paidaxingyo666/Manta that referenced this pull request Aug 21, 2026
dallascrilley pushed a commit to dallascrilley/orca that referenced this pull request Aug 27, 2026
nguyen2770 pushed a commit to nguyen2770/orca that referenced this pull request Sep 27, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
nguyen2770 pushed a commit to nguyen2770/orca that referenced this pull request Nov 9, 2026
nguyen2770 pushed a commit to nguyen2770/orca that referenced this pull request Nov 16, 2026
nguyen2770 pushed a commit to nguyen2770/orca that referenced this pull request Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant