Skip to content

improve(ci): fail_fast option for release validation, off by default - #116352

Merged
RomneyDa merged 4 commits into
mainfrom
codex/fail-fast-default-off
Jul 30, 2026
Merged

RomneyDa merged 4 commits into
mainfrom
codex/fail-fast-default-off

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Jul 30, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Release validation cancels a dispatched child workflow after its first failed
job. A release manager then has to rerun the umbrella repeatedly to discover
independent failures, as happened during the 2026.6.34 push.

Why This Change Was Made

Adds a boolean fail_fast dispatch input, defaulting to false. The umbrella
now lets CI, Plugin Prerelease, Release Checks, and focused npm-Telegram
children reach terminal completion by default; fail_fast=true restores
cancellation after the first failed child job. Release Checks propagates the
setting to Matrix QA's internal scenario runner.

User Impact

Release managers get a fuller failure inventory from one validation run by
default, while retaining an explicit faster cancellation mode for urgent triage.

Evidence

  • Focused Vitest: 63 tests passed across the helper, reusable-evidence, and
    release-workflow contract suites.
  • The focused package Telegram parent-dispatch contract passed.
  • JavaScript syntax, workflow YAML parsing, and git diff --check passed.
  • Final autoreview was clean.
  • The delegated changed-check gate could not start because this environment is
    not authenticated to Blacksmith Testbox. A broader local package-acceptance
    run also hits an unchanged macOS Bash 3.2 empty-array behavior in the Release
    Checks summary script; the focused changed-child contract passed.

AI-assisted.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: S maintainer Maintainer-authored PR labels Jul 30, 2026
# Conflicts:
#	.agents/skills/release-openclaw-ci/SKILL.md
#	.github/workflows/full-release-validation.yml
#	.github/workflows/openclaw-release-checks.yml
#	docs/ci.md
@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. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jul 30, 2026
@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 30, 2026, 6:46 AM ET / 10:46 UTC.

ClawSweeper review

What this changes

This PR adds a fail_fast workflow-dispatch input, defaulting to false, so Full Release Validation and its release-check children collect independent failures before completion unless a release manager requests first-failure cancellation.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open for explicit release-owner approval: the patch is mechanically coherent, but it reverses current main’s deliberate first-failure cancellation default and can keep expensive release children running after a required failure. The protected maintainer label also requires human handling. Likely related people: steipete (high confidence) and vincentkoc (medium confidence).

Priority: P3
Reviewed head: 8585a04dcaebabd7df46418b062398d56a9c714f
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is focused and contract-tested, with no concrete correctness finding, but its default behavior needs release-owner approval before merge.
Proof confidence 🌊 off-meta tidepool Not applicable: The PR author is a repository member, so the external-contributor real-behavior-proof gate does not apply; the branch nevertheless includes focused workflow-contract evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The PR author is a repository member, so the external-contributor real-behavior-proof gate does not apply; the branch nevertheless includes focused workflow-contract evidence.
Evidence reviewed 4 items Current main behavior: Current main invokes child-job failure detection during parent polling and cancels remaining child work after required child failures; the PR changes that established release-validation behavior behind a new input whose default is false.
Feature provenance: The current fail-fast behavior appears to have been intentionally introduced in the release workflow history by the commit titled ci: fail fast release validation child workflows, following an earlier release-validation optimization commit.
PR contract coverage: The branch threads fail_fast through the umbrella, Release Checks, Matrix QA, the release-dispatch helper, and focused workflow-contract tests; the supplied check results include successful actionlint and repository checks still in progress.
Findings None None.
Security None None.

How this fits together

Full Release Validation is the release-manager umbrella that dispatches CI, plugin prerelease, release checks, and package Telegram validation, then verifies their terminal results. This change alters the cancellation policy between the parent verifier, dispatched child workflows, and Matrix QA execution.

flowchart LR
  A[Release manager dispatch] --> B[Full Release Validation]
  B --> C[Child CI and release workflows]
  B --> D[Cancellation policy]
  D --> E[Stop after first failure]
  D --> F[Collect independent failures]
  C --> G[Parent verification summary]
  G --> H[Release decision]
Loading

Decision needed

Question Recommendation
Should Full Release Validation default to collecting independent child failures after the first required failure, rather than preserving current main’s earlier-cancellation behavior? Adopt complete failure inventory: Approve fail_fast=false as the default so release managers receive independent failures from one umbrella run, accepting longer failed runs and additional CI consumption.

Why: This is a release-operations and CI-capacity policy choice: source and tests establish that both modes are implementable, but they cannot determine the acceptable default cost during an active release.

Before merge

  • Resolve merge risk (P1) - With fail_fast=false as the default, a required child can fail while independent release-validation jobs continue consuming CI capacity and release-manager time; this is an intentional operations tradeoff that green contract tests cannot settle.
  • Resolve merge risk (P1) - The branch is behind current main, so it needs a rebase and an exact-head workflow-contract refresh before landing; this is not evidence that its merge would delete current-main behavior.
  • Complete next step (P2) - A release owner must choose the acceptable default CI-capacity versus failure-inventory tradeoff; there is no narrow mechanical repair to dispatch first.
Agent review details

Security

None.

PR surface

Tests +27, Docs +8, Config +52, Other +7. Total +94 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 3 27 0 +27
Docs 3 12 4 +8
Config 3 53 1 +52
Generated 0 0 0 0
Other 2 9 2 +7
Total 11 101 7 +94

Review metrics

