Skip to content

fix(ci): tooling shard fails on QA Profile Evidence routing after #143968 - #147293

Merged
steipete merged 1 commit into
mainfrom
steipete/fix-test-projects-qa-profile-routing
Sep 13, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/fix-test-projects-qa-profile-routing

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes: main's tooling test shard fails on test/scripts/test-projects.test.ts since #143968 landed, blocking every PR's CI.

User Impact

User impact: no user-visible change. CI on main and on PRs merged against current main goes green again.

Why This Change Was Made

#143968 added test/scripts/qa-profile-run-status.test.ts, which references .github/workflows/qa-profile-evidence.yml. Changed-target routing therefore selects that test as an owner of the workflow, but the routing expectation still listed the previous five owners. This adds the new owner to the expected list; the routing itself is correct and unchanged.

Evidence

#143968 added test/scripts/qa-profile-run-status.test.ts, which references
.github/workflows/qa-profile-evidence.yml, so changed-target routing now
selects it for that workflow. The routing expectation in
test-projects.test.ts still listed the previous five owners, which turned
main's tooling shard red. Add the new owner to the expected target list.
@clawsweeper

clawsweeper Bot commented Sep 13, 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.

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 13, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 Sep 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 3:10 PM ET / 19:10 UTC.

ClawSweeper review

What this changes

Updates the CI routing test to expect the diagnostics test among the tests selected when the QA Profile Evidence workflow changes.

Merge readiness

✅ Ready for maintainer review

The repair remains necessary on inspected main and has no actionable correctness findings. It restores an accurate routing expectation without weakening the assertion; the maintainer-protected PR should remain open for normal landing.

Priority: P2
Reviewed head: 9aecc88d79511d4962f637fcfbe53ea0b8a23eea

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-supported expectation repair with reported passing targeted validation and no actionable findings.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied repository state identifies this as maintainer-authored test-only work, exempt from external runtime proof; the reported before/after routing-test results directly address the changed assertion.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied repository state identifies this as maintainer-authored test-only work, exempt from external runtime proof; the reported before/after routing-test results directly address the changed assertion.
Evidence reviewed 6 items Introduced patch and merge scope: The introduced patch adds only the diagnostics test to the existing exact expected array. The verified test-merge comparison contains the same change; unrelated base-branch work is not removed.
Current main still has the mismatch: Inspected main still expects five owners, while its diagnostics test reads the workflow directly. The central repair is therefore still missing on this main revision.
Existing selector contract: Workflow routing includes direct literal-reference tests, excluding the routing test itself; qa-profile-run-status.test.ts qualifies through its workflow read. No selector change or competing implementation is needed.
Findings None None.
Security None None.

How this fits together

OpenClaw’s test selector maps changed repository files to relevant tests. Workflow references contribute test owners, and this assertion checks the resulting selection.

flowchart LR
 A[Changed workflow] --> B[Test selector]
 C[Tests referencing workflow] --> B
 B --> D[Selected test owners]
 D --> E[Exact routing assertion]
 E --> F[Tooling CI result]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +1. Total +1 across 1 file.

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

Review metrics

None.

Root-cause cluster

Relationship: canonical
Canonical: #147293
Summary: This PR owns the routing expectation repair; the merged diagnostics work supplies context, while other referenced PRs encounter the shared CI failure.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best possible solution:

Keep the existing selector and exact owner-set assertion aligned with the workflow’s actual tests.

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

Yes, from source: selecting tests for the QA Profile Evidence workflow includes the diagnostics test, but inspected main’s exact assertion omits it. No tests were executed during this review.

Is this the best way to solve the issue?

Yes. Adding the actual workflow owner preserves strict coverage and avoids changing correct selector behavior or introducing retries and exclusions.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: Repairs a concrete shared CI routing assertion failure without changing product behavior.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied repository state identifies this as maintainer-authored test-only work, exempt from external runtime proof; the reported before/after routing-test results directly address the changed assertion.

Label justifications:

  • P2: Repairs a concrete shared CI routing assertion failure without changing product behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied repository state identifies this as maintainer-authored test-only work, exempt from external runtime proof; the reported before/after routing-test results directly address the changed assertion.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit 07b96d9 adds test/scripts/qa-profile-run-status.test.ts:21 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 07b96d9b4122; files: test/scripts/qa-profile-run-status.test.ts)

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.

@vincentkoc vincentkoc self-assigned this Sep 13, 2026
@steipete
steipete merged commit 01d9d68 into main Sep 13, 2026
65 checks passed
@steipete
steipete deleted the steipete/fix-test-projects-qa-profile-routing branch September 13, 2026 19:17
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 13, 2026
* commit 'cf45ff4d6a9c13164463db860285a02c1c4f2e8c':
  test(macos): observe readiness cancellation and deadline ownership (#145056)
  fix(ci): route QA Profile Evidence to its run-status owner test (#147293)
  fix(install): preserve runtime links when Node validation fails (#147221)
  test(auto-reply): reuse memory session fixtures (#147262)
  fix: hide subagent sessions from Activity (#147253)
  ci: record resources for slow runtime test commands (#147254)
  fix(update): recognize FreeBSD boot identities in triage leases (#147243)
  refactor(active-memory): share closing tag line scan (#147031)
  fix: resume Settings autosave after Reload Config (#147136)
  fix(cli): keep conversation context after cancellation (#147139)
  fix(channels): make system-agent approval cards actionable (#147152)
  refactor: retain shared database handles until their last worker closes (#147246)
  refactor(slack): share workspace-qualified target resolution (#147024)
  refactor(msteams): remove duplicate quoted-table test (#147270)
vincentkoc added a commit that referenced this pull request Sep 13, 2026
* commit 'ac59d5e09eb468dc23cf95e447608b57e71b52af': (176 commits)
  improve(gateway): avoid redundant startup preflight work (#147285)
  test(macos): observe readiness cancellation and deadline ownership (#145056)
  fix(ci): route QA Profile Evidence to its run-status owner test (#147293)
  fix(install): preserve runtime links when Node validation fails (#147221)
  test(auto-reply): reuse memory session fixtures (#147262)
  fix: hide subagent sessions from Activity (#147253)
  ci: record resources for slow runtime test commands (#147254)
  fix(update): recognize FreeBSD boot identities in triage leases (#147243)
  refactor(active-memory): share closing tag line scan (#147031)
  fix: resume Settings autosave after Reload Config (#147136)
  fix(cli): keep conversation context after cancellation (#147139)
  fix(channels): make system-agent approval cards actionable (#147152)
  refactor: retain shared database handles until their last worker closes (#147246)
  refactor(slack): share workspace-qualified target resolution (#147024)
  refactor(msteams): remove duplicate quoted-table test (#147270)
  fix(qa): bind coverage IDs to producer assertions (#144000)
  fix(linux): explain FreeBSD desktop setup prerequisites (#147211)
  fix(memory): split embedding batches rejected for an input array item cap (#139541)
  test: isolate timing metadata persistence from inherited settings (#147112)
  refactor(status): retire test-only helper publication (#147071)
  ...
roboclaw-bot added a commit that referenced this pull request Sep 13, 2026
Bring in the upstream QA Profile Evidence routing correction from #147293; dashboard feature behavior is unchanged.

Co-authored-by: steipete <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
…claw#147293)

openclaw#143968 added test/scripts/qa-profile-run-status.test.ts, which references
.github/workflows/qa-profile-evidence.yml, so changed-target routing now
selects it for that workflow. The routing expectation in
test-projects.test.ts still listed the previous five owners, which turned
main's tooling shard red. Add the new owner to the expected target list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. 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.

2 participants