Repository navigation
Workspace provider isolation - #5
Merged
Merged
Conversation
Restore the full API history when rolling back before a compaction. Add a setting to disable automatic compaction and truncation.
Changed-code mutation testingReport for PR head
Details: mutants, guidance, and reproductionChanged-code mutation testing
Focused tests
All surviving and uncovered mutantsWarning annotations highlight up to 20 unique locations (maximum 7 per file). This summary lists every advisory mutant. extension
|
Line | Status | Mutator | Replacement |
|---|---|---|---|
5539 | NoCoverage | BooleanLiteral | true |
5712 | Survived | BooleanLiteral | true |
5832 | Survived | ConditionalExpression | true |
5832 | Survived | LogicalOperator | provider || !disableAutoContextManagement |
6061 | Survived | ConditionalExpression | true |
6061 | Survived | EqualityOperator | retryAttempt <= MAX_CONTEXT_WINDOW_RETRIES |
src/core/webview/ClineProvider.ts
Line | Status | Mutator | Replacement |
|---|---|---|---|
3290 | NoCoverage | BooleanLiteral | true |
webview
webview-ui/src/components/settings/ContextManagementSettings.tsx
Line | Status | Mutator | Replacement |
|---|---|---|---|
520 | Survived | StringLiteral | "" |
526 | Survived | StringLiteral | "" |
530 | Survived | StringLiteral | "" |
webview-ui/src/context/ExtensionStateContext.tsx
Line | Status | Mutator | Replacement |
|---|---|---|---|
306 | Survived | BooleanLiteral | true |
Resolve a mutation gap
Add or strengthen a focused test that fails under the mutation. If the mutant is equivalent, request maintainer approval for the narrowest mutator-specific exclusion and explain why it cannot change behavior:
// Stryker disable next-line ConditionalExpression: normalized input cannot reach the alternate branch
const result = condition ? value : fallbackBroad all exclusions and exclusions without a concrete reason are reported as advisories.
Reproduce locally
From a full checkout containing both commits:
pnpm install --frozen-lockfile
node scripts/stryker-diff.mjs ci --base f48943cb54e30574f7fda9c15882196f8cd65130 --head 6af0626f6fd99c0b5dac5a761e746d1c53333db0Mutation reports
- types:
reports/mutation/types/mutation.html - extension:
reports/mutation/extension/mutation.html - webview:
reports/mutation/webview/mutation.html
The workflow uploads generated reports in the changed-code-mutation-report artifact. A direct artifact link appears below after upload.
Advisory findings
src/core/task/Task.ts:4422: mutation exclusions must use "// Stryker disable next-line MutatorName: concrete reason"; broad or unreasoned exclusions are not allowed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Closes: #
Description
Test Procedure
Pre-Submission Checklist
src/test-utils/,@/utils/test-utils) are used only for mechanical duplication; test intent and scenario-specific mocks remain visible.*.visual.tsxsnapshot inwebview-ui/. Seewebview-ui/AGENTS.md→ "When a UI change needs a snapshot".Visual Snapshots
Videos (interaction / animation only)
Documentation Updates
Additional Notes
Get in Touch