Metric Value Why it matters
Release dispatch surface 1 new boolean dispatch input, default false, propagated through 3 workflow layers and 1 CLI helper The new default changes the failure and capacity policy for normal release validation, not only a local script behavior.

Merge-risk options

Maintainer options:

  1. Approve the release-operations tradeoff (recommended)
    Accept the default-off cancellation policy if release managers prefer a complete independent-failure inventory over minimizing post-failure CI use.
  2. Preserve early cancellation
    Keep the existing default if bounded failed-run cost is more important, and close or retarget this change rather than changing release behavior by default.

Technical review

Best possible solution:

Obtain release-owner approval that complete independent-failure inventory is worth the additional post-failure CI consumption, then rebase onto current main and retain the focused workflow-contract coverage for both default and explicit fail_fast=true dispatches.

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

Not applicable: this is a deliberate release-workflow policy change, not a current user-runtime bug with a failing reproduction path.

Is this the best way to solve the issue?

Unclear pending maintainer intent: the implementation consistently propagates the option, but changing the established default is only the best solution if release owners accept its CI-capacity tradeoff.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: This is a low-frequency internal release-validation policy improvement rather than a user runtime defect.
  • merge-risk: 🚨 automation: Changing the default child-cancellation policy can increase workflow duration and CI capacity use after a required failure.
  • 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 PR author is a repository member, so the external-contributor real-behavior-proof gate does not apply; the branch nevertheless includes focused workflow-contract evidence.

Evidence

What I checked:

  • Current main behavior: Current main invokes child-job failure detection during parent polling and cancels remaining child work after required child failures; the PR changes that established release-validation behavior behind a new input whose default is false. (.github/workflows/full-release-validation.yml:517, f1ee2a3098f6)
  • Feature provenance: The current fail-fast behavior appears to have been intentionally introduced in the release workflow history by the commit titled ci: fail fast release validation child workflows, following an earlier release-validation optimization commit. (.github/workflows/full-release-validation.yml:517, 4e450102d35b)
  • PR contract coverage: The branch threads fail_fast through the umbrella, Release Checks, Matrix QA, the release-dispatch helper, and focused workflow-contract tests; the supplied check results include successful actionlint and repository checks still in progress. (test/scripts/plugin-prerelease-test-plan.test.ts:671, 8585a04dcaeb)
  • Prior review continuity: The previous completed ClawSweeper review found no line-level defect and identified the same unresolved release-operations tradeoff: default-off cancellation can consume more CI capacity before the parent reports failure. The only later branch commit is test formatting. (8585a04dcaeb)

Likely related people:

  • steipete: Current workflow history attributes the existing fail-fast child-workflow policy and nearby release-validation changes to this contributor. (role: introduced current release-validation policy; confidence: high; commits: f0d50dad1ad1, 4e450102d35b; files: .github/workflows/full-release-validation.yml)
  • vincentkoc: Recent workflow history includes release-validation and release-check maintenance in the same automation surface, making this a useful secondary routing contact. (role: recent adjacent release-workflow contributor; confidence: medium; commits: c38b503f5b1e, 94a04e193db9; files: .github/workflows/full-release-validation.yml, .github/workflows/openclaw-release-checks.yml)

Rank-up moves

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

  • Get an explicit release-owner decision on the default cancellation policy.
  • Rebase onto current main and refresh the focused workflow-contract evidence for the exact merge head.

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 (2 earlier review cycles)
  • reviewed 2026-07-30T10:28:00.930Z sha cb023bb :: needs maintainer review before merge. :: none
  • reviewed 2026-07-30T10:36:05.871Z sha e1e876c :: needs maintainer review before merge. :: none

@RomneyDa RomneyDa changed the title improve(ci): collect release validation failures by default improve(ci): fail_fast option for release validation, off by default Jul 30, 2026
@RomneyDa
RomneyDa merged commit bf8da25 into main Jul 30, 2026
110 checks passed
@RomneyDa
RomneyDa deleted the codex/fail-fast-default-off branch July 30, 2026 10:53
vincentkoc added a commit that referenced this pull request Jul 30, 2026
* origin/main: (99 commits)
  docs(automation): rename scheduled-tasks feature wording to Automations (#114855)
  feat(ui): finish cron -> Automations rename in visible strings (#114853)
  feat(cli): add openclaw automations alias and reword cron display prose (#114854)
  feat(agents): rename scheduler agent tool cron -> automations (#114841)
  fix(tui): preserve session state across switches and reconnects (#116399)
  feat(agents): report CLI command outcomes in channel progress
  fix(cli): preserve explicit option intent (#116389)
  fix(release): trust update restart harness (#116301)
  test(reef): remove false-green live guard smoke (#116393)
  test(comfy): evaluate live guards after setup (#116388)
  fix(heartbeat): serialize wake lifecycle state (#116351)
  test: remove redundant extension boundary wrapper (#116385)
  fix(test): bound Testbox agentic and extension suites (#115696)
  fix(ui): show the correct Threads page size (#116349)
  test(discord): align progress timing expectations (#116377)
  feat(ui): add composable skill references (#116330)
  fix(qa): prevent Slack cleanup from stalling profile runs (#116361)
  fix(ci): validate frozen release candidates faithfully (#116357)
  improve(ci): fail_fast option for release validation, off by default (#116352)
  fix(agents): compare shell tool names case-insensitively and stop re-parsing tool labels
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 31, 2026
…penclaw#116352)

* ci: make release validation fail-fast optional

* ci: pass release QA fail-fast as boolean

* test: format release validation helper test
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 maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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.

1 participant