Repository navigation
chore(qa): cover plugin-managed flows - #118919
Conversation
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 4:23 PM ET / 20:23 UTC. ClawSweeper reviewWhat this changesThis PR adds a QA scenario and an end-to-end test that loads an on-disk plugin, invokes its managed TaskFlow tool, reloads persisted flow state, and verifies owner-scoped reads. Merge readinessKeep this member-authored, maintainer-labeled PR open for normal maintainer review. The added test follows the production plugin-load and tool-resolution path, persists a managed TaskFlow, reloads the registry, and verifies owner isolation; no blocking patch defect was found, but exact-head CI was still running in the supplied check state. Priority: P3 Review scores
Verification
How this fits togetherOpenClaw loads configured plugins, turns their declared tools into session-bound runtime tools, and lets those tools create durable managed TaskFlows. The TaskFlow registry persists those records and exposes them only through owner-scoped consumers. flowchart LR
A[On-disk plugin fixture] --> B[Plugin load context]
B --> C[Production plugin loader]
C --> D[Session-bound plugin tool]
D --> E[Managed TaskFlow store]
E --> F[Registry reload]
F --> G[Owner-scoped flow reads]
Decision needed
Why: The PR is authored by a repository member and carries the protected maintainer label, so the final merge decision requires explicit maintainer judgment even though no patch defect was found. Before merge
Agent review detailsSecurityNone. PR surfaceTests +200, Other +28. Total +228 across 2 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep this one boundary-level regression test and merge it after exact-head CI is green, preserving the existing focused unit tests for TaskFlow mutation and owner access rather than adding parallel runtime paths. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds preventive coverage rather than repairing a separately reported runtime failure. Its stated runtime path is source-backed and the contributor supplied a passing QA-suite run. Is this the best way to solve the issue? Yes. The test uses the existing production plugin load context, loader, tool resolution, persistence reload, and owner-access seams instead of duplicating unit-only behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f73a7809a5e6. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
|
ClawSweeper Rank-up move disposition for exact head
These are baseline failures outside the approved two-file, zero-production-LOC scope. The A09 focused Vitest, private-QA build, QA suite evidence, formatting, privacy, scope, lockfile, autoreview, ClawSweeper, and all completed affected exact-head checks are green. |
5cf9d5e to
5e6cd14
Compare
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Final exact-head CI disposition for
The refreshed workflow completed with 53 successful jobs. These three underlying failures, plus the aggregate |
5e6cd14 to
66582ed
Compare
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Rank-up move disposition for exact head
The ClawSweeper move to wait for terminal exact-head CI is complete. Its green-CI condition cannot be satisfied inside this test-only slice without violating the approved scope; repository-native |
66582ed to
a02ea5e
Compare
|
@clawsweeper review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
@clawsweeper review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
Fresh ClawSweeper disposition for exact head
The unavailable fresh ClawSweeper publication is explicitly dispositioned as an external bot quota failure. No Rank-up move is being skipped. |
|
Merged via squash.
|
* origin/main: test(ui): add shell and PWA primary QA proof (#118788) test(qa): cover CLI distribution workflows (#118948) chore(i18n): refresh native locales (#118883) test(qa): prove plugin tool ownership in gateway flow (#118958) docs: correct onboarding risk flags and Google Chat credential shapes (#118936) fix(imessage): honor explicitly enabled accounts during startup (#118944) test(gateway): cover client transport defaults (#118798) fix(signal): normalize accounts during noninteractive setup (#118932) fix(msteams): enable channels for federated environment credentials (#118931) fix(openai): enforce final transcript bounds before callback delivery (#118928) test(tasks): cover plugin-managed flows (#118919) # Conflicts: # qa/scenarios/runtime/docker-package-install.yaml
…-worker-update-20260803 * origin/main: (48 commits) test(ui): add shell and PWA primary QA proof (#118788) test(qa): cover CLI distribution workflows (#118948) chore(i18n): refresh native locales (#118883) test(qa): prove plugin tool ownership in gateway flow (#118958) docs: correct onboarding risk flags and Google Chat credential shapes (#118936) fix(imessage): honor explicitly enabled accounts during startup (#118944) test(gateway): cover client transport defaults (#118798) fix(signal): normalize accounts during noninteractive setup (#118932) fix(msteams): enable channels for federated environment credentials (#118931) fix(openai): enforce final transcript bounds before callback delivery (#118928) test(tasks): cover plugin-managed flows (#118919) test(agents): prove process control roundtrip (#118843) test(qa): add memory redaction boundary coverage (#118916) fix(kilocode): model discovery overstates the usable context window (#118868) fix(media): isolate generated-provider text from delivery directives (#118780) test(gateway): add node control-plane QA coverage (#118784) fix(config): reject unsupported diagnostics otel grpc (#93087) fix(providers): recognize configured media credentials across provider boundaries (#118761) refactor: delete dead post-landing plugin/hooks scaffolding (#118920) fix(cron): deliver child results after heartbeat-only parent responses (#118743) ...
What Problem This Solves
Plugin-managed TaskFlow registration did not have durable QA coverage proving that a real loaded plugin can contribute a managed flow through the production runtime and reach the persisted task-flow consumer boundary.
Why This Change Was Made
This adds a real on-disk fixture plugin, loads it through the production host-owned plugin seam, materializes its declared tool, and verifies the resulting managed flow after reloading the TaskFlow registry. The change is test-only: it adds no production code, plugin SDK surface, protocol, channel, or taxonomy changes.
User Impact
No direct user-visible behavior changes. The QA suite now catches regressions where plugin-managed flows fail to register, persist, or remain owner-scoped.
Evidence
node scripts/run-vitest.mjs src/tasks/plugin-managed-flows.e2e.test.tsCI=1 OPENCLAW_BUILD_PRIVATE_QA=1 OPENCLAW_BUILD_ALL_NO_PNPM=1 node scripts/build-all.mjs qaRuntimeOPENCLAW_BUILD_PRIVATE_QA=1 node scripts/run-node.mjs qa suite --provider-mode mock-openai --scenario plugin-managed-flows --output-dir .artifacts/qa-e2e/plugin-managed-flows-a02ea5ea02ea5e8c14e3b826d75be78b4b8e34eacd7a6ac.automation.plugin-managedflowsas primary coverage.oxfmt --check,git diff --check, exact-scope, privacy, lockfile, and zero-production-LOC checks passed.