Fail when counter writes are rejected #1

Merged
stephen merged 1 commit from fix-counter-write-failures into main 2026-06-08 05:12:39 +00:00
Owner

The counter strategy must not continue when Forgejo rejects the variable update. Previously the action discarded the PUT or POST response, so a failed counter write could still emit a build number and let the release continue with stale state.

This captures the write response, fails the action on non-2xx responses, and adds an integration regression for a rejected counter write.

Verification: make all

The counter strategy must not continue when Forgejo rejects the variable update. Previously the action discarded the PUT or POST response, so a failed counter write could still emit a build number and let the release continue with stale state. This captures the write response, fails the action on non-2xx responses, and adds an integration regression for a rejected counter write. Verification: make all
Fail when counter writes are rejected
All checks were successful
test / unit (pull_request) Successful in 7s
17c904837e
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rasterstate/fjord-version-bump-action!1
No description provided.