fix: recover Forgejo task claims after lost fetch responses #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "recover_loss"
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?
Persist a fetch request key before contacting Forgejo and reuse it after
transport or decoding failures and controller restarts. Clear the journal
only after every returned claim is checkpointed, and reconcile recorded
claims without executing them again. Make the HTTP timeout configurable,
with a 30-second default and matching NixOS option.
Publish logs with a nonempty terminal diagnostic before reporting task
completion. Persist publication progress so failures and lost responses
can retry across restarts, including jobs with no workflow output. Mark
unexecuted steps as skipped when the engine never reported execution.
Validate with the full Rust test suite, strict Clippy, formatting, the
NixOS module check, and flake evaluation. Tests model Forgejo 15.0.9 fetch
recovery and log publication behavior; live deployment was not tested.
Historical claims made without request keys still need server-side care.
Refs: #5
Pull request closed