Skip to content

fix: allow first release push with shipped patch bytes - #195174

Merged
RomneyDa merged 1 commit into
mainfrom
openclaw/release-prepush-baseline
Nov 8, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
openclaw/release-prepush-baseline

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 8, 2026

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes the first canonical release push failing its whitespace preflight on patch-file bytes already shipped in the preceding stable release when the release history diverges from main.

User Impact

Release maintainers can push a validated new release cut without editing unchanged dependency patches or bypassing whitespace/conflict checks. No runtime or dependency change.

Why This Change Was Made

Keep current main as the audit authority, but choose the newest stable tag between its merge base and the exact candidate for a first push. Only tag objects actually published on canonical origin qualify; local-only candidate tags cannot suppress checks. With no eligible stable tag, keep the audit merge base. Existing release branches still use their refreshed canonical head, and exact-head, clean-worktree, and fast-forward checks remain unchanged.

Evidence

  • Real secretless Git/CLI regression: a first push with inherited patch grammar fails on baseline, then succeeds and creates the exact expected remote head with the fix. New whitespace and conflict markers still fail before any remote update.
  • Review-found local-only stable-tag bypass reproduced RED and fixed GREEN; a local candidate tag no longer exempts its whitespace.
  • Focused suite: 11/11 passing. Targeted script/test lint, tooling typecheck, formatting, diff check, and test-line ratchet pass using isolated frozen dependencies.
  • Necessary growth: 36 net production lines and 57 net test lines replace the helper-only divergent-history case with a real CLI/push regression; 57 test lines explicitly allocated. No competing check owner or broad whitespace ignore.
  • Local ClawSweeper and Codex CLI unavailable. Independent OpenClaw subagent review (openai/gpt-6.1-sol, P0–P3) found the local-tag issue; final independent review is clear, with 11/11 tests and an additional real-CLI annotated-tag check. This narrative fallback does not claim helper-enforced isolation or a machine-validated review result. Hosted ClawSweeper will be requested under the maintainer fallback route.

Use a published stable ancestor for first-push changed-byte checks while retaining current-main audit authority and exact-head validation.

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

clawsweeper Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review ended

ClawSweeper stopped reviewing this revision because the pull request closed.

View the workflow run.

@RomneyDa
RomneyDa marked this pull request as ready for review November 8, 2026 10:49
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S labels Nov 8, 2026
@RomneyDa
RomneyDa enabled auto-merge (squash) November 8, 2026 10:51
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 8, 2026
@RomneyDa
RomneyDa merged commit 5107b3a into main Nov 8, 2026
160 of 162 checks passed
@RomneyDa
RomneyDa deleted the openclaw/release-prepush-baseline branch November 8, 2026 11:00
@RomneyDa

RomneyDa commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

vincentkoc added a commit that referenced this pull request Nov 8, 2026
…tooling-lint-selection-20261108

* commit 'b0e90e6a4b359fff7756698067fdce4758b1907b': (38 commits)
  fix(android): Talk button demands a realtime provider on a native Talk setup (#191194)
  chore: trace first-run Gateway work and verify later replies (#195185)
  fix(knowledge): keep deleted messages out of reply previews (#195126)
  fix(agents): preserve streamed replies across Gateway restarts (#195164)
  perf(ci): reuse SDK transport path boundaries (#195180)
  fix(sandbox): avoid pauses for unchanged command checkpoints (#195120)
  fix(test): make retention checks portable across runtimes (#195091)
  fix(knowledge): clarify temporal kind filters (#194995)
  improve: reduce Gateway allocation while draining SQLite receipts (#195129)
  fix: reduce streaming CPU after reply and voice directives (#195145)
  fix: reduce Markdown reparsing during streamed tool-call checks (#195161)
  fix: restore the main dead-export gate (#195158)
  improve(ci): pack small UI selections into fewer jobs (#195107)
  fix(muse): quota and sign-in failures end with no reply (#195148)
  fix: allow first release push with shipped patch bytes (#195174)
  fix(ci): narrow single-config tooling selections (#195147)
  fix(packaging): reject incompatible prepublish plugin cohorts (#195152)
  fix(ci): prepare verified Bun before parity checks (#195155)
  fix: Incognito agent turns stall before execution (#195005)
  fix: credentialed search and speech providers work without picking a provider (#195169)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 9, 2026
Use a published stable ancestor for first-push changed-byte checks while retaining current-main audit authority and exact-head validation.

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 11, 2026
Use a published stable ancestor for first-push changed-byte checks while retaining current-main audit authority and exact-head validation.

(cherry picked from commit 5107b3a)

Release adaptation: retain explicit release test fixtures and the zero-delta audit regression; account for their exact test-line delta. Production repair is unchanged.

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

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant