Repository navigation
fix(e2e): use a maintained ClawHub install fixture - #148902
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 15, 2026, 11:32 PM ET / September 16, 2026, 03:32 UTC (Revision 5). ClawSweeper reviewWhat this changesPins the default Docker skill-install check to a reviewed ClawHub skill version, verifies its identity and contents, and preserves custom selection overrides. Merge readiness⛔ Blocked before merge - 1 item remains The PR remains useful and has no actionable correctness findings. The newly recorded candidate-package qualification resolves the earlier proof blocker; current main still uses the moving fixture pool. Priority: P2 Review scores
Verification
How this fits togetherThe Docker skill-install check validates an installed OpenClaw package against live ClawHub search and installation. It checks the downloaded skill and installation records before reporting success to release validation. flowchart TD
A[Candidate OpenClaw package] --> B[Docker install check]
C[Optional selection overrides] --> B
B --> D[Live ClawHub search]
D --> E[Select maintained or custom skill]
E --> F[Install through existing security checks]
F --> G[Verify files and installation records]
G --> H[Report success or failure]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +334, Docs 0, Other +41. Total +375 across 4 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep fixture selection in the existing helper, with a reviewed version and content pin, terminal security refusals, and explicit custom overrides. Do we have a high-confidence way to reproduce the issue? No deterministic current-main reproduction was established: retained jobs demonstrate pool exhaustion, but live registry inventory and scanner outcomes can change. Is this the best way to solve the issue? Yes. The patch repairs the existing fixture owner, preserves custom behavior, and now has recorded candidate-package installation proof covering its assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ad5d4105dbae. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
@clawsweeper re-review The exact-head Blacksmith Testbox qualification is now complete and recorded in the PR body. It installed the candidate package and There is no persistent data-model change: this PR only changes Docker E2E shell fixtures, documentation, and test support. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Skipping the remaining ClawSweeper data-model compatibility item as inapplicable.
|
|
Merged via squash.
|
* fix(e2e): use a maintained ClawHub install fixture * test(e2e): model Docker package mount in wrapper probe
Fixes #148727
What Problem This Solves
The default ClawHub skill-install E2E can exhaust its search-result pool on recognized security refusals before exercising installation and tracking.
User Impact
This maintainer-requested fixture repair gives the default installation-only check a reviewed, versioned fixture. Explicit query, slug, or preferred-slug overrides retain their existing behavior. Security refusals still fail the maintained fixture; this does not bypass scanner decisions or execute the skill's tools.
Why This Change Was Made
With all three overrides empty, the helper selects
@steipete/[email protected]from matching raw or mapped search identities. It rejects conflicting identity and explicit risk, then checks the installed owner, version, and reviewedSKILL.mdbytes alongside the existing origin, lock, configuration, and info assertions. The Docker caller leaves default selection to that helper.The source file is pinned, not the generated skill card or ZIP encoding. A future security refusal or changed fixture source remains a failure requiring investigation, not permission to rotate through alternatives until green.
Evidence
test/scripts/e2e-shell-tempfiles.test.ts: 44 passed. Test-root typecheck, targeted lint, formatting, Bash syntax, and diff checks passed. The initial typecheck required materializing unchanged tracked Android/Linux fixture dependencies omitted by the sparse checkout.SKILL.mdhash. Immutable source inspection confirms the selected OpenClaw 2026.7.33 client supports the required raw search, owner/version install, tracking, and clean-verdict contracts.a6c1ced46b5e65118cb286fda850bfc1811b32d1; all completed required jobs were green when this evidence was recorded.tbx_01m2m3nqhhwe04wsk9t3prn3kg: Crabbox synchronized the PR head, ranpnpm install --frozen-lockfile && pnpm test:docker:skill-install, built and installed the candidate OpenClaw package, then installed@steipete/[email protected]. The security gate permitted installation; the wrapper verified the installedSKILL.md, reviewed source hash,.clawhub/origin.json, workspace lock entry, owner/version, andskills info --jsonpath before emittingE2E_OK installed=gifgrep version=1.0.1 uploadArchives=false. The one-shot box stopped successfully with exit 0; Blacksmith's delegated lifecycle may display the stopped runner step as cancelled. Testbox run.