Skip to content

ci(nightly): move the alias only after PyPI and npm publish - #2441

Merged
HuiJun merged 1 commit into
developfrom
ci/nightly-alias-after-registries
Nov 21, 2026
Merged

HuiJun merged 1 commit into
developfrom
ci/nightly-alias-after-registries

Conversation

@HuiJun

@HuiJun HuiJun commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

Part of #2452.

In .github/workflows/nightly.yml the alias job, which moves the nightly tag and release to the new night and then deletes per-night releases past retention, needed only select and publish. The pypi and npm jobs are its siblings, so a night whose registry upload failed still moved the alias and pruned. The run of 2026-11-17 shows it: the npm job failed and the alias job succeeded, leaving nightly at a night whose Node client was not on npm.

The alias job now needs pypi and npm as well. A failed upload leaves the per-night release published, the alias at the previous night and nothing pruned; re-running the failed jobs finishes the night (both registry jobs skip versions already uploaded).

Behaviour change for maintainers: the alias and pruning now wait for the registry jobs, so they finish up to the PyPI job's 45-minute timeout later, and a registry outage holds the alias back until the jobs are re-run or the next night succeeds. No job or step is added.

Merge timing: this changes the nightly release workflow, so it is best merged after the night's snapshot has run rather than just before it.

How it was verified

  • TestNightlyReleasesAreAlwaysPrereleasesNeverLatest now requires the alias job to need pypi and npm and to carry no if: that could run it past a failed need. Against the workflow on develop it fails once per registry; with the change it passes.
  • go test -count=1 ./tests/hygiene, go vet ./tests/hygiene, gofmt -l, actionlint .github/workflows/nightly.yml, scripts/check-doc-ids.py, scripts/changelog.py check pass.
  • The workflow itself was not run: it only runs on schedule or dispatch from develop. The full make test and make lint were not run locally.
  • docs/project/nightly.md describes the new order.

Checklist

  • make test and make lint pass locally
  • Tests added or updated for the change
  • Documentation extended where it already covers the surface (see CONTRIBUTING.md)
  • Changelog entry added as changes/unreleased/<slug>.<section>.md, not as an edit to CHANGELOG.md
  • baselines regenerated and make docs-counts run if a gate count moved (compliance rows need nothing: the census is counted at docs build)
  • No internal work-item labels (waves, slices, F4, K5) in the body, docs, or changelog

Quality Assurance opened this PR for Jason
Implemented in session Fix OpenSysML CI, release and supply chain findings
Review with Devin · Open in Devin Desktop


Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@HuiJun
HuiJun added this pull request to the merge queue Nov 21, 2026
Merged via the queue into develop with commit 1003f7e Nov 21, 2026
81 of 128 checks passed
@HuiJun
HuiJun deleted the ci/nightly-alias-after-registries branch November 21, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant