Repository navigation
fix(ci): restore the ClawHub plugin sweep check - #148129
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
|
Codex review: needs maintainer review before merge. Reviewed September 14, 2026, 6:31 AM ET / 10:31 UTC (Revision 2). ClawSweeper reviewWhat this changesUpdates the Docker plugin sweep test to check configurable ClawHub package selection instead of an obsolete package name. Merge readiness✅ Ready for maintainer review The repair remains necessary on current main. The assertion matches the existing override contract, separate coverage protects the fixture default, and the affected hosted job passed on the reviewed head. No actionable findings remain. Priority: P3 Review scores
Verification
How this fits togetherThe Docker plugin sweep exercises plugin installation, updates, and removal using controlled fixtures. Its source-contract tests check that these scenarios and their timeout protections remain wired into release validation. flowchart LR
A[Package override or fixture default] --> B[ClawHub sweep script]
B --> C[Install and update commands]
C --> D[Fixture result assertions]
B --> E[Source contract test]
E --> F[CI validation result]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. 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 identity coverage in its existing canary while the sweep test checks configurable selection and retained lifecycle safeguards. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the mismatch: the current-main test requires a literal absent from the script it reads. The contributor reports the corresponding failure; this review did not execute tests. Is this the best way to solve the issue? Yes, this is a focused correction because the existing sibling canary already protects the intended default package and the sweep's lifecycle assertions remain intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 87891ce2b5c8. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
Adopt the landed assertion correction from #148129. The identical one-line repair in #148194 was closed as superseded; no plugin behavior is imported. (cherry picked from commit abbdd52) Co-authored-by: onlyysaurabh <[email protected]>
… boundaries (#144737) * chore(ui): move startup-adjacent modules and split lazy style/catalog boundaries * test(ui): drop superseded session helper relocation * test(scripts): check configurable ClawHub sweep spec Adopt the landed assertion correction from #148129. The identical one-line repair in #148194 was closed as superseded; no plugin behavior is imported. (cherry picked from commit abbdd52) Co-authored-by: onlyysaurabh <[email protected]> --------- Co-authored-by: Jason (Json) <[email protected]> Co-authored-by: onlyysaurabh <[email protected]>
Merge the already-landed #148129 correction. The Systems patch is identical to the reviewed and locally verified published patch; no unrelated Docker implementation is changed by this PR. The formerly failing assertion and 91 focused UI tests now pass. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]>
…law#147969) ## What Problem This Solves Automatically captured automation tool lists can omit native tools without useful recovery advice. Refs openclaw#137832. ## Why This Change Was Made One Doctor check reuses the existing native-tool vocabulary. It reports default-captured lists with no native capabilities when the configured backend supports native capture. Doctor only reads the saved permissions. ## User Impact Doctor names the job and gives `openclaw cron edit <id> --tools "<complete list>" --json` for an authorized session. Deliberately restricted jobs can be left as is. `--fix` does not add native tools. ## Evidence Before: `openclaw doctor --non-interactive --no-workspace-suggestions` omitted this warning. After: it reports the suspected omission. An authenticated finite tool update persists, clears the default marker, and removes the advisory. Explicit restrictions remain unchanged. ## Compatibility No schema, SDK, configuration, or execution-policy changes. Captures from restricted sessions may receive advice; permissions never widen automatically. ## Consumers Ordinary and structured Doctor reports share one detector. ## Invalidation Each invocation reads current jobs and configuration. ## Tests 374 owner and sibling tests and the local type-aware checks passed after merging main. Three registered-entry regressions fail on the original code. CI's remaining unrelated fixture-default assertion is tracked in openclaw#148129. Co-authored-by: Ayaan Zaidi <[email protected]>
… boundaries (openclaw#144737) * chore(ui): move startup-adjacent modules and split lazy style/catalog boundaries * test(ui): drop superseded session helper relocation * test(scripts): check configurable ClawHub sweep spec Adopt the landed assertion correction from openclaw#148129. The identical one-line repair in openclaw#148194 was closed as superseded; no plugin behavior is imported. (cherry picked from commit c245159) Co-authored-by: onlyysaurabh <[email protected]> --------- Co-authored-by: Jason (Json) <[email protected]> Co-authored-by: onlyysaurabh <[email protected]>
Refs #148074
What Problem This Solves
Fixes the plugin-sweep assertion failure in
checks-node-compact-small-19after #148074 isolated the ClawHub Docker fixture identity (update repair campaign: red main #24).User Impact
No user-visible behavior changes. This repairs a stale test expectation that blocks otherwise unrelated PRs.
Why This Change Was Made
The Docker helper test checks that the sweep covers ClawHub installation and updates. Assert that
CLAWHUB_PLUGIN_SPECconsumes theOPENCLAW_PLUGINS_E2E_CLAWHUB_SPECoverride, retaining the existing install, update, and timeout assertions. The prerelease-plan test already checks the isolated default package name; the separate kitchen-sink matrix keeps its own package identity.Evidence
node scripts/run-vitest.mjs test/scripts/docker-build-helper.test.tsreproduced the stale assertion:expected ... to contain 'clawhub:@openclaw/kitchen-sink'at the plugin-sweep test. Full baseline result: 12 failed, 342 passed, 2 skipped; 11 failures were unrelated to this hunk.node scripts/run-vitest.mjs test/scripts/docker-build-helper.test.ts -t "covers plugin CLI sources in the Docker plugin sweep"passed (1 passed, 355 filtered/skipped).docker-build-helper.test.tspassed inchecks-node-compact-small-19on head7d485aa2e89af7fdbd09e8ed0489b06d250b07e3: https://github.com/openclaw/openclaw/actions/runs/34827490911/job/103926149712.openclaw/ci-gatecompleted successfully after the extended watch: https://github.com/openclaw/openclaw/actions/runs/34827490911.node scripts/check-changed.mjs: passed formatting, root-test typecheck, script and changed-test lint, and all selected guards.git diff --check: passed.Local full-file proof is incomplete: the post-fix run repeated baseline failures and was interrupted after an unrelated diagnostics test stalled with Bash descendants for over three minutes. Baseline failures include the interrupted-phase timeout, six self-upgrade publication assertions with
tar: Write error, and four frozen bundle-MCP staging assertions. No retries, timeouts, or unrelated assertions were changed. The full-file Linux CI proof passed; the local macOS baseline failures remain outside this change.