Repository navigation
fix(vscode): Show Status uses the output channel only (#5319) - #11916
Conversation
Drop the duplicate information toast from ripr.showStatus, hide the main status-bar item when the server is unavailable, and keep the no-workspace item as the persistent open-workspace cue. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
|
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 35 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
Author self-review of exact head 693a15ad91 (COMMENT, not a counted approval).
Reviewed surface. shouldShowMainStatusBar and showStatusAsync; consumers renderStatusBar and ripr.showStatus; tests in status_render.test.ts / extension.test.ts; docs/EDITOR_EXTENSION.md.
Semantic owner. Visibility stays in statusRender.ts. Show Status still writes the summary to the output channel, then output.show() only. updateStatus's disable-restart guard is a different decision and was left alone.
Oracle challenge. The kind table is Record<RiprStatusKind, boolean> (compile-fail if a kind is omitted) plus a sorted hidden-kind pin of disabled and serverUnavailable. Show Status counts output.show() === 1 and empty info/warning/error arrays against the real controller.showStatus() path. Existing Show Status oracles now read outputLines instead of the removed toast. Removing either hide or the toast drop fails those tests.
Product decision. noWorkspace stays visible as the open-workspace cue (walkthrough is one-shot; no visibility setting). Recorded on the issue. serverFailed stays visible. #5319 is Advanced, not Closed.
Overlap. #11766 already landed on this base. #11887 still edits client.ts near workspace-root offer (~922); this head only touches showStatusAsync / renderStatusBar (~2257–2323).
Disposition. Source/oracle review complete for this head. Hosted vscode/merge-gate evidence is still missing → REVIEW_INCOMPLETE for merge. Do not merge from this comment.
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm show Status now routes the status summary to the output channel and calls output.show() without a toast; the focused controller test covers this path.
- Confirm the visibility helper hides disabled and serverUnavailable but intentionally keeps noWorkspace and all other warning/error states visible.
Parked follow-ups
- The new Show Status unit test builds a complete RiprClientRuntime and controller inside status_render.test.ts, mixing a status-render suite with controller-command integration concerns; existing extension.test.ts already provides controller-level coverage.
- The PR body explicitly leaves the real multi-root server acceptance journey not established; that journey is adjacent to, but not changed by, this status-bar patch.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- The late cargo-test receipt was absent from the supplied evidence packet, so compilation and test execution remain independently unverified by this lane.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Advances #5319
Summary
Remainder of #5319 after #11502 (passive stale), #8280 (context-menu trim) and #7787 (hide when disabled):
ripr: Show Statusopens the output channel once and no longer raises an information toast.serverUnavailableas well asdisabled.noWorkspacestays visible asripr: open workspace. Opening a loose file is not an opt-out; the walkthrough is one-shot and there is no visibility setting, so the item remains the persistent next-step cue. ux(vscode): status bar turns "stale" on every keystroke and its click opens output plus a notification #5319 asked to hide this state too, so this PR does not close the issue.Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Proposal:
Spec: RIPR-SPEC-0049
ADR:
Plan item:
Governing issue or accepted claim: #5319
Acceptance delta (one sentence): Show Status opens only the output channel, and the main status-bar item hides when the server is unavailable while remaining the open-workspace cue when no folder is open.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
cursor/status-bar-show-status-remainder-7788Stack parent or prerequisite PR (if any): none; #11766 landed on main before this head; #11887 still edits
client.tsnearofferWorkspaceRootSelection(~line 922) and this PR stays inshowStatusAsync/renderStatusBar(~2257–2323). Rebase if #11887 merges first.Proposed replacement of PR (if any; not yet accepted):
Acceptance retained from a replaced candidate (if any):
Accepted winner and losing candidate disposition (when decided):
Scope
VS Code main status-bar visibility and the Show Status command.
Scope Classification
This PR is scoped by:
Production delta:
editors/vscode/src/client.tsshowStatusAsync: keepoutput.show(), dropshowInformationMessage.editors/vscode/src/statusRender.tsshouldShowMainStatusBar: hidedisabledandserverUnavailable; keepnoWorkspacevisible.Evidence/support delta:
editors/vscode/test/suite/status_render.test.ts: exhaustive kind→visibility table; Show Status opens the output panel once and raises no notification.editors/vscode/test/suite/extension.test.ts: existing visibility table and Show Status oracles retargeted to the output channel; unavailable-server controller path asserts the item is hidden.docs/EDITOR_EXTENSION.md,changelog.d/5319-status-bar-show-status-remainder.md,.ripr/traceability.d/5319-status-bar-show-status-remainder.toml.Single acceptance criterion:
Non-goals:
noWorkspace(kept as an open-workspace cue; see above).serverFailedvisibility (start failure still occupies the bar).Support-tier Impact
Claim/proof notes:
docs/EDITOR_EXTENSION.mdnow names that the main item is hidden for server-unavailable and stays visible for no-workspace.Policy Impact
Ledger or exception notes:
Proof
Result, failures, or skipped proof:
Real multi-root server acceptancehost failed locally withreal-client trace observation is missingat "select root A". That path is spawn/trace evidence, not status-bar visibility or Show Status toasts; classified not established as a candidate defect (retry withRIPR_TEST_MULTIROOT_ONLY=1reproduced the same missing observation). Hosted vscode e2e under merge-ready is the authority for that journey.editors/vscode/package.json; typecheck isnpm run compile(tsc), andcheck-static-languagescanned the TS change.Claim Boundary
What may be claimed after this PR? What must not be claimed yet?
serverFailed) is hidden; Diagnose Setup stopped toasting.Rollback
Revert the squash commit. No settings, schema, or workflow changes.
Spec-Test-Code Traceability
status_render.test.tsvisibility table and Show Status notification-free path;extension.test.tscontroller visibility and output oracleseditors/vscode/src/statusRender.ts,editors/vscode/src/client.tsStatic Language Check
killed,survived,untested,proven, andadequate.CI Economics
n/a
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.panic,unwrap,expect,todo, orunimplementedin tests.Gates
Extension changes:
cd editors/vscode && npm cicd editors/vscode && npm run compileHosted vscode e2e / package run under merge-ready.
Candidate SHA:
693a15ad913ff9b2f9faa9e548a44befe5d87163