syntaqxA run that is still going offers Cancel run, and not the re-runs, on every page of it. Which buttons a run's page shows is worked out in one place (runControls, lib/run-controls.ts): the run is going while its latest attempt is, as the attempt list's last entry says, whichever attempt the page shows, and on the latest attempt a job that has not finished (waiting for the jobs it needs, held for an environment's approval, queued for a runner, running) keeps it going whatever the run's own status says. So an earlier attempt's page, and its ?job= links, offer Cancel run while a later attempt runs, where they offered nothing, and keep refreshing until it ends; the re-runs show only on the latest attempt of a finished run. A page left open on a finished run asked for nothing and heard nothing when the run was re-run from somewhere else (the API, the MCP tool, another tab): it kept showing the attempt that had ended, with its Re-run buttons and no Cancel run, until a job of the new attempt started or finished. A re-run now tells pages open on the run, as a job starting or finishing does. The run view's status for its current attempt is read by one function (shown_status), with tests that a job queued for a self-hosted runner leaves its run in progress and a job held at an environment makes it wait. The Actions guide says when Cancel run shows.73a1fc9History
- ..
- abilities-prompt.ts
- abilities.test.ts
- abilities.ts
- access.test.ts
- access.ts
- archived.test.ts
- archived.ts
- audience.ts
- budget.test.ts
- budget.ts
- builder-call.ts
- builder.test.ts
- builder.ts
- builtin.ts
- card-views.ts
- cards.test.ts
- cards.ts
- computer.test.ts
- computer.ts
- connectors.test.ts
- connectors.ts
- customize-fetch.ts
- customize-rpc.ts
- customize.test.ts
- definition.test.ts
- definition.ts
- desk.ts
- effort.test.ts
- file-markdown.ts
- files.test.ts
- files.ts
- handle.test.ts
- handle.ts
- handoff.test.ts
- handoff.ts
- happened.ts
- index.ts
- installs.test.ts
- installs.ts
- marketplaces.ts
- mcp-client.ts
- memory.ts
- meter.ts
- money.ts
- ooxml.ts
- orchestrator.test.ts
- orchestrator.ts
- pdf.ts
- person-budget.ts
- plugins.ts
- policy.ts
- ports.ts
- prompt.test.ts
- prompt.ts
- recall.test.ts
- recall.ts
- recommend.test.ts
- recommend.ts
- reply.ts
- routines.ts
- routing.test.ts
- routing.ts
- schedule.ts
- sessions.test.ts
- sessions.ts
- skill-draft.ts
- skill-library.test.ts
- skill-library.ts
- skill-rpc.ts
- skill-zip.ts
- skills.test.ts
- skills.ts
- store.ts
- suggest.ts
- surface.test.ts
- surface.ts
- team-move.test.ts
- team-move.ts
- teammates.test.ts
- teammates.ts
- templates.ts
- tools.test.ts
- tools.ts
- transcript.ts
- triggers.test.ts
- triggers.ts
- turn.test.ts
- turn.ts
- views.ts
- welcome.test.ts
- welcome.ts