Skip to content

test: remove prompt transport replays and secret bookkeeping cases - #41947

Merged
OrcaWin merged 1 commit into
mainfrom
test/remove-prompt-replays-and-credential-bookkeeping-4480
Nov 13, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
test/remove-prompt-replays-and-credential-bookkeeping-4480

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Remove nine test definitions (36 parameterized cases) across credential persistence, WSL issue-command wrappers, Kimi error mapping, and prompt transport tests. This removes 436 net lines, including unused consumer fixtures and retry instrumentation.

Retire mock-observed wrapper forwarding, internal retry bookkeeping, straightforward error-to-copy table rows, per-consumer transport replays, and real-time cleanup retry-count assertions. Retain credential preservation and classification, acknowledgement ordering, prompt byte/file boundaries, authorization and cancellation, and failure suppression. Narrow alarms deliberately lost include actual EPIPE integration, native async cleanup retry logging, and individual Kimi diagnostic mappings.

Validation: all 24 changed-file checks passed against the merged base, including unit tests, typecheck, lint and formatting; normal commit hooks passed. No production code changes.

Files Added Deleted Net
Test 8 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​438 $\color{#cf222e}{\Huge{\mathbf{−}}}$​436
Prod 0 0 0 0

@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request changes test coverage across credential persistence and readability, text-generation failures and prompts, and workspace issue commands. It removes several tests and test cases, and adds a Kimi authentication-error case with malformed output. The supplied changes describe test edits; they do not report production-code changes.

Merge Risk: Minimal · up to ee4c9

This change only trims test coverage and does not alter runtime behavior. Some retry-logging, EPIPE and per-diagnostic Kimi mapping checks are no longer tested, and the author knowingly accepted that trade-off. Merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "test: remove prompt transport replays and secret bookkeeping cases" matches the main change. The changeset removes test cases across credential persistence, WSL issue-command wrappers, Kimi…
Description check Passed The description covers what changed, the reasoning, and the validation performed. It lists the nine removed test definitions across four areas, the coverage kept, and the coverage lost. It states that…
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 prompt transport replays and secret bookkeeping cases" matches the main change. The changeset removes test cases across credential persistence, WSL issue-command wrappers, Kimi failure mapping, and prompt transport tests, and makes no production code changes. The title names two of these areas, prompt transport replays and secret bookkeeping, and omits the WSL and Kimi removals. That makes it a partial match with a clear, specific scope. It is not vague, and it is not off-topic.

Full details: Description check

Explanation

The description covers what changed, the reasoning, and the validation performed. It lists the nine removed test definitions across four areas, the coverage kept, and the coverage lost. It states that no production code changed. It does not follow the repository template. It has no ELI5 section, no explicit Why section, no Linked Issue (required for outside contributors), no Visual Proof statement (N/A with reason, though this is a test-only change), no Risk section with a Level, no AI Disclosure, and no Review or Agent skill boundary checkboxes. The Testing checkboxes are not marked. Most of the substance is present, so the check passes, but the missing template sections should be added.

  • 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

Recent 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: d50128b5-e7fd-4b6d-a767-43840ffb5c67
Commits

Reviewing files that changed from the base of the PR and between fde1ae7 and ee4c9f2.

Files selected for processing: 8

  • src/main/credentials/protected-secret-persistence-concurrency.test.ts
  • src/main/credentials/protected-secret-persistence.test.ts
  • src/main/credentials/saved-credential-readability.test.ts
  • src/main/text-generation/failures/commit-message-text-generation-failure-sanitization.test.ts
  • src/main/text-generation/failures/kimi-generation-failure.test.ts
  • src/main/text-generation/prompts/source-control-omp-prompt-file.test.ts
  • src/main/text-generation/prompts/source-control-wsl-prompt.test.ts
  • src/main/workspace-hooks/issue-command-wsl-stopped-distro.test.ts
Files with no reviewable changes: 6

  • src/main/credentials/protected-secret-persistence-concurrency.test.ts
  • src/main/credentials/protected-secret-persistence.test.ts
  • src/main/text-generation/failures/commit-message-text-generation-failure-sanitization.test.ts
  • src/main/text-generation/failures/kimi-generation-failure.test.ts
  • src/main/text-generation/prompts/source-control-wsl-prompt.test.ts
  • src/main/workspace-hooks/issue-command-wsl-stopped-distro.test.ts

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

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