ci(release): keep the newest 20 nightlies, and every nightly from the last 5 days #2407
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2407
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:push-ozzoztxkpvrz"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
A nightly is deleted once 5 newer ones exist. With a nightly at least every hour while merges land, one can be gone within hours, too soon to compare a stable against main or bisect a regression with the builds players had.
The nightly's prune now keeps the newest 20 nightlies, and also every nightly published in the last 5 days (
release.py prune --keep 20 --keep-days 5). The workflow's comment anddocs/dev/reference/releases.mdsay the same.Blocked on Tooling#32, which adds
--keep-days. Once it merges, this PR moves.tooling-revto the merged commit. Until then the pinnedrelease.pydoesn't know the option, so this must not merge.Testing
Tested: The prune logic is tested in Tooling#32 (
tests/test_release.py, against a fake Forgejo). This PR changes only the workflow's arguments and docs; the next nightly after merge runs it. Its "Prune the nightlies" step should list only nightlies past the newest 20 and older than 5 days aspruned.Still to test:
Measurements
Nothing to measure: release workflow and docs.
Risks
More nightly releases kept on the forge: up to 20, or 5 days' worth at about 100 MB per AppImage plus the Windows zip, which is a few GB at most. A revert restores 5.
Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named). (CI)main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.🤖 Generated with Claude Code
WIP: ci(release): keep the newest 20 nightlies, and every nightly from the last 5 daysto ci(release): keep the newest 20 nightlies, and every nightly from the last 5 days