Skip to content

fix(release): preserve validated branch in prepush checks - #193178

Merged
tideclaw-bot merged 1 commit into
mainfrom
fix/release-prepush-context-20261105
Nov 5, 2026
Merged

tideclaw-bot merged 1 commit into
mainfrom
fix/release-prepush-context-20261105

Conversation

@tideclaw-bot

Copy link
Copy Markdown
Collaborator

Related: #192806

What Problem This Solves

Fixes release prepush checks losing the validated release destination when child checks run in a detached checkout.

User Impact

Release maintainers get the existing release-branch check policy for the exact destination they validated. Non-release checks stay strict; this does not introduce or broaden the release policy.

Why This Change Was Made

Carry the validated branch through the existing command environment. Both implicit and explicitly supplied release cuts remain checked before push. Consolidate duplicate regression scenarios without removing assertions or increasing test-line allocations.

Evidence

  • Independent review of exact two-file patch: no findings.
  • Regression: 2 failed / 9 passed before the handoff fix; 11/11 passed after.
  • Targeted typecheck, strict script/test lint, formatting, and patch checks passed.
  • Test file has zero net line growth and no allocation change; strict test-budget check passed under the existing no-growth rule.
  • The two touched files are unchanged between the reviewed base and this branch's refreshed main base. Existing focused proof therefore applies to identical source inputs.
  • Full PR CI has not yet completed. No UI, dependency, or production runtime behavior changes.

Forward the validated release destination to child commands so detached checks use the existing release policy. Preserve strict non-release behavior and both implicit and explicit cut validation. Regression cases fail before the fix and all 11 pass afterward; no test-line growth or new allocation.

Co-authored-by: RomneyDa <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 5, 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 scripts Repository scripts size: XS labels Nov 5, 2026
@tideclaw-bot tideclaw-bot added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Nov 5, 2026
@tideclaw-bot
tideclaw-bot marked this pull request as draft November 5, 2026 04:42
@tideclaw-bot
tideclaw-bot marked this pull request as ready for review November 5, 2026 04:42
@tideclaw-bot
tideclaw-bot merged commit dd327c7 into main Nov 5, 2026
107 of 159 checks passed
@tideclaw-bot
tideclaw-bot deleted the fix/release-prepush-context-20261105 branch November 5, 2026 04:53
@tideclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

tideclaw-bot added a commit that referenced this pull request Nov 5, 2026
Adopt the reviewed release-size exemption from #192806 while retaining correctness, complexity, configuration, and provenance checks. Include the main-first prepush context handoff from #193178 (dd327c7) and fixture isolation from #193195 (fa56528).

Canonical closure: 85/85 targeted tests pass with the checksum-verified pinned Bun; tooling types, focused strict lint, format, and whitespace checks pass. Initial 83/85 failure evidence retained; no native or security waiver.

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 6, 2026
…93178)

Forward the validated release destination to child commands so detached checks use the existing release policy. Preserve strict non-release behavior and both implicit and explicit cut validation. Regression cases fail before the fix and all 11 pass afterward; no test-line growth or new allocation.

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant