Skip to content

fix(vscode): Show Status uses the output channel only (#5319) - #11916

Merged
EffortlessSteven merged 1 commit into
mainfrom
cursor/status-bar-show-status-remainder-7788
Oct 31, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
cursor/status-bar-show-status-remainder-7788

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Advances #5319

Summary

Remainder of #5319 after #11502 (passive stale), #8280 (context-menu trim) and #7787 (hide when disabled):

  • ripr: Show Status opens the output channel once and no longer raises an information toast.
  • The main status-bar item hides for serverUnavailable as well as disabled.
  • noWorkspace stays visible as ripr: 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

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge, dependency, or repo-ops development for ripr-swarm

Source-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-7788
Stack parent or prerequisite PR (if any): none; #11766 landed on main before this head; #11887 still edits client.ts near offerWorkspaceRootSelection (~line 922) and this PR stays in showStatusAsync / 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:

  • One production behavior

Production delta:

  • editors/vscode/src/client.ts showStatusAsync: keep output.show(), drop showInformationMessage.
  • editors/vscode/src/statusRender.ts shouldShowMainStatusBar: hide disabled and serverUnavailable; keep noWorkspace visible.

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:

  • Clicking Show Status reveals the output channel once without a toast, and the main item is absent for disabled and server-unavailable states while still shown for no-workspace.

Non-goals:

Support-tier Impact

  • changes a README, release, docs, CLI, JSON, editor, CI, or package claim

Claim/proof notes:

  • docs/EDITOR_EXTENSION.md now names that the main item is hidden for server-unavailable and stays visible for no-workspace.

Policy Impact

  • none

Ledger or exception notes:

Proof

cd editors/vscode && npm ci
npm run compile                          # tsc exit 0
cargo xtask check-static-language        # pass
cargo xtask check-changelog-fragments    # pass
cargo xtask check-traceability           # pass
RIPR_TEST_GREP='opens the output panel once|every status kind has an explicit visibility|hides disabled and serverUnavailable' cargo xtask vscode-test
  # mocha: 3 passing (required-journey miss is grep-only)
cargo xtask vscode-test                  # mocha main host: 555 passing, 1 pending
cargo xtask precommit                    # exit 0

Result, failures, or skipped proof:

  • Focused Show Status / visibility tests passed.
  • Full extension mocha host: 555 passing after retargeting Show Status oracles to output lines.
  • The follow-on Real multi-root server acceptance host failed locally with real-client trace observation is missing at "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 with RIPR_TEST_MULTIROOT_ONLY=1 reproduced the same missing observation). Hosted vscode e2e under merge-ready is the authority for that journey.
  • No eslint/lint script exists in editors/vscode/package.json; typecheck is npm run compile (tsc), and check-static-language scanned the TS change.

Claim Boundary

What may be claimed after this PR? What must not be claimed yet?

Rollback

Revert the squash commit. No settings, schema, or workflow changes.

Spec-Test-Code Traceability

  • Spec: RIPR-SPEC-0049
  • Tests: status_render.test.ts visibility table and Show Status notification-free path; extension.test.ts controller visibility and output oracles
  • Code: editors/vscode/src/statusRender.ts, editors/vscode/src/client.ts
  • Golden outputs:
  • Metrics:
  • ADR/learning:

Static Language Check

  • Static output avoids killed, survived, untested, proven, and adequate.
  • Unknowns include stop reasons where applicable.

CI Economics

n/a

Engineering Check

  • No new panic, unwrap, expect, todo, or unimplemented in production code.
  • No new panic, unwrap, expect, todo, or unimplemented in tests.
  • New non-Rust programming files are allowlisted with owner, surface, and reason.
  • New generated, dependency, process-spawn, or network surfaces are allowlisted with owner and reason.
  • Errors are reported with actionable context.
  • Public JSON/schema changes are documented.

Gates

Extension changes:

  • cd editors/vscode && npm ci
  • cd editors/vscode && npm run compile

Hosted vscode e2e / package run under merge-ready.

Candidate SHA: 693a15ad913ff9b2f9faa9e548a44befe5d87163

Open in Web Open in Cursor 

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>
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 150 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: ffb7c512-202a-4682-90f9-5c576244f2cb
Commits

Reviewing files that changed from the base of the PR and between fa621a3 and 693a15a.

Files selected for processing: 7
  • .ripr/traceability.d/5319-status-bar-show-status-remainder.toml
  • changelog.d/5319-status-bar-show-status-remainder.md
  • docs/EDITOR_EXTENSION.md
  • editors/vscode/src/client.ts
  • editors/vscode/src/statusRender.ts
  • editors/vscode/test/suite/extension.test.ts
  • editors/vscode/test/suite/status_render.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 31, 2026 22:33
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven
EffortlessSteven merged commit 6de1acc into main Oct 31, 2026
51 of 52 checks passed
@EffortlessSteven
EffortlessSteven deleted the cursor/status-bar-show-status-remainder-7788 branch October 31, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants