Skip to content

fix(ci): stop blocking CI during release validation - #157757

Merged
RomneyDa merged 6 commits into
mainfrom
fix/remove-release-ci-block
Sep 25, 2026
Merged

RomneyDa merged 6 commits into
mainfrom
fix/remove-release-ci-block

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes CI being skipped and reported as failed whenever Full Release Validation sets the release-priority variable, regardless of available runner capacity. Related: #156305.

User Impact

PR CI, hourly main CI, and supporting workflows continue during release validation, including when the legacy priority variable is stale. Release jobs share normal runner capacity. Already deferred runs still need rerunning.

Why This Change Was Made

Remove the release-priority conditions from workflow admission and the special deferred-CI failure. Preserve the other admission conditions and the required CI result checks. Keep the existing restore tooling for historical deferred runs; release tooling may still write the now-ignored variable. Update operator guidance to stop recommending priority cancellation, including the release fast path and scheduled workflows.

Evidence

  • Updated hourly admission regression fails against the original workflow because the active release variable blocks scheduling.
  • Workflow lint, zizmor, composite-input checks, formatting, docs inventory, and git diff --check passed.
  • Independent autoreview: no actionable P0/P1 findings.
  • Focused six-file workflow suite: 979 passed, 10 skipped, one obsolete environment-key assertion identified and removed; targeted rerun of the affected CI gate cases: 7 passed. Measured test cost: six-file suite 190.09 seconds, targeted gate suite 1.17 seconds.
  • Test-root typechecking, script/test lint, and script/production/full-tree dead-export checks passed. The initial check:changed run identified a test-only export left by deleting the old gate test; it is now private and the dead-export checks pass.
  • Hosted CI attached to the PR; latest-head results pending. No live repository variable was changed.

@clawsweeper

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

@RomneyDa
RomneyDa marked this pull request as ready for review September 25, 2026 00:19
@RomneyDa
RomneyDa requested a review from a team as a code owner September 25, 2026 00:19
joshavant
joshavant previously approved these changes Sep 25, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. 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 Sep 25, 2026
@clawsweeper

clawsweeper Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 24, 2026, 9:36 PM ET / September 25, 2026, 01:36 UTC (Revision 4).

ClawSweeper review

What this changes

The branch removes the release-priority variable from CI and supporting workflow admission, updates release guidance and tests, and retains recovery for historically deferred runs.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 4 items remain

Current main still defers CI when the release-priority variable is set, so this PR remains useful. A stale helper header and acceptance of shared runner capacity remain before merge.

Priority: P1
Reviewed head: bab8808d1ce9432f861d00caa7b4c0d1c3b11441
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused workflow change has relevant regression coverage; one documentation finding and the release-capacity decision remain.
Proof confidence 🌊 off-meta tidepool Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored CI PR. Source and focused expression tests cover the changed admission path; a live release/CI overlap was not observed, and no stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored CI PR. Source and focused expression tests cover the changed admission path; a live release/CI overlap was not observed, and no stored-data contract changes.
Evidence reviewed 10 items Current-main behavior: The pinned main CI preflight condition skips ordinary PR work when the release-priority variable is nonempty.
Introduced CI change: The PR removes that variable from preflight admission; the CI gate still requires selected jobs, including preflight, to succeed.
Hourly admission coverage: The hourly dispatcher no longer reads the release variable, and its regression test expects admission with a nonempty value.
Findings 1 actionable finding [P3] Correct the release-priority helper header
Security None None.

How this fits together

GitHub Actions admits PR and hourly-main work before the CI gate checks required results. Full Release Validation can set a legacy repository variable, while release tooling can restore runs deferred by older workflow revisions.

flowchart LR
A[PR and hourly events] --> C[Workflow admission]
B[Release validation] --> D[Shared runner queue]
C --> D
D --> E[CI and security jobs]
E --> F[Required CI gate]
G[Historically deferred runs] --> H[Restore command]
H --> D
Loading

Decision needed

Question Recommendation
Should Full Release Validation share runner capacity with PR, hourly-main, and CodeQL work instead of reserving release priority? Accept shared capacity: Approve continuous CI admission and monitor queue delays during the first overlapping release window.

Why: The branch deliberately reverses the current release scheduling policy; source tests establish admission behavior but cannot decide the operational capacity tradeoff.

Before merge

  • Correct the release-priority helper header (P3) - The changed comment calls the workflow gate former, but this module's opening header still says active release validation defers PR workflows. Update the header so operators do not rely on the retired scheduling behavior; this finding remains from the prior review.
  • Resolve merge risk (P1) - PR, hourly CI, and CodeQL jobs would compete with release validation for runner capacity. The available reviews do not establish release-manager or CodeQL-owner acceptance of that scheduling tradeoff.
  • Complete next step (P2) - Correct the helper header and obtain release-manager and CodeQL-owner review of shared runner capacity before merge.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

  • [P3] Correct the release-priority helper header — scripts/lib/release-priority.mjs:10
Agent review details

Security

None.

PR surface

Tests -60, Docs -40, Config -24, Other -1. Total -125 across 24 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 3 4 64 -60
Docs 6 43 83 -40
Config 13 17 41 -24
Generated 0 0 0 0
Other 2 2 3 -1
Total 24 66 191 -125

Review metrics

Metric Value Why it matters
Release admission gates 17 job predicates removed; 1 CI-gate variable input removed This quantifies how broadly the release variable stops deferring automation.

Merge-risk options

Maintainer options:

  1. Approve normal queue sharing (recommended)
    Release and security workflow owners accept that release jobs may wait behind admitted CI work when capacity is saturated.
  2. Pause for a capacity policy
    Hold the PR while owners choose a measured, narrower way to protect release capacity.

Technical review

Best possible solution:

Keep CI continuously admitted with one documented scheduling policy, retain recovery for historical deferrals, and observe the first overlapping release window after the policy is approved.

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

Yes, at source level: current main's admission expressions reject PR preflight and scheduled hourly CI when the release variable is set. No live overlapping release window was run in this read-only review.

Is this the best way to solve the issue?

Yes, if owners accept shared capacity: removing the release-variable conditions preserves the other admission checks and the required CI-result gate, while historical restore remains available.

Full review comments:

  • [P3] Correct the release-priority helper header — scripts/lib/release-priority.mjs:10
    The changed comment calls the workflow gate former, but this module's opening header still says active release validation defers PR workflows. Update the header so operators do not rely on the retired scheduling behavior; this finding remains from the prior review.
    Confidence: 0.98

Overall correctness: patch is correct
Overall confidence: 0.9

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P1: A set or stale release-priority variable currently suppresses PR and hourly validation across the repository.
  • merge-risk: 🚨 automation: Continuous admission can make release and routine automation contend for runner capacity.
  • 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 external-contributor proof gate does not apply to this MEMBER-authored CI PR. Source and focused expression tests cover the changed admission path; a live release/CI overlap was not observed, and no stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 66ce17a adds scripts/lib/release-priority.mjs:1 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 66ce17a66877; files: scripts/lib/release-priority.mjs)
  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

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

  • Correct the release-priority helper header.
  • Obtain release-manager and CodeQL-owner acceptance of shared runner capacity.

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 (3 earlier review cycles)
  • reviewed 2026-09-25T00:36:41.713Z sha 94ac09b :: blocked before merge. :: [P1] Remove the active release cancellation recipe | [P3] Report the changed tests’ measured cost
  • reviewed 2026-09-25T01:01:43.170Z sha 4b361e9 :: needs changes before merge. :: [P3] Update the release-priority helper header
  • reviewed 2026-09-25T01:11:29.548Z sha 7d524b3 :: blocked before merge. :: [P3] Correct the release-priority helper header

joshavant
joshavant previously approved these changes Sep 25, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui scripts Repository scripts size: S labels Sep 25, 2026
@clawsweeper clawsweeper Bot added 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. and removed 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 Sep 25, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the app: web-ui App: web-ui label Sep 25, 2026
@RomneyDa
RomneyDa enabled auto-merge (squash) September 25, 2026 02:17
@RomneyDa
RomneyDa disabled auto-merge September 25, 2026 02:18
@RomneyDa
RomneyDa merged commit b98500e into main Sep 25, 2026
211 of 213 checks passed
@RomneyDa
RomneyDa deleted the fix/remove-release-ci-block branch September 25, 2026 02:18
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* commit '05edd36e124dc376f63475256f45e82ec437412c': (30 commits)
  refactor(matrix): reuse bounded direct-room cache insertion (#157775)
  fix: preserve channel-owner revocation across recovery (#157709)
  fix(ci): stop blocking CI during release validation (#157757)
  refactor(tlon): remove unreachable DM summary branches (#157789)
  chore: speed up worktree recovery tests with Bun (#157674)
  fix(sessions): release PR caches when pending viewers leave (#157776)
  refactor(twitch): reuse setup account selection (#157787)
  test: skip empty task ledger resets in cron fixtures (#157767)
  perf: reduce gateway and state test startup (#157711)
  fix: preserve maintenance leases during slow heartbeat renewal (#157696)
  fix(channels): match non-TTY setup advice to registered flags (#157551)
  fix: keep failed update report uploads in the CLI (#156633)
  fix: preserve rejected settings reason when opening config (#157731)
  test(update): load real filesystem dependencies in swap fixture
  fix(ci): prevent Security Review checkout retry collisions (#157652)
  fix(ci): recover interrupted Security Review response bodies (#157651)
  test(ui): capture live operator authority in guest question fixture
  refactor(agents): deslop runners, harness and recovery (#157294)
  fix(auth): preserve Copilot tenant credentials during Doctor repair (#139131)
  refactor(msteams): share stored service URL validation (#157706)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
* fix(ci): stop blocking CI during release validation

* fix(ci): remove obsolete release gate test seams

* fix(ci): repair restart fixture and remove stale cancellation guidance

* fix(test): prepare guest question fixture role authority
steipete added a commit that referenced this pull request Sep 25, 2026
…157910)

* ci(release): route the publish path into the reserved runner group

OPENCLAW_RELEASE_RUNNER_GROUP already routes Full Release Validation and its
children; the Release Publish parent and every publish child still ran on plain
ubuntu-latest. Read the same variable there, forward it as runner_group into
docker-release.yml and vercel-container-registry-publish.yml (docker-image-refresh
keeps ordinary routing), and stop writing the legacy OPENCLAW_RELEASE_PRIORITY_RUN
variable from the validation dispatcher now that #157757 removed its gate.

* ci(release): keep credentialed publish jobs and the hourly plugin preview off the reserved group

npm trusted publishing rejects self-hosted runners, so approval and
credentialed publish jobs (environment, id-token, registry secrets) keep their
default GitHub-hosted labels; plugin-npm-release routes only when Release
Publish dispatches it (release_publish_run_id), never for its hourly preview.
The guard test encodes both rules.

* test(release): narrow the pinned credentialed job lookups
wheakerd pushed a commit to wheakerd/clawdbot that referenced this pull request Sep 25, 2026
…penclaw#157910)

* ci(release): route the publish path into the reserved runner group

OPENCLAW_RELEASE_RUNNER_GROUP already routes Full Release Validation and its
children; the Release Publish parent and every publish child still ran on plain
ubuntu-latest. Read the same variable there, forward it as runner_group into
docker-release.yml and vercel-container-registry-publish.yml (docker-image-refresh
keeps ordinary routing), and stop writing the legacy OPENCLAW_RELEASE_PRIORITY_RUN
variable from the validation dispatcher now that openclaw#157757 removed its gate.

* ci(release): keep credentialed publish jobs and the hourly plugin preview off the reserved group

npm trusted publishing rejects self-hosted runners, so approval and
credentialed publish jobs (environment, id-token, registry secrets) keep their
default GitHub-hosted labels; plugin-npm-release routes only when Release
Publish dispatches it (release_publish_run_id), never for its hourly preview.
The guard test encodes both rules.

* test(release): narrow the pinned credentialed job lookups

(cherry picked from commit 68cf568)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 26, 2026
…penclaw#157910)

* ci(release): route the publish path into the reserved runner group

OPENCLAW_RELEASE_RUNNER_GROUP already routes Full Release Validation and its
children; the Release Publish parent and every publish child still ran on plain
ubuntu-latest. Read the same variable there, forward it as runner_group into
docker-release.yml and vercel-container-registry-publish.yml (docker-image-refresh
keeps ordinary routing), and stop writing the legacy OPENCLAW_RELEASE_PRIORITY_RUN
variable from the validation dispatcher now that openclaw#157757 removed its gate.

* ci(release): keep credentialed publish jobs and the hourly plugin preview off the reserved group

npm trusted publishing rejects self-hosted runners, so approval and
credentialed publish jobs (environment, id-token, registry secrets) keep their
default GitHub-hosted labels; plugin-npm-release routes only when Release
Publish dispatches it (release_publish_run_id), never for its hourly preview.
The guard test encodes both rules.

* test(release): narrow the pinned credentialed job lookups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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.

2 participants