Skip to content

test: remove low-value CLI dashboard and browser examples - #42316

Merged
OrcaWin merged 1 commit into
mainfrom
test/remove-cli-dashboard-and-browser-examples-5058
Nov 14, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
test/remove-cli-dashboard-and-browser-examples-5058

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Remove five whole suites and selected CLI capability, cookie fallback, and dashboard graph examples: 15 registrations / 27 expanded cases, with 343 net lines removed. The deleted suites pin template inventories, runtime-selection descriptors, dashboard mode defaults, a narrow reveal refusal, and model preference projections.

Keep real generated plugin execution, identity-bound launch recovery, interpreter handoff, Bash routing, browser URL and cookie scope, dashboard freshness, and cycle handling checks. This deliberately drops the removed cases' direct regression alarms; retained tests are not equivalent replacements. Remove four obsolete timing entries. No production code changes.

Validation: all 36 changed-file checks passed; all 33 retained cases in 11 files passed. Staged patch matches independently composed source patches, and all other timing values remain identical.

Files Added Deleted Net
Test 8 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1 $\color{#cf222e}{\Huge{\mathbf{−}}}$​340 $\color{#cf222e}{\Huge{\mathbf{−}}}$​339
Prod 1 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​4 $\color{#cf222e}{\Huge{\mathbf{−}}}$​4

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The diff removes test coverage for CLI agent launch and model preferences, plugin templates and Node selection, browser cookie deletion, and dashboard navigation, lineage, and mode resolution. It also removes two plugin test timing entries from the CI manifest. The supplied summaries report no implementation code changes.

Merge Risk: Minimal · up to 91dac

This change only removes test coverage and does not affect shipped behavior. Merge risk is minimal; reduced regression coverage for a few narrow cases is a stated tradeoff.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title 'test: remove low-value CLI dashboard and browser examples' is partially related to the changeset. The PR deletes several test suites and some test cases spanning CLI, dashboard, browser coo…
Description check Passed The description follows the template's main sections in substance. It explains the removals and the retained checks, and it gives validation results. It does not fill the ELI5, Linked Issue, Visual Pr…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title 'test: remove low-value CLI dashboard and browser examples' is partially related to the changeset. The PR deletes several test suites and some test cases spanning CLI, dashboard, browser cookie, and plugin areas, so the title names a real aspect of the change. It is broad and does not mention the deleted plugin-template and plugin-test-node suites or the timing manifest edits, but it is not off-topic and it is not vague.

Full details: Description check

Explanation

The description follows the template's main sections in substance. It explains the removals and the retained checks, and it gives validation results. It does not fill the ELI5, Linked Issue, Visual Proof, Risk Level, Testing checkboxes, or AI Disclosure sections. The 'Why' section is only partly covered by the author's note that the removed cases drop direct regression alarms. Because the PR is test-only, Visual Proof can be N/A, but the author did not write N/A. The Linked Issue is missing. Overall the description is mostly complete in its substance but lacks several required template fields.

Resolution

Add an ELI5 summary and a plain before/after for the What Changed section. Add a Why section that explains why these tests are low value and why removing them is preferred over replacing them. Add a linked issue or a justification if none exists. Write N/A with a reason in Visual Proof. Set the Risk Level. Mark the Testing checkboxes that apply. Fill in the AI Disclosure section, or leave it blank only if the author is a StablyAI team member.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@coderabbitai coderabbitai 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.

Nitpick comments: 1

src/cli/index-agent-launch.test.ts: 1

160-160: Trivial · Maintainability & Code Quality · Quick win

Retain the Pi-model capability refusal test.

If a host lacks the Pi-model capability, this test checks that the CLI returns incompatible_runtime without invoking a launch method. Restore the test to detect regressions that attempt an unsupported launch.

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: 921841c0-3849-48cb-8354-c664837c3ffe
Commits

Reviewing files that changed from the base of the PR and between f41a912 and 91dacad.

Files selected for processing: 9

  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/cli/index-agent-launch.test.ts
  • src/cli/plugins/authoring/plugin-templates.test.ts
  • src/cli/plugins/authoring/plugin-test-node.test.ts
  • src/main/browser/cookies/browser-cookie-delete-by-name.test.ts
  • src/renderer/src/components/dashboard/navigation/reveal-dashboard-agent.test.ts
  • src/renderer/src/components/dashboard/rows/agent-row-lineage-model.test.ts
  • src/renderer/src/components/dashboard/settings/agent-dashboard-open-mode.test.ts
  • src/shared/agent-launch/choices/agent-launch-model-preferences.test.ts
Files with no reviewable changes: 8

  • config/scripts/ci/sharding/ci-shard-timings.json
  • src/cli/plugins/authoring/plugin-templates.test.ts
  • src/cli/plugins/authoring/plugin-test-node.test.ts
  • src/main/browser/cookies/browser-cookie-delete-by-name.test.ts
  • src/renderer/src/components/dashboard/navigation/reveal-dashboard-agent.test.ts
  • src/renderer/src/components/dashboard/rows/agent-row-lineage-model.test.ts
  • src/renderer/src/components/dashboard/settings/agent-dashboard-open-mode.test.ts
  • src/shared/agent-launch/choices/agent-launch-model-preferences.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

@OrcaWin
OrcaWin merged commit b9b4a11 into main Nov 14, 2026
45 checks passed
nplez1 added a commit to nplez1/orca that referenced this pull request Nov 17, 2026
The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the two deleted cases so a reverted catalog flag, a reverted --thinking apply or a dropped capability gate fails again.
nplez1 added a commit to nplez1/orca that referenced this pull request Nov 17, 2026
…#434)

The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the coverage in surviving suites rather than by restoring the retired file, and record the decision in the sync ledger.
nplez1 added a commit to nplez1/orca that referenced this pull request Nov 17, 2026
The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the two deleted cases so a reverted catalog flag, a reverted --thinking apply or a dropped capability gate fails again.
nplez1 added a commit to nplez1/orca that referenced this pull request Nov 17, 2026
…#434)

The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the coverage in surviving suites rather than by restoring the retired file, and record the decision in the sync ledger.
nplez1 added a commit to nplez1/orca that referenced this pull request Nov 17, 2026
The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the two deleted cases so a reverted catalog flag, a reverted --thinking apply or a dropped capability gate fails again.
nplez1 added a commit to nplez1/orca that referenced this pull request Nov 17, 2026
…#434)

The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the coverage in surviving suites rather than by restoring the retired file, and record the decision in the sync ledger.
nplez1 added a commit to nplez1/orca that referenced this pull request Nov 17, 2026
The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the two deleted cases so a reverted catalog flag, a reverted --thinking apply or a dropped capability gate fails again.
nplez1 added a commit to nplez1/orca that referenced this pull request Nov 17, 2026
…#434)

The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the coverage in surviving suites rather than by restoring the retired file, and record the decision in the sync ledger.
lab-agent-np Bot added a commit to nplez1/orca that referenced this pull request Nov 17, 2026
…sion-option catalog (--model / --thinking) (#444)

* test(pi): restore the Pi launch model and thinking coverage (#434)

The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the two deleted cases so a reverted catalog flag, a reverted --thinking apply or a dropped capability gate fails again.

* test(pi): re-home the Pi launch model coverage stablyai#42316 deleted (#434)

The Pi launch catalog, the provider/id refusal and the agent.launch.pi-model.v1 host capability shipped in stablyai#41006 and stablyai#42255, but stablyai#42316 removed every test that pinned them. Restore the coverage in surviving suites rather than by restoring the retired file, and record the decision in the sync ledger.

* test(pi): pin the pi launch catalog lookup with an assertion that can fail (#434)

Round-2 review: getAgentSessionOptionLaunchCatalog returns null, never undefined, so toBeDefined() could not fail when the pi branch was deleted.

---------

Co-authored-by: Nathan Plesnicher <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant