Skip to content

ci: let native push runs finish to save caches - #12896

Merged
cv merged 1 commit into
v1from
ci/finish-native-pushes
Oct 9, 2026
Merged

cv merged 1 commit into
v1from
ci/finish-native-pushes

Conversation

@cv

@cv cv commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Failure

#12884 made CI / Native cancel superseded v1 pushes. Only v1 pushes save the shared Rust dependency caches, and the post-step that saves them runs at the end of each platform's build job.

After #12884 merged, both completed v1 pushes were cancelled by the next merge after 16.9 and 8.8 minutes. Linux saved its caches, but cold macOS and Windows builds take 17–21 minutes, so neither saved a shared cache. Every PR since has built those platforms cold: Windows alone took 20.9 minutes in #12888's run, longer than the previous 19.5-minute PR median. Warm Linux now finishes Build and test in 6.6–7.0 minutes.

Cancelling pushes also helped less than #12884 claimed. PR runs use a separate concurrency group, so they never waited behind push runs.

Decision

Cancel only superseded PR runs in CI / Native. Push runs finish, so each platform saves its cache; a newer push still replaces an older pending run, so v1 does not build every intermediate merge. CI / Images keeps cancelling superseded pushes because it does not write the Rust caches.

Validation

  • cargo ci passed on Linux ARM64: formatting, Clippy, 1,297 tests, doctests, schema check, bundle verification, and 112 lifecycle tests.
  • Actionlint 1.7.12 and git diff --check passed.
  • After merge, the next completed v1 push should create native-deps-v2-darwin_arm64-* and native-deps-v2-windows_amd64-* cache entries. Their absence would mean this did not fix the cold builds.

#12884 cancelled superseded CI / Native pushes. Only v1 pushes save the shared Rust caches, and cold macOS and Windows builds take longer than the usual gap between merges, so both post-merge pushes were cancelled before those platforms saved a cache. Every PR since has built macOS and Windows cold. Cancel only superseded PR runs again; a newer push still replaces an older pending one.
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

@cv
cv merged commit b2c7089 into v1 Oct 9, 2026
27 checks passed
@cv
cv deleted the ci/finish-native-pushes branch October 9, 2026 10:03
@cv cv added the v1 NemoClaw v1 branch label Oct 12, 2026
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions chore Build, CI, dependency, or tooling maintenance labels Oct 28, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants