Skip to content

fix(ci): accept extended-stable patch successors - #126936

Merged
RomneyDa merged 2 commits into
mainfrom
fix/extended-stable-validation-version
Aug 21, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
fix/extended-stable-validation-version

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where extended-stable validation rejects a valid candidate such as 2026.6.35 when its canonical branch is intentionally anchored at extended-stable/2026.6.33. Full validation stopped before any child lane ran.

Why This Change Was Made

The canonical branch anchor remains exactly YYYY.M.33; a candidate on that line must be a final YYYY.M.PATCH version with PATCH >= 33. The guard still rejects a different release line, prereleases, and patches below 33.

User Impact

Release maintainers can validate later extended-stable patch candidates without weakening frozen-ref or branch-ancestry checks.

Evidence

  • Reproduced in Full Release Validation run 32402933554, which rejected 2026.6.35 before child dispatch.
  • Focused workflow contract: vitest ... --testNamePattern=extended-stable — 7 passed.
  • actionlint .github/workflows/full-release-validation.yml
  • oxfmt --check test/scripts/package-acceptance-workflow.test.ts
  • git diff --check
  • Fresh autoreview --mode branch --base origin/main: clean, no accepted/actionable findings.

Production LOC: +8/-2 (net +6) | Tests: +14/-1

Provenance: introduced by #126622 (c28c279), which correctly added frozen-target isolation but treated the .33 branch anchor as an exact package version.

@clawsweeper

clawsweeper Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 21, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 21, 2026
@clawsweeper

clawsweeper Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 20, 2026, 10:11 PM ET / August 21, 2026, 02:11 UTC.

ClawSweeper review

What this changes

This PR changes release validation to accept final same-month extended-stable patch successors at or above .33, and applies the same rule to Telegram QA provenance.

Regression provenance

Possible regression — probable (reviewed change; failure trace). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

The prior Telegram-provenance P1 is addressed: parent validation and both Telegram provenance phases now accept only final, same-line extended-stable successors at .33 or later. Keep this maintainer PR open for exact-head CI and a direct extended-stable validation run.

Priority: P1
Reviewed head: c119f717aa70a9c10e8e7af5c10be5a29057ee9b

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The implementation and targeted regression coverage are sound, with a real after-fix release-validation run still the material confidence booster.
Proof confidence 🦐 gold shrimp (3/6) Not applicable: This maintainer-authored workflow PR is outside the external-contributor proof gate; its body links the original failed release run and focused after-fix contract checks.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored workflow PR is outside the external-contributor proof gate; its body links the original failed release run and focused after-fix contract checks.
Evidence reviewed 7 items Current-main failure mechanism: Current main assigns the .33 branch anchor as the exact expected package version, so a reachable final .35 candidate is rejected before child dispatch.
Parent repair: The PR instead compares year/month and requires a final PATCH >= 33, while retaining the existing context-branch ancestry checks below this guard.
Telegram sibling repair: The Telegram provenance helper uses the identical final, same-line PATCH >= 33 rule in both build and revalidation jobs.
Findings None None.
Security None None.

Live Verification

Command: node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts test/scripts/openclaw-release-telegram-qa-workflow.test.ts --testNamePattern='extended-stable'

Result: PASS (completed)

node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts test/scripts/openclaw-release-telegram-qa-workflow.test.ts --testNamePattern='exten
ded-stable'runner@runnervm76f27:/tmp/clawsweeper-live-proof-126936-v8GRbf/target$ node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts t
est/scripts/openclaw-release-telegram-qa-workflow.test.ts --testNamePattern='extended-stable'
node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts test/scripts/openclaw-release-telegram-qa-workflow.test.ts --testNamePattern='exten
ded-stable'
[test] starting test/vitest/vitest.tooling.config.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-126936-v8GRbf/target

 ✓  tooling  test/scripts/package-acceptance-workflow.test.ts (218 tests | 211 skipped) 129ms
 ✓  tooling  test/scripts/openclaw-release-telegram-qa-workflow.test.ts (18 tests | 17 skipped) 280ms

 Test Files  2 passed (2)
      Tests  8 passed | 228 skipped (236)
   Start at  02:12:42
   Duration  1.10s (transform 405ms, setup 65ms, import 269ms, tests 409ms, environment 0ms)

[test] passed 1 Vitest shard in 7.03s
runner@runnervm76f27:/tmp/clawsweeper-live-proof-126936-v8GRbf/target$ node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts test/scripts
/openclaw-release-telegram-qa-workflow.test.ts --testNamePattern='extended-stable'































Assertions:

  • PASS expect_output: extended-stable

How this fits together

Full Release Validation checks a frozen release candidate against its canonical context branch before dispatching child release checks. Telegram QA receives that context and independently verifies the candidate again before and after building its test artifact.

flowchart LR
  A[Release candidate] --> B[Canonical extended-stable branch]
  A --> C[Full release validation]
  B --> C
  C --> D[Release checks]
  D --> E[Telegram QA dispatch]
  E --> F[Telegram provenance checks]
  F --> G[Validated release evidence]
Loading

Before merge

  • Resolve merge risk (P1) - The after-fix contract is covered by focused harness tests, but release policy still calls for a successful direct extended-stable validation run before landing.
  • Resolve merge risk (P1) - Production tooling grows by 11 net lines because the parent shell guard and isolated Telegram helper each require the same boundary check; no shared shell-safe owner currently spans both execution phases.
Agent review details

Security

None.

PR surface

Tests +34, Config +8, Other +3. Total +45 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 35 1 +34
Docs 0 0 0 0
Config 1 10 2 +8
Generated 0 0 0 0
Other 1 6 3 +3
Total 4 51 6 +45

Review metrics

Metric Value Why it matters
Production versus test LOC production +16/-5 (net +11); tests +35/-1 (net +34) The positive production growth is limited to two provenance guards; the added tests cover parent, child forwarding, and both Telegram phases.

Merge-risk options

Maintainer options:

  1. Prove the direct release path before merge (recommended)
    Run the canonical extended-stable validation with a final successor and retain the successful parent and Telegram-child evidence before merging.

Technical review

Best possible solution:

Capture a successful documented direct extended-stable validation for a final .35 branch tip, then merge once exact-head checks are green.

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

Yes. A direct canonical extended-stable validation against a final same-line .35 candidate reaches current main's exact-version guard, while the linked failed run independently records that outcome.

Is this the best way to solve the issue?

Yes. The constrained final same-line successor rule matches the shared release-train contract and preserves canonical-branch reachability; the documented direct extended-stable route means the separate SHA-pinned helper should remain strict.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored workflow PR is outside the external-contributor proof gate; its body links the original failed release run and focused after-fix contract checks.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: A valid extended-stable release candidate currently stops before required release-validation lanes run.
  • merge-risk: 🚨 automation: The patch changes GitHub Actions release-input validation and Telegram child-workflow provenance.
  • merge-risk: 🚨 compatibility: It changes the accepted version relationship for existing extended-stable release operations.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored workflow PR is outside the external-contributor proof gate; its body links the original failed release run and focused after-fix contract checks.

Evidence

What I checked:

Likely related people:

  • Josh Avant: Current-main blame attributes the exact-match release and Telegram guards to this commit; the shallow history prevents stronger ownership attribution. (role: line-provenance contributor; confidence: medium; commits: a4901b629101; files: .github/workflows/full-release-validation.yml, scripts/release-telegram-provenance.sh)
  • Vincent Koc: The merged frozen-validation work is the immediate historical context for the contract this PR corrects. (role: release-isolation contributor; confidence: medium; commits: c28c279afa37; files: .github/workflows/full-release-validation.yml, scripts/release-telegram-provenance.sh)

Rank-up moves

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

  • Attach redacted evidence from a successful direct extended-stable successor validation, including the Telegram child result.

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-21T01:51:43.918Z sha 173ff0a :: needs changes before merge. :: [P1] Align the Telegram child with the successor rule

@RomneyDa

Copy link
Copy Markdown
Member Author

Addressed the reviewed P1 on exact head c119f717aa70a9c10e8e7af5c10be5a29057ee9b.

  • Telegram provenance now applies the same final, same-year/month, PATCH >= 33 successor contract as Full Release Validation.
  • Executed both Telegram provenance boundaries for an accepted .35 successor and rejected .32, another month, and a prerelease.
  • Added the parent Release Checks → Telegram child forwarding contract for target_context_ref.

Proof:

  • node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts --testNamePattern='extended-stable|blocking Telegram QA' — 7 passed
  • node scripts/run-vitest.mjs test/scripts/openclaw-release-telegram-qa-workflow.test.ts --testNamePattern='provenance|extended-stable|binds every release context' — 6 passed
  • bash -n scripts/release-telegram-provenance.sh — passed
  • git diff --check — passed
  • pnpm exec oxfmt --check ... — passed
  • pnpm check:workflows — actionlint passed; local zizmor bootstrap then stopped because host Python 3.9.6 is below zizmor's required 3.10
  • node scripts/check-changed.mjs -- ... — all guards through formatting passed; local test-root typecheck then stopped because the borrowed linked-worktree dependency tree lacks @types/pako
  • fresh autoreview against origin/main, P1 scope — clean, no accepted/actionable findings

@clawsweeper re-review

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S and removed size: XS labels Aug 21, 2026
@clawsweeper

clawsweeper Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 21, 2026
@RomneyDa
RomneyDa merged commit 59e9765 into main Aug 21, 2026
154 checks passed
@RomneyDa
RomneyDa deleted the fix/extended-stable-validation-version branch August 21, 2026 03:13
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 21, 2026
* fix(ci): accept extended-stable patch successors

* fix(ci): align Telegram extended-stable successors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts 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