Seen on: component/git-history
What it fixes
After the first server PR, a client can page through commits but cannot list the branches and tags to choose from. This piece adds one read that returns a page of local branches, remote branches, or tags, with a search filter, bounded and streamed so a repository with thousands of refs cannot flood the connection.
Why we need it
It is PR 2 of the series in the Git History series issue (#8). It is the read the branches pane depends on, and it carries its own snapshot and cursor logic, which deserves its own review.
How to fix it
Cut a fresh branch on top of the first server piece carrying the ref listing read, its snapshot and cursor handling, its contract, its permission scope, and its tests. The default-branch defect is fixed in this piece rather than carried. The PR description states the end state from the series issue. Deferred: changed files, diffs, and everything under the web app.
Seen on: component/git-history
What it fixes
After the first server PR, a client can page through commits but cannot list the branches and tags to choose from. This piece adds one read that returns a page of local branches, remote branches, or tags, with a search filter, bounded and streamed so a repository with thousands of refs cannot flood the connection.
Why we need it
It is PR 2 of the series in the Git History series issue (#8). It is the read the branches pane depends on, and it carries its own snapshot and cursor logic, which deserves its own review.
How to fix it
Cut a fresh branch on top of the first server piece carrying the ref listing read, its snapshot and cursor handling, its contract, its permission scope, and its tests. The default-branch defect is fixed in this piece rather than carried. The PR description states the end state from the series issue. Deferred: changed files, diffs, and everything under the web app.