Repository navigation
test(e2e): expand child agent lists in spinner benchmark fixture - #37184
Conversation
|
No actionable comments were generated in the recent review.
|
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
75d18d7a-9461-403d-900d-dbcaafa76dae
Files selected for processing: 1-
tests/e2e/spinner-workspace-fixture.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
-
Sub-agent lists start collapsed since #36936, so the spinner benchmark's working subagent rows never mounted and the census assertion failed.
ca572ee to
96cacc9
Compare
ELI5
The spinner benchmark checks that working sub-agent rows are on screen before it measures anything. Sub-agent lists now start collapsed in the sidebar, so those rows never showed up and the benchmark failed right away. The fixture now opens the lists before it measures.
What Changed
seedSpinnerWorkspaces(tests/e2e/spinner-workspace-fixture.ts) clicks every collapsed child-agent disclosure ([data-agent-child-disclosure-button][aria-expanded="false"]) in the mounted sidebar. It repeats because expanding cards can mount more virtualized cards. It reportsexpandedChildAgentListsin the seeded summary. Product code is unchanged.Why
#36936 (506bcaa) made child agent lists start collapsed. The expansion state lives in a renderer-module cache and isn't in the store, so the fixture has to use the real disclosure control. The census assertion is unchanged. This unblocks measuring with
tests/e2e/spinner-workspace-perf.spec.ts.Linked Issue
N/A (internal benchmark fixture drift)
Visual Proof
N/A: this only changes a test fixture. There is no product UI or behavior change.Testing
ORCA_SPINNER_BENCH=1 ORCA_SPINNER_CPU=0 ... -g "one-family|200-flat|200-lineage"on macOS. All three failed before this change and pass now.workingSubagentRowsbefore → after:one-family: 0 → 4
200-flat: 0 → 48 (mounted rings 71 → 90)
200-lineage: 0 → 800 (mounted rings 1003 → 1403)
I manually tested these changes locally
Automated tests added/updated, or explained why not below (fixture-only change to an opt-in benchmark)
Risk
Level: Low. Only the opt-in spinner benchmark is affected. To back it out, revert this PR.
Agent skill upstream boundary
Checklist
N/Awith reason for visualspnpm tc,pnpm check:code-quality:changed origin/mainpass