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
- ..
- about-json.ts
- actions-artifact.ts
- actions-badge.ts
- actions-job-log-download.ts
- actions-log.ts
- actions-logs-download.ts
- actions-run.tsx
- actions.tsx
- activity.tsx
- add-ci.ts
- agents-live.ts
- agents-run.tsx
- agents.tsx
- archive.ts
- audit-live.ts
- blob.tsx
- branch-names.ts
- branches.tsx
- check-run.tsx
- code.tsx
- commit.tsx
- commits.tsx
- compare.tsx
- contributors.tsx
- deployment.tsx
- deployments.tsx
- invitations.tsx
- issue-new.tsx
- issue.tsx
- issues.tsx
- labels.tsx
- layout.tsx
- memory.tsx
- milestone.tsx
- milestones.tsx
- notifications.ts
- overview.tsx
- plan.tsx
- plans.tsx
- production-elsewhere.ts
- production-screenshot.ts
- pull-new.tsx
- pull.tsx
- pulls.tsx
- queue.tsx
- raw.ts
- release-new.tsx
- release.tsx
- releases.tsx
- secrets.tsx
- security-advisories.tsx
- security-advisory-edit.tsx
- security-advisory.tsx
- security-code-alert.tsx
- security-code-setup.ts
- security-code.tsx
- security-graph.tsx
- security-overview.tsx
- security-patterns.tsx
- security-policy-setup.ts
- security-pull.tsx
- security-report.tsx
- security-reports.tsx
- security-sbom.ts
- security-secret.tsx
- security-secrets.tsx
- security-settings.tsx
- security-updates.tsx
- security.tsx
- session.tsx
- sessions.tsx
- settings-access.tsx
- settings-actions.tsx
- settings-agents.tsx
- settings-branches.tsx
- settings-deploy-keys.tsx
- settings-deployments.tsx
- settings-domains.tsx
- settings-environments.tsx
- settings-guardrails.tsx
- settings-mirroring.tsx
- settings-repository.tsx
- settings-rules.tsx
- settings-ruleset.tsx
- settings-runners.tsx
- settings.tsx
- soon.tsx
- star.ts
- stargazers.tsx
- tags.tsx
- tree.tsx
- usage.tsx
- webhooks.tsx
- why.ts