Repository navigation
fix(ux): VS Code extension frictions (Lane K) - #8280
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 11 minutes. View limit details
Comment |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- Test asserts submenu id exists in contributes.submenus but does not assert submenu.label === 'ripr'; a label typo/rename would still pass the menu-shape tests.
Verification questions
- Confirm tied-with-deepStrictEqual assertion orders topLevelCommands and submenus lists separately; assertions remain order-sensitive and will fail on any reordering.
- Confirm submenu shape and grouping contract:
package.jsondeclares a single contributed submenu (ripr.editorContext, labelripr) and exactly one submenu entry oneditor/contextpointing to it atripr@2. The seven cockpit commands move intomenus['ripr.editorContext']in the same order as before, renumbered toripr@1–ripr@7. Noeditor.context.copy/editor.context.clipboardplugins or re-ordering of the top-level group was added.
Refuted
- Adding a top-level submenu in editor/context will surface a new 'ripr' item in unsupported file types (e.g. .json, .md).; refuted because: The editor/context entry retains the exact
editorTextFocus && resourceLangId =~ /^(rust\|typescript\|typescriptreact\|javascript\|javascriptreact\|python)$/when-clause it had before; the submenu is only rendered when that clause evaluates true.
Test proof
- Focused HEAD proof failed (exit 101):
cargo test --locked --package vscode-extension --test command_menus_manifest. This is a current failure, not a red/green witness.
Parked follow-ups
- old: copyTopRepairPacket group 'ripr@2' at top level; new: same command under submenu ripr@1 — a stale test asserting only the flat list would still pass pre-change. This is a real coverage gap but only in the old test, which is replaced.
- Group-numbering leak: the seven moved commands are renumbered
@1..@7inside the submenu but the two top-level entries keep@1/@2from the old scheme; cosmetic only since sorting is still stable within each surface.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
|
Bounded Lane K follow-up from post-merge qualification: verified_current at current main The VS Code job 117282394110 checked out This is a deterministic test-contract mismatch, rather than an environment/setup failure. The new valid submenu entry supplies I ran the actual entire manifest suite directly from pinned Git objects with Node v24.19.0
All four post-submenu revisions have identical manifest blob Reproduce the landed snapshot in this workspace: Recommended bounded acceptance for the existing owner: preserve the submenu UX and language guards; make the wiring invariant understand command versus submenu entries; continue rejecting unknown command/keybinding IDs and unknown submenu IDs. Refute the repair by separately substituting an unregistered command and an unregistered submenu, then run the focused manifest suite before qualified E2E. No product-menu regression has been established by this failing assertion. The same native run's Rust-only and Perl/release-proof jobs passed. This does not establish whole-main green; Analytics run 38993677307 was still running at the parent handoff and has not been rechecked here. Existing GitHub search 403 holds remain in force, so I have not claimed an exhaustive absence of another repair and am routing evidence to the known originating owner instead of creating a new issue or writer. |
Lane K of the #7842 fix-lane plan. Two
uxissues in the VS Code extension; one was already fixed by merged sibling work, one is fixed here.#7677 — bare "Copy Receipt Command" palette title hides its scope
Sibling-fixed, not re-fixed. Verified against current
origin/main(5707fbb): the bare title is nowripr: Copy Receipt Command (Receipt Status), contributed once, alongsideripr: Copy Receipt Command (Top Repair Packet)andripr: First PR - Copy Receipt Command, so all three receipt scopes are distinguishable in the palette. Landed via PR #7982 (merged 2026-10-14, merge commit 30a505b, confirmed ancestor oforigin/main); the issue was closed by that merge.Refs #7677
#7678 — eight contiguous ripr entries in the editor context menu
Verified still current at
origin/main(contributes.menus.editor/contextdeclared eight entries, groupsripr@1–ripr@8, three near-identical clipboard commands).Fix (manifest-only, per the issue's suggested direction):
Copy Repair Packet at Cursorstays at the top level (highest-frequency action, already keybound atCtrl+Alt+Shift+P/Cmd+Alt+Shift+P).ripr.editorContextsubmenu labeled ripr, keeping the sameeditorTextFocus && resourceLangIdguard on every entry.command_menus_manifest.test.tsupdated: pins the one top-level action plus the submenu entry, the seven submenu commands in stable order, the language guard inside the submenu, and that payload-bound commands stay out of both surfaces.changelog.d/7678-editor-context-submenu.mdadded.Closes #7678
Proof
editors/vscode:npm ci,npm run compile,npm run package— all three pass (VSIXdist/ripr-0.11.0.vsix, 411 files).package.json(editor/context shape, submenu order, when-clauses, no dangling command ids, code-action-only exclusion).unwrap(/expect(/panic!(/proven/killed/survived/untested/adequate).Non-goals