Skip to content

docs: align cancel + failure-billing wording with the API - #60

Merged
a-essawy merged 2 commits into
mainfrom
docs/cancel-running-alignment
Jul 31, 2026
Merged

docs: align cancel + failure-billing wording with the API#60
a-essawy merged 2 commits into
mainfrom
docs/cancel-running-alignment

Conversation

@a-essawy

Copy link
Copy Markdown
Contributor

Two accuracy fixes against current API behavior:

  • cancel_job cancels running jobs too on every surface, and stops the upstream execution. The tool table said waiting/dispatched only.
  • The job lifecycle page claimed a timed-out job "is not charged". Under bill-by-who-consumed that's only true for a job that never started (RUNNER_TIMEOUT); a job that ran past its plan limit fails with JOB_TIMEOUT and is billed for the compute it consumed. The state diagram also gains the running -> cancelled edge.

Wording only, no structural changes.

a-essawy added 2 commits July 28, 2026 09:33
- cancel_job cancels running jobs too (and stops the upstream execution)
- job lifecycle: running -> cancelled edge; timeout billing corrected
  (JOB_TIMEOUT consumed compute and is billed; RUNNER_TIMEOUT never
  started and is not charged)
@a-essawy
a-essawy merged commit 854d458 into main Jul 31, 2026
1 check passed
@a-essawy
a-essawy deleted the docs/cancel-running-alignment branch July 31, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant