Skip to content

fix(qa-lab): restore Crabline artifact fixtures - #129743

Closed
vincentkoc wants to merge 1 commit into
mainfrom
fix/qa-lab-crabline-artifact-fixtures
Closed

vincentkoc wants to merge 1 commit into
mainfrom
fix/qa-lab-crabline-artifact-fixtures

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where QA Lab extension typechecking failed because two cleanup fixtures still used Crabline's retired smoke artifact shape.

Why This Change Was Made

Commit cc1c61034fc0 added the two fixture objects after #118008 had migrated Crabline to its canonical server artifact contract. Both fixtures now use crabline-channel-driver-capabilities.json and crabline-provider-readiness.json, matching OpenClawCrablineChannelDriverSelection.

User Impact

No user-visible behavior changes. Maintainers regain a green QA Lab extension typecheck without weakening the fixture or the Crabline contract.

Evidence

Pre-fix reproduction:

pnpm tsgo:extensions:test

extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts(323,9): error TS2741:
Property 'providerReadinessArtifactPath' is missing...

extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts(338,9): error TS2741:
Property 'providerReadinessArtifactPath' is missing...

Validation on exact base 9c30c920feec940e50e16fc6905e3489054396a2:

  • pnpm tsgo:extensions:test
  • pnpm test:extension qa-lab -- extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts - 2 files, 13 tests passed
  • pnpm check:changed -- extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts
  • Autoreview: clean, no accepted/actionable findings

Production LOC: +0/-0

Tests: +4/-4

No changelog entry: this is a test-fixture contract repair with no user-visible or runtime behavior change.

@vincentkoc vincentkoc self-assigned this Aug 26, 2026
@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@vincentkoc
vincentkoc marked this pull request as ready for review August 26, 2026 01:35
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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. labels Aug 26, 2026
@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 25, 2026, 10:08 PM ET / August 26, 2026, 02:08 UTC.

ClawSweeper review

What this changes

The PR replaces retired Crabline smoke-fixture fields in two QA Lab cleanup tests with the capability-matrix and provider-readiness artifact fields.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open for maintainer handling: the narrow fixture update matches the surrounding QA Lab contract, but this maintainer-authored, protected PR overlaps another open repair and direct Crabline/current-main verification was unavailable in the sparse offline checkout.

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

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is internally coherent, but direct dependency-contract and exact-head verification remain unavailable in this review environment.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored PR changes only internal test fixtures; 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 PR changes only internal test fixtures; the external-contributor real-behavior-proof gate does not apply.
Evidence reviewed 5 items Changed fixture contract: Both changed selections now use the same two artifact fields that the QA artifact writer reads from its Crabline selection type.
Owner-boundary trace: The isolated runner forwards channelDriverSelection only to the terminal artifact write, and the writer resolves capabilityMatrixPath plus providerReadinessArtifactPath before emitting reports and evidence.
Sibling-fixture consistency: The source sweep found the new field pair throughout existing Crabline transport, summary, suite, and launch tests, and no remaining retired fake-provider fixture shape in QA Lab.
Findings None None.
Security None None.

Live Verification

Command: pnpm test:extension qa-lab -- extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts

Result: PASS (completed)

$ node --import tsx scripts/test-extension.mts qa-lab -- extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts extensions/qa-lab/src/suite-runtime-parity-run
ner.cleanup.test.ts
[test-extension] Running 210 test files for qa-lab

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-129743-sljiFA/target

 ✓  extension-qa  extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts (7 tests) 126ms
 ✓  extension-qa  extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts (6 tests) 1619ms
     ✓ keeps Crabline workers concurrent while publishing readiness only from the final aggregate  1588ms

 Test Files  2 passed (2)
      Tests  13 passed (13)
   Start at  02:09:41
   Duration  29.65s (transform 43.79s, setup 2.14s, import 53.27s, tests 1.75s, environment 0ms)
$ node --import tsx scripts/test-extension.mts qa-lab -- extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts extensions/qa-lab/src/suite-runtime-parity-run
ner.cleanup.test.ts
[test-extension] Running 210 test files for qa-lab

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-129743-sljiFA/target

 ✓  extension-qa  extensions/qa-lab/src/suite-runtime-parity-runner.cleanup.test.ts (7 tests) 125ms
 ✓  extension-qa  extensions/qa-lab/src/suite-run-isolated.cleanup.test.ts (6 tests) 1621ms
     ✓ keeps Crabline workers concurrent while publishing readiness only from the final aggregate  1590ms

 Test Files  2 passed (2)
      Tests  13 passed (13)
   Start at  02:10:12
   Duration  15.63s (transform 16.80s, setup 1.15s, import 26.42s, tests 1.75s, environment 0ms)

Assertions:

  • PASS expect_output: Test Files

How this fits together

QA Lab passes a Crabline channel-driver selection into isolated and runtime-parity suite cleanup, then writes the selected artifact paths into QA reports and evidence. The fixtures model that selection so cleanup tests typecheck against the dependency-owned contract.

flowchart LR
  A[QA cleanup tests] --> B[Crabline selection fixture]
  B --> C[Suite runner]
  C --> D[Artifact writer]
  D --> E[QA report and evidence]
Loading

Decision needed

Question Recommendation
Which open PR should own the identical QA Lab fixture repair: this focused PR or #129733? Keep the focused fixture repair: Merge this PR after exact-head typecheck and remove the duplicate fixture hunk from #129733.

Why: Both open PRs modify the same two fixture objects, while the other PR also carries an independent scripts-lint fix; protected maintainer handling prevents automatic supersession.

Before merge

  • Resolve merge risk (P1) - The offline sparse checkout cannot directly inspect Crabline 0.1.17 declarations or the supplied current-main revision; exact-head typecheck remains the needed contract confirmation.
  • Complete next step (P2) - A maintainer must select the canonical PR and obtain exact-head dependency-contract proof; this is not a repair-lane task.
Agent review details

Security

None.

PR surface

Tests 0. Total 0 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 4 4 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 4 4 0

Review metrics

Metric Value Why it matters
Production versus test delta production +0/-0; test fixtures +4/-4 The patch is test-only and preserves production runtime behavior while updating two dependency-typed fixtures.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Choose one canonical PR for the duplicate fixture repair, then validate its exact head against Crabline 0.1.17 with the extension typecheck before merge.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Choose one canonical PR for the duplicate fixture repair, then validate its exact head against Crabline 0.1.17 with the extension typecheck before merge.

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

No independent reproduction was possible in this checkout: the author supplies a focused pre-fix extension typecheck failure, but the installed Crabline declarations and runnable dependencies are absent.

Is this the best way to solve the issue?

Unclear pending direct dependency confirmation; the replacements are internally consistent with the typed artifact writer and every examined sibling fixture.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp. Replaced prior rating: 🐚 platinum hermit.
  • 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 a small internal QA fixture repair with no claimed user-visible behavior change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp. Replaced prior rating: 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored PR changes only internal test fixtures; the external-contributor real-behavior-proof gate does not apply.

Evidence

What I checked:

Likely related people:

  • RomneyDa: GitHub context identifies RomneyDa as author of merged Crabline artifact migration PR 118008 and of the overlapping open repair PR 129733. (role: canonical artifact-migration contributor and adjacent repair author; confidence: medium; commits: 1d526c5c0ef6, 6905e7cdd989; files: extensions/qa-lab/src/crabline-artifacts.ts, extensions/qa-lab/src/suite-artifacts.ts)

Rank-up moves

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

  • Run pnpm tsgo:extensions:test on the selected PR's exact head with @openclaw/crabline 0.1.17 installed.
  • Choose one canonical owner for the overlapping fixture hunk before 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 (1 earlier review cycle)
  • reviewed 2026-08-26T01:42:36.997Z sha fbbffbd :: needs maintainer review before merge. :: none

@steipete

Copy link
Copy Markdown
Contributor

Closing as superseded by #129733.

The final #129733 head already contains this exact two-file Crabline fixture repair together with the independent release-validation lint repair, and exact-head CI run 32920652504 is green. Keeping the fixes split creates a circular gate: this PR cannot pass check-lint until #129733 lands, while #129733 cannot pass check-test-types without this fixture repair.

Using the already-green combined carrier removes the duplicate owner and avoids another conflicting rebase. Thank you, @vincentkoc, for isolating and proving the canonical fixture change. If the combined PR drops or materially changes this repair, this PR can be reopened.

@steipete steipete closed this Aug 26, 2026
@RomneyDa RomneyDa reopened this Aug 26, 2026
@RomneyDa

Copy link
Copy Markdown
Member

Reopening after the coordinated scope split: #129733 has removed these QA fixture changes per ClawSweeper, so this PR is again the sole focused owner of the Crabline fixture repair. Its prior close-as-superseded assessment was based on the pre-split #129733 head.

@RomneyDa

Copy link
Copy Markdown
Member

Closing again with corrected current-main evidence: #129725 has now merged as 637da87 and contains the Crabline fixture repair as well as the release-validation lint repair. The earlier reopen was necessary against the transient split state, but the merged superseding PR now resolves both exact failures.

@RomneyDa RomneyDa closed this Aug 26, 2026
@RomneyDa
RomneyDa deleted the fix/qa-lab-crabline-artifact-fixtures branch October 22, 2026 00:21
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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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.

3 participants