Repository navigation
fix(ci): restore release validation gates - #129761
vincentkoc wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
6d69617 to
320ac3e
Compare
|
@clawsweeper re-review Exact head is now |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Co-authored-by: Dallin Romney <[email protected]>
320ac3e to
7031952
Compare
|
@clawsweeper re-review Exact head is now |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed August 25, 2026, 10:22 PM ET / August 26, 2026, 02:22 UTC. ClawSweeper reviewWhat this changesThe PR replaces a loose release-validation GitHub client declaration with concrete request and response shapes and makes the test harness throw for an absent issue. Merge readinessNo blocking correctness finding: the declaration now mirrors the publisher’s concrete GitHub Issues calls, and the harness no longer returns an impossible successful missing-issue response. This maintainer-authored PR remains necessary until exact-head CI completes. Priority: P3 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togetherThe release-validation workflow validates a generated campaign artifact, then publishes it as GitHub campaign issues. The declaration and harness define the typed boundary used by that publisher and its tests. flowchart LR
A[Release artifact] --> B[Artifact validation]
B --> C[Campaign publisher]
C --> D[GitHub Issues client]
D --> E[Campaign issue state]
F[Test harness] --> C
Before merge
Agent review detailsSecurityNone. PR surfaceTests +4, Other +63. Total +67 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Retain the closed local declaration and merge after exact-head script lint, type, and focused campaign checks pass. Do we have a high-confidence way to reproduce the issue? Yes, in source: current main’s loose declaration and the publisher’s concrete call sites establish the focused type boundary; this read-only review did not execute tests. Is this the best way to solve the issue? Yes: typing the existing publisher operations at its declaration boundary is narrower and more maintainable than weakening lint or changing runtime behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 637da87a5da1. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
@clawsweeper automerge Special instructions: |
|
🦞🧹
Draft PRs stay fix-only until GitHub marks them ready for review. Pause with Automerge progress:
Re-review progress:
|
|
/clownfish automerge |
|
Clownfish is on the reef for this PR. 🐠 I tagged A maintainer can call |
|
/clownfish stop |
|
@clawsweeper stop |
|
🦞✅ I added |
|
Got it. Clownfish is floating this back to human review. 🐠 I kept the regular |
Related: #129743
Supersedes: #129733
What Problem This Solves
Fixes the remaining release-validation declaration weakness exposed by two current-main CI regressions that formed a hard exact-head dependency cycle:
check-lintbecause its GitHub client parameter used explicitany.check-test-typesbecause they still used Crabline's retired smoke-artifact shape.The prior lint-only head failed on the QA fixtures in https://github.com/openclaw/openclaw/actions/runs/32920876010/job/98034237450. Conversely, #129743's exact head fixed those fixtures but failed on current-main's release-validation lint error in https://github.com/openclaw/openclaw/actions/runs/32919562454/job/98030450577. Neither isolated PR could produce a green merge-ref CI result.
Why This Change Was Made
The first amended head combined both independently reviewed canonical repairs. During the required rebase,
maincommit637da87a5da10cf079224fcd102725bce1c5ee57landed the byte-identical #129743 QA fixture repair and a broader declaration based onRecord<string, unknown>and untyped pagination.This PR now keeps only the remaining strict delta:
undefinedresponse.The QA fixtures from #129743 are already present in the current base, so they are not duplicated as no-op changes. This supersedes #129733 because that uneditable branch mixed the broader declaration shape with overlapping QA commits.
User Impact
No product behavior changes. Maintainers retain green release-validation lint and QA Lab typecheck gates with a closed GitHub API contract rather than a type-laundering boundary.
Evidence
release-validation-campaign.d.mts:31:11 no-explicit-any.providerReadinessArtifactPathin both cleanup fixtures.pnpm tsgo:scripts: passed.pnpm tsgo:test:root: passed.pnpm tsgo:extensions:test: passed on the rebased current-main QA repair.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/13 passed.node scripts/check-changed.mjs -- scripts/github/release-validation-campaign.d.mts test/scripts/release-validation-campaign.test.ts: passed.+0/-0; tooling declarations:+83/-20; tests:+7/-3.Co-authored contribution preserved from Dallin Romney's public commit in #129733.
AI-assisted; implementation and final diff were reviewed locally.