Skip to content

fix(qa): scenario catalog test fails on a deleted progress card file - #174885

Merged
obviyus merged 1 commit into
mainfrom
fix/qa-progress-card-code-ref
Oct 17, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/qa-progress-card-code-ref

Conversation

@obviyus

@obviyus obviyus commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Requested by Ayaan

What Problem This Solves

Fixes: the QA scenario catalog test fails on main because the progress card scenario still names a file that #174247 deleted.

User Impact

No user-visible change. Hourly Extension Tests and the full CI extension shard go green again for this test.

Why This Change Was Made

#174247 removed ui/src/components/session-progress-card-controller.ts and moved progress card subscriptions to the store projection in ui/src/lib/session-progress-cards.ts. The scenario's codeRefs now points at that owner. The test still checks that every reference resolves.

Evidence

  • Before, on main f76d912f5d7: pnpm exec vitest run extensions/qa-lab/src/scenario-catalog.test.ts → 1 failed: control-ui-progress-card-live-placement codeRefs ui/src/components/session-progress-card-controller.ts exists: expected null not to be null. Same failure in Hourly Extension Tests run 38982648317.
  • After: same command → 8 passed.

@clawsweeper

clawsweeper Bot commented Oct 17, 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.

@obviyus obviyus self-assigned this Oct 17, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 17, 2026
@clawsweeper

clawsweeper Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR points the progress-card QA scenario at the existing store instead of a deleted controller.

Example: Validate code references for control-ui-progress-card-live-placement.

  • Before: The catalog references ui/src/components/session-progress-card-controller.ts, which no longer exists.
  • After: The catalog references ui/src/lib/session-progress-cards.ts, which exists.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The narrow correction is source-verified and supported by reported catalog results and successful CI; supplied execution evidence is limited to the test harness.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored QA metadata correction is outside the ordinary contributor proof gate; the supplied catalog-test results exercise the changed reference through the real loader and resolver.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Repository catalog validation fails because a QA scenario references a deleted source file.
Reason: The maintainer-authored correction restores an existing validation contract with one reference replacement.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR correctly repairs a stale QA catalog reference without weakening validation or changing application behavior.

Priority: P3
Reviewed head: f26438dc7ebb72219a3dd7115cc3de745779dfd2

Before merge

None.

Findings

None.

Agent review details

How this fits together

QA Lab loads repository YAML scenarios into its catalog, and the catalog integrity test resolves their documentation and code references against repository files.

flowchart LR
  YAML[Scenario YAML] --> Catalog[QA scenario catalog]
  Catalog --> Test[Reference integrity test]
  Test --> Resolver[Repository path resolver]
  Resolver --> Store[Existing progress card store]
Loading

Technical review

Best possible solution:

Retain this focused reference correction and the existing catalog integrity check.

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

Current-main YAML names a missing file, and the existing catalog test rejects precisely that condition; the author supplies matching before-and-after results, but this review ran no tests.

Is this the best way to solve the issue?

Updating the reference to the retained store completes the intentional controller retirement without restoring obsolete code or relaxing validation.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 02d223bd10cf.

Provenance checked

  • Progress-card scenario code reference keeps the original intent (7170a62: The scenario accompanied the durable progress-card feature and linked its implementation; the later controller retirement retained the store as the authoritative owner.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

Other 0. Total 0 across 1 file. Added test files: 0.

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

Labels

Label changes:

  • add P3: This is a focused QA metadata repair with no application behavior change.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is a focused QA metadata repair with no application behavior change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 16, 2026, 8:41 PM ET / October 17, 2026, 00:41 UTC.

@obviyus
obviyus merged commit c370e29 into main Oct 17, 2026
104 checks passed
@obviyus
obviyus deleted the fix/qa-progress-card-code-ref branch October 17, 2026 00:42
@obviyus

obviyus commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator Author

Landed as c370e29. Bug: the QA scenario catalog test failed on main because control-ui-progress-card-live-placement still referenced the controller removed in #174247. Fix: point codeRefs at ui/src/lib/session-progress-cards.ts, the store that replaced it. Proof: the catalog test went from 1 failed to 8 passed locally, and PR CI was green.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 17, 2026
…penclaw#174885)

## What Problem This Solves

Fixes: the QA scenario catalog test fails on main because the progress card scenario still names a file that openclaw#174247 deleted.

## User Impact

No user-visible change. Hourly Extension Tests and the full CI extension shard go green again for this test.

## Why This Change Was Made

openclaw#174247 removed `ui/src/components/session-progress-card-controller.ts` and moved progress card subscriptions to the store projection in `ui/src/lib/session-progress-cards.ts`. The scenario's `codeRefs` now points at that owner. The test still checks that every reference resolves.

## Evidence

- Before, on main `7fd0ad5d1f9`: `pnpm exec vitest run extensions/qa-lab/src/scenario-catalog.test.ts` → 1 failed: `control-ui-progress-card-live-placement codeRefs ui/src/components/session-progress-card-controller.ts exists: expected null not to be null`. Same failure in Hourly Extension Tests run 38982648317.
- After: same command → 8 passed.

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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.

1 participant