Skip to content

fix(release): separate publication freshness windows - #190294

Merged
RomneyDa merged 1 commit into
mainfrom
fix/release-publication-freshness
Nov 1, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/release-publication-freshness

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Problem

Full Release Validation can spend the entire bounded five-minute window collecting required npm and ClawHub observations. The immutable observation artifact then uploads successfully, but final admission measures freshness from the pre-collection prerequisite timestamp and rejects the receipt before any validation children dispatch.

This blocked the 2026.11.1-beta.1 release repeatedly, including FRV 41302543677.

Solution

Keep the existing five-minute collection bound, then measure the separate post-upload admission bound from collectionCompletedAt. Required row timestamps remain constrained to the bounded collection window.

Evidence

  • node --check scripts/full-release-publication-contract.mjs
  • git diff --check
  • formatter passed for both changed files
  • Boundary tests cover collection completion, exact five-minute post-upload admission, +1 ms rejection, and admission before collection completion.
  • Focused Vitest startup was attempted but this checkout's shared dependency installation lacks @solidjs/vite-plugin; exact-head PR CI must supply the executable test proof.
  • Independent GPT-6.1 Sol review found no P0/P1 issues, with the limitation that it reviewed the supplied exact diff and timestamp lifecycle rather than direct filesystem bytes.

Risk

The maximum age at admission becomes two independently enforced five-minute stages: at most five minutes for collection and at most five minutes for artifact upload/finalization. Observation bytes, source binding, artifact digest, roster, and timestamp ordering remain immutable and validated.

Active-release CI classification

Exact-head CI failed only check-lint-core-2 on src/skills/workshop/experience-review.test.ts createDeferred calls and a pre-existing max-lines warning. Neither file is in this PR. The exact current main base f278c08 contains the reported createDeferred calls, while this PR's merge-base delta is limited to the two release-contract files listed above. Under the active-release fast lane, this unrelated main failure does not gate the P-only repair.

@clawsweeper

clawsweeper Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@RomneyDa RomneyDa added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Nov 1, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review November 1, 2026 11:48
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Nov 1, 2026
@RomneyDa
RomneyDa enabled auto-merge (squash) November 1, 2026 11:51
@RomneyDa
RomneyDa merged commit ca4a2a8 into main Nov 1, 2026
154 of 161 checks passed
@RomneyDa
RomneyDa deleted the fix/release-publication-freshness branch November 1, 2026 11:57
RomneyDa added a commit that referenced this pull request Nov 1, 2026
roboclaw-bot added a commit that referenced this pull request Nov 1, 2026
#190294 moved the publication admission freshness window to start at
collectionCompletedAt. The late-admission fixture still pinned its clock
to prerequisitesCompletedAt + 300001, which now falls inside the window,
so admission wrongly succeeded and main CI failed.

Co-authored-by: vyctorbrzezowski <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 2, 2026
RomneyDa pushed a commit that referenced this pull request Nov 3, 2026
Backport only the publication-admission hunk of main 40101a9 (#190276).
The late-admission fixture must expire relative to collectionCompletedAt,
which the release's separated freshness windows (#190294) now measure.

(partial cherry pick from commit 40101a9)
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.

2 participants