You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. scanWorkspace single-flight guard. The user-initiated 'Scan
workspace' and 'Refresh Findings' commands both call scanWorkspace;
a double-click of one (or scan + refresh in quick succession) used
to spawn two concurrent progress notifications iterating the same
URI list. A module-level in-flight flag now collapses every
concurrent call to one scan; the second caller returns
skippedAsBusy: true and (in noisy mode) surfaces a friendly
'already in progress' info toast.
2. installInTerminal reuses any live 'Pipeline-Check install'
terminal instead of stacking identical ones in the dropdown.
Exited terminals (exitStatus set) are treated as dead and a fresh
one takes their place.
3. scan-on-save short-circuits when the saved file's provider is in
`pipelineCheck.disabledProviders`. The scanOnSave dep
`isPipelineFile` was renamed to `shouldScanOnSave` and now bundles
the path-classifier with the disabled-provider check. Saving a
Dockerfile with `dockerfile` disabled used to trigger a full
workspace re-open whose findings the middleware would just drop.
4. whatsNew rc → ga transition. Per semver §11 a pre-release version
is LOWER precedence than the corresponding release. The previous
compare stripped the suffix and treated `1.0.0-rc.1` and `1.0.0`
as equal, so pre-release testers missed the GA toast. Now compares
pre-release suffixes lexicographically when core triples match.
Tests: +13 (232 → 245).
- workspaceScan: +5 busy-guard tests (skippedAsBusy result shape,
noisy-toast surfaces it, quiet-mode silences it, finally releases
on throw, preconditions don't lock the flag)
- install: +4 terminal-reuse tests (second call reuses, show + sendText
still fire, exited terminal triggers fresh, foreign-name terminals
ignored)
- whatsNew: replaced one stale "strip suffix" test with 4 semver-correct
tests (rc → ga is upgrade, ga → rc is downgrade, rc → rc lexicographic,
higher core triple wins)
- scanOnSave: replaced the dep-name test with one for live disabled
re-evaluation
Stub additions: __stubLiveTerminals (terminal roster for the reuse
lookup) and __stubOpenTextDocumentGate (controllable pause inside
openTextDocument so the busy-guard test can interleave a second
scan call mid-loop).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments