Repository navigation
codegen-orchestrator-1711: Fetch checkout default and story refs together - #851
Merged
Merged
Conversation
The checkout reads the remote default and the story branch from one ls-remote, fetches the advertised refs in one native fetch, then keeps the non-force upstream push and exact readback: four remote Git calls instead of five. An advertised branch that vanishes fails the fetch instead of becoming an absent-branch success.
git branch refuses a repository whose HEAD is outside refs/heads, so the unusable-default test reads refs/heads/story/no-default with for-each-ref.
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.
What
Candidate: branch pipeline/codegen-orchestrator-1711, commit b9cbc90, tree 69ec8d0b735317684bef99a31ea6c9b501e8bb9d, based on main caf0507. One commit, no AI trailer. TASK.md not committed.
Why
Prepare a developer workspace with one fetch of the current default branch and the story branch, reducing the ordinary checkout path from five remote Git calls to four while retaining publication and exact remote readback. This advances sprint1496 d6 in codegen_orchestrator only.
How verified
CI runs
Backend Docker-in-Docker Integration Tests,Build Service Image Candidates,Build Worker Base Image Candidates,CI Contract,Detect Changed Services,Fast Checks (Unit Tests),Lint (Ruff),Publish Service Image Release,Publish Worker Base Images,Required CI Gate,Service Image Entrypoint Importsonb9cbc9068354; the merge waits for them to pass.Card:
codegen-orchestrator-1711