feat(ci): accept fork branch pins in staging extras - #16
Merged
Conversation
Fork-only work needs to land in staging without an upstream PR. Allow branch:<name> pins resolved from the configured fork remote. Signed-off-by: Bryan Li <bryan.li@gmail.com> Co-authored-by: omnigent <noreply@omnigent.ai>
btli
force-pushed
the
ci/extras-branch-pins
branch
from
August 13, 2026 17:16
f345885 to
a71fa00
Compare
Use stable built-in sorting and deduplication directly, and remove one-use helpers without changing composition behavior. Signed-off-by: Bryan Li <bryan.li@gmail.com> Co-authored-by: omnigent <noreply@omnigent.ai>
Exercise branch composition decoding, reproducible reruns, changed-head attribution, and transport failures in hourly and nightly modes. Signed-off-by: Bryan Li <bryan.li@gmail.com> Co-authored-by: omnigent <noreply@omnigent.ai>
btli
pushed a commit
that referenced
this pull request
Aug 14, 2026
Squash of the fork's staging automation onto upstream main: the hourly/ nightly/images workflows and the stage.py composer with its tests and docs, including the STAGING_PUSH_TOKEN environment fallback (PR #15) and branch: extras pins (PR #16), with homelab pinned. Full prior history preserved at tag archive/main-2026-08-14. Signed-off-by: Bryan Li <bryan.li@databricks.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.
Related issue
N/A — fork personal-staging composer; no upstream issue.
Summary
The personal-staging extras manifest only accepted upstream PR numbers, so fork-only work could not land in
stagingwithout an upstream PR.extras.txtnow also acceptsbranch:<name>pins resolved on--fork-remote, preserving the existing fail-loud deleted-vs-unreachable behavior.refs/pull/N/headbehavior.mainorstaging.ELI5:
extras.txtcan now name either an upstream PR or a safe branch on the fork; the composer fetches the right source and merges it into staging.Test Plan
uv run --frozen --extra dev python -m pytest .github/scripts/personal-staging/— 59 passed.uv run --frozen --extra dev pre-commit run --files .github/scripts/personal-staging/stage.py .github/scripts/personal-staging/test_stage.py .github/scripts/personal-staging/extras.txt— passed.Demo
N/A
Type of change
Test coverage
Coverage notes
Unit coverage includes
branch:homelabparsing; rejection of option-like, self-referential, malformed, shorthand-expanded, and unknown-prefix entries; fork resolution with SHA reporting; and missing-branch handling.Changelog
Personal staging extras can pin validated branches from the configured fork remote.