Skip to content

chore(qa): cover bundled runtime discovery - #118922

Merged
vincentkoc merged 1 commit into
mainfrom
qa-bundled-runtime-discovery
Aug 3, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
qa-bundled-runtime-discovery

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 3, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

QA maturity accounting had no executable scenario ownership for bundled source-overlay discovery or bundled channel-ID discovery.

Why This Change Was Made

Adds two narrowly owned QA scenarios backed by existing runtime tests, plus one integrated assertion that projects sorted channel IDs from bundled package metadata without substituting differing plugin IDs. Production discovery behavior is unchanged.

User Impact

No runtime behavior changes. Maintainers gain executable coverage and durable maturity accounting for both bundled discovery contracts.

Evidence

  • Current head: 7bf95f3c99a9e8b165939979bfdee5583fa1dec6, rebased onto main at 554a6f3bbf6d8173efc2f1c92e30139f88dc26d6; the three-file patch is unchanged from the fully validated head below.
  • Blacksmith Testbox tbx_01kz4r1aygx6d9k7n4hvzcd777 on dd38e9253e567fba14df120904dfab6af9fab909: 152 focused tests passed across discovery, registry snapshot, package-state probes, bundled catalog read, and bundled root caches.
  • Private QA build passed with OPENCLAW_BUILD_PRIVATE_QA=1.
  • Both QA scenarios passed together and emitted full qa-evidence.json with the two coverage IDs as primary.
  • Exact-path pnpm check:changed passed all fail-safe lanes in 12m37s on the unchanged patch before the final no-conflict rebase, including typecheck, core/extensions/scripts lint, import cycles, and repository guards.
  • Sol/high autoreview reported no findings and rated the patch correct with 0.99 confidence.
  • pnpm format passed for all three changed files.
  • git diff --check passed.

ClawSweeper rank-up moves addressed:

  • Rebased onto current main; focused Testbox validation is recorded on the unchanged pre-rebase patch, with current-head CI required before merge.
  • Moved from draft only after focused, private-QA, scenario, changed-gate, and autoreview proof completed.

@vincentkoc vincentkoc self-assigned this Aug 3, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Aug 3, 2026
@clawsweeper

clawsweeper Bot commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 5:13 PM ET / 21:13 UTC.

ClawSweeper review

What this changes

Adds two QA scenarios for bundled source-overlay and channel-ID discovery, plus a test assertion that bundled channel IDs use channel metadata and remain sorted rather than falling back to plugin IDs.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep this member-authored, maintainer-labeled draft open. Its central contribution—two executable QA ownership scenarios and a focused assertion for bundled channel-ID projection—is not present on current main, and the supplied hydrated PR diff shows a bounded coverage addition; however, exact-head review needs refreshing because the branch is behind main and the local partial clone could not materialize the full PR objects while GitHub DNS was unavailable.

Priority: P3
Reviewed head: 16806c91b3e33d66b95e08ef0a4a9d4087a6d206
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The bounded test and QA direction looks sound from the hydrated patch and current-main contracts, but exact-head inspection and refreshed validation remain unavailable in this review environment.
Proof confidence 🌊 off-meta tidepool Not applicable: This member-authored QA/test-only PR does not change user-visible runtime behavior; the external-contributor real-behavior-proof gate does not apply.
Patch quality 🦐 gold shrimp (3/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This member-authored QA/test-only PR does not change user-visible runtime behavior; the external-contributor real-behavior-proof gate does not apply.
Evidence reviewed 6 items Current channel-ID contract: Current main derives bundled IDs from each catalog entry's channel metadata, filters empty IDs, and sorts the result; this is the concrete invariant the proposed assertion targets.
Current-main gap: Current main's bundled channel catalog test imports only the catalog reader and contains no reference to listBundledChannelIds or the proposed typed catalog mock, so the PR's integrated assertion is not already implemented there.
Existing sibling coverage: Current plugin discovery tests already cover bind-mounted source overlays and diagnostics, supporting the proposed scenario's ownership of that existing runtime contract rather than a new runtime behavior.
Findings None None.
Security None None.

How this fits together

Bundled plugin manifests feed the channel catalog registry, which projects portable bundled channel IDs for runtime consumers. QA scenarios map the source-overlay and channel-ID discovery contracts to focused tests so maturity accounting can track those runtime boundaries.

flowchart LR
  A[Bundled plugin manifests] --> B[Channel catalog registry]
  B --> C[Bundled channel ID projection]
  D[Source-overlay discovery] --> E[Plugin discovery tests]
  C --> F[Channel catalog tests]
  E --> G[QA scenario ownership]
  F --> G
Loading

Decision needed

Question Recommendation
After the draft is updated against current main and its exact-head QA validation is refreshed, should this bounded maturity-coverage change be merged? Refresh and merge: Update the branch or review baseline, rerun the focused scenario and catalog tests on the exact head, and merge if they remain green.

Why: The author is a repository member and the PR carries the protected maintainer label, so this workflow must leave final acceptance to an explicit maintainer decision even though no patch defect was established.

Before merge

  • Resolve merge risk (P1) - The draft branch is behind current main. GitHub reported it mergeable, but exact-head validation should be refreshed after updating the review baseline.
  • Resolve merge risk (P1) - The local partial clone could not fetch the branch's missing objects because GitHub DNS was unavailable, so this review could not independently inspect the complete latest branch diff beyond the supplied hydrated patch.
  • Complete next step (P2) - This is a protected, member-authored draft awaiting normal maintainer acceptance and refreshed exact-head validation, not a safe automated repair task.
Agent review details

Security

None.

PR surface

Tests +46, Other +52. Total +98 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 50 4 +46
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 52 0 +52
Total 3 102 4 +98

Review metrics

Metric Value Why it matters
QA coverage scope 2 scenarios added; 1 focused assertion added The change adds durable ownership metadata around existing bundled-runtime contracts without changing production discovery behavior.
Production versus QA/test delta production 0; QA/test +102, -4 The positive delta is confined to QA scenarios and focused regression coverage, matching the stated test-accounting purpose.

Stored data model

Persistent data-model change detected: vector/embedding metadata: qa/scenarios/plugins/bundled-channel-id-discovery.yaml. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Rebase or otherwise update the draft against current main, confirm the two scenario definitions parse and execute their focused test paths on the exact head, then merge the narrow QA coverage change if that refreshed proof remains clean.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Rebase or otherwise update the draft against current main, confirm the two scenario definitions parse and execute their focused test paths on the exact head, then merge the narrow QA coverage change if that refreshed proof remains clean.

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

Not applicable: this PR adds QA coverage rather than repairing a user-reported runtime failure; current main source establishes the existing channel-ID and source-overlay contracts it intends to exercise.

Is this the best way to solve the issue?

Unclear until exact-head validation is refreshed: the supplied diff targets the correct consumer boundary and existing discovery tests, but the complete branch diff could not be materialized locally during this review.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 5b1b1e063225.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.

Label justifications:

  • P3: This is low-risk QA coverage and maturity-accounting work with no reported runtime behavior change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This member-authored QA/test-only PR does not change user-visible runtime behavior; the external-contributor real-behavior-proof gate does not apply.

Evidence

What I checked:

  • Current channel-ID contract: Current main derives bundled IDs from each catalog entry's channel metadata, filters empty IDs, and sorts the result; this is the concrete invariant the proposed assertion targets. (src/channels/plugins/bundled-ids.ts:18, 5b1b1e063225)
  • Current-main gap: Current main's bundled channel catalog test imports only the catalog reader and contains no reference to listBundledChannelIds or the proposed typed catalog mock, so the PR's integrated assertion is not already implemented there. (src/channels/bundled-channel-catalog-read.test.ts:19, 5b1b1e063225)
  • Existing sibling coverage: Current plugin discovery tests already cover bind-mounted source overlays and diagnostics, supporting the proposed scenario's ownership of that existing runtime contract rather than a new runtime behavior. (src/plugins/discovery.test.ts:830, 5b1b1e063225)
  • PR-supplied change evidence: The hydrated PR context identifies two new scenarios under qa/scenarios/plugins and a focused modification to the bundled channel catalog test; it reports no production discovery-code changes. (qa/scenarios/plugins/bundled-channel-id-discovery.yaml:1, 16806c91b3e3)
  • Feature-history provenance: Blame attributes the present bundled-ID projection and catalog-reader boundary to Peter Steinberger's current-main commit, while nearby channel and plugin lifecycle fixes show the same area remains actively maintained. (src/channels/plugins/bundled-ids.ts:18, 5a65c96fc708)
  • Review infrastructure limitation: The checkout is a partial clone and attempted PR-object materialization required fetching from GitHub; that fetch could not proceed because github.com DNS resolution failed. The review therefore relies on the supplied hydrated diff for the branch-only files and on local current-main source for behavior.

Likely related people:

  • steipete: Current-main blame attributes the bundled channel-ID projection and catalog-reader boundary to this author, with recent adjacent lifecycle and discovery work in the same subsystem. (role: current feature-history owner; confidence: high; commits: 5a65c96fc708, 8b5871e1b703, 3972c4151390; files: src/channels/plugins/bundled-ids.ts, src/channels/bundled-channel-catalog-read.ts, src/plugins/discovery.ts)

Rank-up moves

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

  • Update the draft against current main and refresh exact-head focused QA validation.
  • Confirm both new scenario definitions parse and execute the referenced tests before requesting merge.

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.

History

Review history (2 earlier review cycles)
  • reviewed 2026-08-03T20:12:37.394Z sha 22bda106031b91817e2ff88dc0d7c58e0158f4ee :: needs maintainer review before merge. :: none
  • reviewed 2026-08-03T20:22:28.252Z sha 4cb03a9 :: needs maintainer review before merge. :: none

@vincentkoc
vincentkoc force-pushed the qa-bundled-runtime-discovery branch 2 times, most recently from 4cb03a9 to 16806c9 Compare August 3, 2026 20:36
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 3, 2026
@vincentkoc
vincentkoc force-pushed the qa-bundled-runtime-discovery branch from 16806c9 to dd38e92 Compare August 3, 2026 21:20
@vincentkoc
vincentkoc marked this pull request as ready for review August 3, 2026 21:44
@vincentkoc
vincentkoc enabled auto-merge (squash) August 3, 2026 21:47
@vincentkoc
vincentkoc force-pushed the qa-bundled-runtime-discovery branch from dd38e92 to 7bf95f3 Compare August 3, 2026 21:48
@vincentkoc
vincentkoc merged commit 972eb56 into main Aug 3, 2026
125 of 126 checks passed
@vincentkoc
vincentkoc deleted the qa-bundled-runtime-discovery branch August 3, 2026 21:57
vincentkoc added a commit that referenced this pull request Aug 3, 2026
* origin/main: (90 commits)
  fix(googlechat): recover durable lanes after oversized attachments (#118986)
  test(qa): cover runtime telemetry evidence (#118950)
  fix(gateway): resolve SQLite usage details (#118918)
  test(cron): cover durable scheduler state (#118981)
  test(gateway): cover node exec approval relay (#118825)
  test(qa): add Active Memory recall coverage (#118963)
  test(qa): promote package-backed Docker artifact proof (#118826)
  test(qa): cover diagnostic event boundary (#118844)
  test(gateway): cover WebSocket runtime contracts (#118797)
  fix(signal): drain accepted websocket messages before shutdown (#118975)
  fix(plugins): remove stale load paths during uninstall (#118930)
  test(qa): cover bundled runtime discovery (#118922)
  chore(clawhub): cover plugin release policy contracts (#118971)
  test(qa): cover support export and stability (#118956)
  fix(feishu): enforce exact signed webhook request boundaries (#118758)
  feat(sms): add Twilio MMS support (#118664)
  test(gateway): prove TLS certificate pinning (#118812)
  test(qa): cover tool policy and sandbox gates (#118925)
  fix(cli): keep update dry-run state immutable (#118856)
  fix(scripts): honor last repeated CLI flag value (#118710)
  ...

# Conflicts:
#	pnpm-workspace.yaml
vincentkoc added a commit that referenced this pull request Aug 3, 2026
…r-admin-20260803

* origin/main: (89 commits)
  fix(googlechat): align doctor policy ownership with canonical account configuration (#118972)
  test(tui): prove editor input through PTY (#118982)
  fix(memory): persist trusted owner provenance at canonical transcript boundary (#118987)
  test(qa): cover health monitor and cache boundaries (#118961)
  fix(macos): restore dashboard frame double-click zoom (#118976)
  fix(googlechat): recover durable lanes after oversized attachments (#118986)
  test(qa): cover runtime telemetry evidence (#118950)
  fix(gateway): resolve SQLite usage details (#118918)
  test(cron): cover durable scheduler state (#118981)
  test(gateway): cover node exec approval relay (#118825)
  test(qa): add Active Memory recall coverage (#118963)
  test(qa): promote package-backed Docker artifact proof (#118826)
  test(qa): cover diagnostic event boundary (#118844)
  test(gateway): cover WebSocket runtime contracts (#118797)
  fix(signal): drain accepted websocket messages before shutdown (#118975)
  fix(plugins): remove stale load paths during uninstall (#118930)
  test(qa): cover bundled runtime discovery (#118922)
  chore(clawhub): cover plugin release policy contracts (#118971)
  test(qa): cover support export and stability (#118956)
  fix(feishu): enforce exact signed webhook request boundaries (#118758)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant