Repository navigation
fix(app): list every Advanced section in the developer-mode command palette - #4722
Conversation
…ion items Both claims went stale when #4505 added per-section Advanced items: the id list omitted them, and "reset" now surfaces Advanced › Organization server (keyword "reset server") ahead of the Advanced tab. Red on origin/dev before this change.
…palette Tightens command-palette-search: the seventh Advanced section must be listed without a search and reachable by its alias.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Passed · 3/3 tests · 4/4 assertions · 2 images Commit |
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (11427 ms), confidentiality-review (13730 ms), spec-provenance-review (27208 ms), desktop-den-sync-review (15818 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (947150786472aed356b3978f3b8da11d23807ad6). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Root cause
Triage:
/Users/guillaume/OpenWork Chat/reports/e2e-red-2026-09-09/triage.md→ Cluster 5 — Command palette settings cap (Brief F).rankPaletteItemscaps the no-query Settings group at 6 items. #4505 (ee06ea14d) put the Advanced sections first in developer mode and relied on there being exactly 6 of them. #4293 (94649b44a) added a 7thADVANCED_SETTINGS_SECTIONSentry ("Workspace run mode"), so "Developer" fell off the empty developer-mode palette andcommand-palette-searchwent red (Timed out … seeing label=/^Developer/, first red nightly Sep 6).What changed
apps/app/src/react-app/shell/command-palette-search.ts— the settings preview limit is nowMath.max(6, ADVANCED_SETTINGS_SECTIONS.length), so every Advanced section is always listed in developer mode; regular mode is unchanged in practice (7 tabs instead of 6 in the preview).apps/app/tests/command-palette-settings.test.tssettings:advanced/*id (verified red without the fix, green with it).origin/dev@c744e2d7b(stale since Make Advanced settings sections searchable with Command+K #4505 added per-section Advanced items): the stable-id list now includes the seven Advanced section ids, and"reset"is asserted to surface Advanced › Organization server (keyword "reset server") then the Advanced tab. This is re-expressing an intentional product change, not loosening.evals/specs/command-palette-search.e2e.test.ts— tightening: asserts "Workspace run mode" is listed in developer mode without a search and is reachable via its alias (keep going) in the Command+K jump loop.Proof
bun test --isolate tests/command-palette-search.test.ts tests/command-palette-settings.test.ts(apps/app): 11 pass, 0 fail.pnpm --filter @openwork/app typecheck: exit 0.OPENWORK_EVAL_REF=947150786472aed356b3978f3b8da11d23807ad6 pnpm evals:e2e command-palette-search --daytonaat sha9471507:selection: engine=legacy surface=legacy case=all; placement: daytona (--daytona)[openwork/testkit] ==> source verified 947150786472aed356b3978f3b8da11d23807ad6{"placement":"daytona","files":["command-palette-search"],"passed":1,"failed":0,"skipped":0,"verdict":"passed"}Verdict: Passed (Daytona lane, single spec, no skips).
Noticed, not touched
pnpm --dir evals exec tsc -p tsconfig.jsonreports ~358 pre-existing errors onorigin/dev(mostlypackages/email--jsxnot set); none in this spec.command-palette-pin-renameis a separate cluster (macOSMeta+Ksent to a Linux desktop) and is not addressed here.