Repository navigation
Conversation
A closed PR kept its build in the unstable channel. Devices then offered code that will never be merged. Seven such builds are in the list now. The PR build workflow now also runs when a PR closes. A new job asks GitHub for all open PRs and removes every PR build that is not in that list. The job runs for every closed PR, so its first run also removes the seven old builds. A reopened PR with a build label builds again. update_manifest.py gets a prune command. It needs at least one --open number, so an empty list cannot remove all PR builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fault
A closed PR keeps its build in the unstable channel of
update-manifest.json. Devices then offer code that will never be merged. Seven such builds are in the list now: #699, #664, #617, #557, #540, #482 and #385.The features of these PRs are not lost. Each one is merged into the
nixosbranch of mrosseel/PiFinder through a later PR, or is in an open PR.Change
nixos-pr-build.ymlnow also runs onclosedandreopened.prune-manifestruns when a PR closes. It reads the list of open PRs and removes every PR build that is not in that list. It runs for every closed PR, so its first run also removes the seven old builds.closed. A reopened PR with thetestableorpreviewlabel builds again.update_manifest.pygets aprunecommand. It needs at least one--opennumber, so an empty list cannot remove all PR builds. Release and trunk entries stay.Tests
python/tests/test_update_manifest.py: 3 unit tests, all pass.pruneon a copy of the live manifest removes exactly the seven builds above. It keeps the trunk build and [Test build] Satellites, moving target follow and polar alignment with INDI mount control #700, Asteroids! #534, NixOS support #379 and [WIP] Gaia charts #362.🤖 Generated with Claude Code