Skip to content

test(plugins): isolate ClawHub Docker fixture identity - #148074

Merged
RomneyDa merged 1 commit into
mainfrom
fix/release-clawhub-fixture-version
Sep 14, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/release-clawhub-fixture-version

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

  • give the generic plugin ClawHub fixture a synthetic package identity
  • keep the dedicated kitchen-sink release lanes bound to the official package
  • cover the per-profile package identity and release-plan default

Why

Full Release Validation resolved the hosted catalog entry for @openclaw/[email protected], then attempted to install the generic synthetic fixture under that official identity. The hosted integrity pin correctly rejected the synthetic fixture bytes. A distinct package identity prevents the generic fixture from colliding with the official kitchen-sink artifact.

Validation

  • pnpm exec vitest run test/scripts/clawhub-fixture-server.test.ts test/scripts/plugin-prerelease-test-plan.test.ts (27 passed)
  • OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:plugins
  • pnpm check:changed

Release failure: https://github.com/openclaw/openclaw/actions/runs/34813782389/job/103881229008

@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@RomneyDa
RomneyDa enabled auto-merge (squash) September 14, 2026 07:54
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Sep 14, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 14, 2026, 4:14 AM ET / 08:14 UTC.

ClawSweeper review

What this changes

Give the generic Docker plugin fixture a synthetic package name and update its tests while retaining the kitchen-sink identity for dedicated profiles.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 3 items remain

The fixture isolation remains useful and is absent from inspected main, but the unconditional package default also changes the supported live-ClawHub path. This maintainer-authored PR is not eligible for cleanup closure.

Priority: P2
Reviewed head: 2f0b46d42eaa3c61389aa81a41c50cae12ddfa84

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The focused fixture repair is useful, but its shared default introduces a bounded live-mode regression.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored test-harness PR is exempt from the external-contributor proof gate; its body reports focused tests and a Docker run, but supplies no inspected live-mode after-fix trace.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored test-harness PR is exempt from the external-contributor proof gate; its body reports focused tests and a Docker run, but supplies no inspected live-mode after-fix trace.
Evidence reviewed 7 items Introduced default affects both modes: Line 6 selects the synthetic package before the mode branch. Lines 40–42 select hosted ClawHub without starting the fixture server, and lines 57–59 preflight and install the same package specification.
Fixture isolation is profile-specific: The server assigns the synthetic name only to the plugins profile. The dedicated kitchen-sink Docker scenarios still use the official package and the same runtime plugin ID.
Current main still needs fixture isolation: Fetched main retains the kitchen-sink package default for the generic scenario; the requested isolation is not present there. Inspection of v2026.9.4 also showed the old default.
Findings 1 actionable finding [P2] Preserve the official package default in live ClawHub mode
Security None None.

How this fits together

The Docker plugin validation lane installs, updates, and uninstalls a package through OpenClaw’s plugin CLI. It can obtain that package from a local ClawHub fixture server or an explicitly selected live registry.

flowchart TD
  A[Docker plugin validation] --> B{Fixture or live mode}
  B --> C[Local fixture server]
  B --> D[Hosted ClawHub]
  C --> E[Plugin install and update]
  D --> E
  E --> F[Inspect and uninstall assertions]
Loading

Before merge

  • Preserve the official package default in live ClawHub mode (P2) - This assignment runs before the OPENCLAW_PLUGINS_E2E_LIVE_CLAWHUB branch. With live mode enabled and no package override, the script skips the fixture server but preflights and installs @openclaw/plugin-e2e-fixture from hosted ClawHub instead of the existing official kitchen-sink package. That synthetic identity is supplied by the local fixture, so live validation now requires an additional override. Select the synthetic default only for fixture mode, preserve explicit overrides, and cover both default-selection paths.
  • Resolve merge risk (P1) - The reported default Docker validation does not establish that live-mode callers can still run without adding a package override.
  • Complete next step (P2) - Restrict the synthetic package default to fixture mode and verify that live mode retains its official package default and explicit overrides.

Findings

  • [P2] Preserve the official package default in live ClawHub mode — scripts/e2e/lib/plugins/clawhub.sh:6
Agent review details

Security

None.

PR surface

Tests +6, Other +1. Total +7 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 25 19 +6
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 3 2 +1
Total 4 28 21 +7

Review metrics

Metric Value Why it matters
Default selection 1 changed package default shared by 2 execution modes The local fixture repair also reaches the optional hosted-registry path.

Merge-risk options

Maintainer options:

  1. Scope the new default to fixture mode (recommended)
    Select the default package according to the existing live-mode flag and cover both modes plus explicit overrides.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Keep @openclaw/plugin-e2e-fixture as the local fixture default, preserve @openclaw/kitchen-sink for live ClawHub mode, retain explicit package and runtime-ID overrides, and add focused executable coverage for default selection.

Technical review

Best possible solution:

Use the synthetic package only in fixture mode, preserve the official live-mode default and explicit overrides, and verify both selection paths.

Do we have a high-confidence way to reproduce the issue?

Yes, source establishes the introduced routing problem: enable OPENCLAW_PLUGINS_E2E_LIVE_CLAWHUB without a package override and the scenario requests the synthetic fixture from hosted ClawHub. No runtime reproduction was executed in this read-only review.

Is this the best way to solve the issue?

Partially: separating synthetic and official package identities is appropriate, but applying the synthetic default to live mode exceeds the fixture repair’s boundary.

Full review comments:

  • [P2] Preserve the official package default in live ClawHub mode — scripts/e2e/lib/plugins/clawhub.sh:6
    This assignment runs before the OPENCLAW_PLUGINS_E2E_LIVE_CLAWHUB branch. With live mode enabled and no package override, the script skips the fixture server but preflights and installs @openclaw/plugin-e2e-fixture from hosted ClawHub instead of the existing official kitchen-sink package. That synthetic identity is supplied by the local fixture, so live validation now requires an additional override. Select the synthetic default only for fixture mode, preserve explicit overrides, and cover both default-selection paths.
    Confidence: 0.96

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 47060d1cef27.

Labels

Label changes:

  • add P2: This repairs a bounded release-validation fixture collision and has a localized live-mode regression.
  • add merge-risk: 🚨 automation: The unconditional synthetic package default can break live ClawHub validation even when fixture-mode checks pass.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The MEMBER-authored test-harness PR is exempt from the external-contributor proof gate; its body reports focused tests and a Docker run, but supplies no inspected live-mode after-fix trace.

Label justifications:

  • P2: This repairs a bounded release-validation fixture collision and has a localized live-mode regression.
  • merge-risk: 🚨 automation: The unconditional synthetic package default can break live ClawHub validation even when fixture-mode checks pass.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The MEMBER-authored test-harness PR is exempt from the external-contributor proof gate; its body reports focused tests and a Docker run, but supplies no inspected live-mode after-fix trace.

Evidence

What I checked:

  • Introduced default affects both modes: Line 6 selects the synthetic package before the mode branch. Lines 40–42 select hosted ClawHub without starting the fixture server, and lines 57–59 preflight and install the same package specification. (scripts/e2e/lib/plugins/clawhub.sh:6, 2f0b46d42eaa)
  • Fixture isolation is profile-specific: The server assigns the synthetic name only to the plugins profile. The dedicated kitchen-sink Docker scenarios still use the official package and the same runtime plugin ID. (scripts/e2e/lib/clawhub-fixture-server.cjs:15, 2f0b46d42eaa)
  • Current main still needs fixture isolation: Fetched main retains the kitchen-sink package default for the generic scenario; the requested isolation is not present there. Inspection of v2026.9.4 also showed the old default. (scripts/e2e/lib/plugins/clawhub.sh:6, 47060d1cef27)
  • Behavioral coverage: The updated HTTP tests exercise accepted audit responses for all three profiles with their expected package names. The added release-plan assertion checks a source string and does not exercise live-versus-fixture default selection. (test/scripts/clawhub-fixture-server.test.ts:122, 2f0b46d42eaa)
  • Reported release failure: GitHub confirms the linked plugins--kitchen-sink-plugin Docker job failed. The captured PR body attributes this to the hosted integrity pin rejecting synthetic bytes and reports 27 passing focused tests plus a Docker validation command; the failure mechanism and after-fix Docker output were not independently executed during this review.
  • Prior area contributions: Main history records recent fixture-server work by Dallin Romney, Peter Steinberger, and Vincent Koc. Separate shell history records several relevant contributions by Vincent Koc; exact source-line introduction was not established. (scripts/e2e/lib/clawhub-fixture-server.cjs, 47060d1cef27)

Likely related people:

  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Dallin Romney: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Preserve live-mode package selection and add executable coverage for fixture mode, live mode, and explicit overrides.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@RomneyDa
RomneyDa merged commit 46ac2bc into main Sep 14, 2026
87 checks passed
@RomneyDa
RomneyDa deleted the fix/release-clawhub-fixture-version branch September 14, 2026 08:30
vincentkoc added a commit that referenced this pull request Sep 14, 2026
* commit 'a08cdc50bc049074ed7ad2db9e18e0ed3f5415ec': (81 commits)
  perf: reuse stateless plugin scope defaults (#148080)
  fix(gateway): flush slow-consumer 1008 close frame before terminating socket (#147707)
  fix: keep model catalogs loading during other session updates (#147878)
  fix: show queued external chat messages and their source (#147848)
  refactor(chat): share math label configuration (#148073)
  perf(ui): trim eager debug overlay icon payload (#147954)
  improve(logbook): sample batch frame metadata in SQLite (#147999)
  fix(ui): dismiss suggested task cards without waiting (#148021)
  fix(maturity): cover governance, interoperability, fleet, and state (#143528)
  chore(ui): restore core lint and startup budget checks (#148010)
  fix: chat startup loads unnecessary session setup text (#147973)
  perf: speed up fresh cloud worker activation (#147945)
  fix: recover PR preparation after committed merge conflicts (#148063)
  test(plugins): isolate ClawHub Docker fixture identity (#148074)
  fix(release): acknowledge ClawHub risk on moving installs (#148041)
  fix: restore context reads for installed official Discord and Slack plugins (#143341)
  fix: identify source capsule filesystem failures (#147778)
  fix(linux): keep Quick Chat widgets bound to their Gateway (#146049)
  refactor(infra): consolidate update campaign reset ownership (#146555)
  refactor: simplify Gateway health response parsing (#147834)
  ...
roboclaw-bot added a commit that referenced this pull request Sep 14, 2026
Follow the fixture identity introduced by #148074 while preserving the Docker CLI source and timeout assertions.

Co-authored-by: steipete <[email protected]>
vincentkoc added a commit to nvtoroy/openclaw that referenced this pull request Sep 15, 2026
* commit '7d485aa2e89af7fdbd09e8ed0489b06d250b07e3':
  test(scripts): check the configurable ClawHub sweep spec
  fix: show queued external chat messages and their source (openclaw#147848)
  refactor(chat): share math label configuration (openclaw#148073)
  perf(ui): trim eager debug overlay icon payload (openclaw#147954)
  improve(logbook): sample batch frame metadata in SQLite (openclaw#147999)
  fix(ui): dismiss suggested task cards without waiting (openclaw#148021)
  fix(maturity): cover governance, interoperability, fleet, and state (openclaw#143528)
  chore(ui): restore core lint and startup budget checks (openclaw#148010)
  fix: chat startup loads unnecessary session setup text (openclaw#147973)
  perf: speed up fresh cloud worker activation (openclaw#147945)
  fix: recover PR preparation after committed merge conflicts (openclaw#148063)
  test(plugins): isolate ClawHub Docker fixture identity (openclaw#148074)
  fix(release): acknowledge ClawHub risk on moving installs (openclaw#148041)
  fix: restore context reads for installed official Discord and Slack plugins (openclaw#143341)
  fix: identify source capsule filesystem failures (openclaw#147778)
  fix(linux): keep Quick Chat widgets bound to their Gateway (openclaw#146049)
  refactor(infra): consolidate update campaign reset ownership (openclaw#146555)
  refactor: simplify Gateway health response parsing (openclaw#147834)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XS status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant