Correct Actions cancel API fallback wording #277
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?
The current
fj run cancelfallback says Forgejo has no rerun/cancel API when a token-authenticated web action returns 404. Forgejo now hasPOST /repos/{owner}/{repo}/actions/runs/{run_id}/cancelon servers that advertise run-cancel capability; Fjord iOS and Android gate their calls on that capability. The CLI still uses a web action and run URL fallback.Update the CLI comment and fallback text so they describe the unavailable token-authenticated web action without claiming the REST cancel endpoint does not exist. Decide separately whether
fj run cancelshould call the capability-gated REST endpoint. The shared contract update is tracked in rasterstate/fjord-client-spec#45.Evidence:
src/api/workflow_run.rsatea895679888fe0d23c974961796a6f78a00be553, Fjord iOSFjord/Features/Actions/CancelActionRun.swiftatf5162ece359d4a88ee445009ea1c79c532a264f1, and Fjord AndroidActionRunDetailViewModel.ktatc8415dc89ff05999d9b3d007a308fdb3603f0ca6.