Skip to content

CI: recreate the latest release in the build jobs, so a queued runner can't delete uploads - #698

Merged
danoli3 merged 1 commit into
openframeworks:masterfrom
danoli3:latest-release-no-race
Nov 2, 2026
Merged

danoli3 merged 1 commit into
openframeworks:masterfrom
danoli3:latest-release-no-race

Conversation

@danoli3

@danoli3 danoli3 commented Nov 1, 2026

Copy link
Copy Markdown
Member

Since #691 latest is recreated on every master push by a separate latest-release workflow, assuming it runs in seconds, before any build uploads. For #695 (3afaff3) its runner queued for 27 minutes: it started at 10:56, after build-macos (10:45), build-linux-arm64 and build-linux-ubuntu22 had uploaded, and deleted them. latest (and the nightly copied from it) has only linux / linux-gui / vs / vs-gui, so openFrameworks CI's build-cmake (linuxaarch64) gets a 404 for nightly/projectGenerator-linux-arm64.tar.bz2.

Now every build job runs scripts/ci_latest_release.sh before it builds / uploads:

  • latest's tag already at this commit -> leave it (every job after the first, however late it starts)
  • otherwise delete and create latest at this commit (the first job of the push, before anything of this push was uploaded)
  • the commit isn't the master head (re-running an older master build) -> leave it
  • two jobs creating it at the same moment: the second create fails and is ignored

latest-release.yml is removed. Checked the script with a fake gh for those cases.

@danoli3
danoli3 merged commit 6b77004 into openframeworks:master Nov 2, 2026
5 of 7 checks passed
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