Support Kennel PR preview retries #2
Labels
No labels
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/collar#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Support
collar kennel retry --pr NUMBER, including fork PRs, once Kennel exposes an authenticated retry endpoint.Forgejo webhook tests always send push events; Kennel previews require pull-request events. The current command rejects PR retries rather than rebuilding the wrong target.
Kennel needs to authorize repository access, resolve the PR head, reject an unexpected SHA, and requeue the failed or cancelled preview without duplicate builds. Its response should identify the build and state.
Collar should use that endpoint with the inspected head SHA and distinguish an accepted retry from a confirmed build start.