Skip to content

fix(scanner): preserve qualified test dependencies - #4954

Merged
vincentkoc merged 1 commit into
mainfrom
fix/scanner-test-tool-locks
Nov 25, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/scanner-test-tool-locks

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

Resolves a problem where fresh host scanner installations silently change their qualified dependency inventory after a new pytest transitive release. The frozen ClawScan qualification reproduced AIG packaging 26.4 replacing the observed 26.3, while SkillSpector needs its existing 26.2 runtime lock.

Why This Change Was Made

Install scanner-specific, hash-locked test tools before adapter checks. Preserve the observed AIG and SkillSpector versions, and carry the matching verifier, locks and compatibility probe into both private installer bundles. Original-runtime receipts record the input hashes. Frozen recovery consumer revisions, source-selection permissions, source/image pins and worker behavior remain unchanged.

User Impact

Operators get deterministic test-tool installation when preparing host scanners. Copied installers receive the files they require. This PR does not deploy workers or adopt a new ClawScan source/image.

Evidence

  • Real uv 0.13.5 probe: the original pytest command resolves packaging 26.4; both hash-required lock files install the exact observed test-tool sets. Invalid wheel hashes are rejected.
  • Six regression cases fail against the original producer files, including both incomplete private installer bundles. The repaired focused suite passes all 62 tests.
  • Final pre-PR Blacksmith Testbox proof: tbx_01m88pz0k46wgbrjq49x8hz33n, backing run. ci:static, ci:unit (739 files, 10,564 tests passed; existing skips retained), and required schema/CLI TypeScript checks passed. The one-shot lease stopped after success; its backing Testbox step may show cancellation from the delegated lifecycle.
  • Fresh autoreview: no actionable P0–P3 findings. Independent caller review addressed both staging paths.
  • SkillSpector's pinned upstream lock independently matches the packaging/Pygments versions and wheel hashes. Historical original038 inventories remain unchanged.
  • No live diagnostics, model calls, production mutation, or Test branch promotion.

Prepared with AI assistance; the installer behavior, dependency resolution, caller bundles and validation results were reviewed.

@clawsweeper

clawsweeper Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clawhub Ready Ready Preview Nov 25, 2026 6:46am UTC

Request Review

@vincentkoc
vincentkoc marked this pull request as ready for review November 25, 2026 06:44
@vincentkoc
vincentkoc requested a review from a team as a code owner November 25, 2026 06:44
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. impact:other This issue has meaningful maintainer-visible impact outside the owned taxonomy. labels Nov 25, 2026
@vincentkoc
vincentkoc merged commit da02df4 into main Nov 25, 2026
40 of 41 checks passed
@vincentkoc
vincentkoc deleted the fix/scanner-test-tool-locks branch November 25, 2026 06:49

This branch was successfully deployed

1 active deployment
Preview – clawhub — 97e2ab1c Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:other This issue has meaningful maintainer-visible impact outside the owned taxonomy. P2 Normal backlog priority with limited blast radius.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant