Name the revision a bundle upload collided with #30
No reviewers
Labels
No labels
⏳in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grey.ooo/someones.computer_agent!30
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/name-the-revision-a-bundle-collided-with"
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?
The
schalf of the "at minimum" ask in Someones.Computer#792.BLOCKED on scclient#9
agent/vendorsscclient, soAPIError.Collision()does not exist here untilgo.modis bumped to a pseudo-version containing that commit andgo mod vendoris re-run. The bump is deliberately not in this PR — pinninggo.modat an unmerged branch commit is how a pin ends up on a commit that never lands. Sequence: scclient#9 → bump + re-vendor here → un-draft.What it does
A refused deploy ended like this:
The platform had already said which revision the digest matched — number, status and a URL — and
scprinted only the message. So the refusal read like a statement about the platform, when what it meant was this tree is already revision #2, and it is running. Now:409on this API is an ambiguous application slug, which names organizations instead.Verification
go build ./...,go vet ./...,go test ./...clean with the workspace (go.workresolvesscclientby path). The vendored build is what fails, per above.*APIError, and a collision without a URL still names the revision.internal/cli81.5% against a floor of 80.7%.coverage.floornot bumped — the figures are Linux numbers and this run is macOS.Note
After Someones.Computer#820 lands, this
409no longer fires for a failed revision at all — that case is now retried in place rather than refused. What remains is a collision with a revision that genuinely has been deployed, which is exactly the case where naming it and linking it is most useful.WIP: Name the revision a bundle upload collided withto Name the revision a bundle upload collided with