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
- ..
- 0001_init.sql
- 0002_own_provider.sql
- 0003_subscriptions.sql
- 0004_sandbox_time.sql
- 0005_limits.sql
- 0006_prices.sql
- 0007_pending_usage.sql
- 0008_accounts.sql
- 0009_autopay.sql
- 0010_month_close.sql
- 0011_limit_warnings.sql
- 0012_stripe_webhooks.sql
- 0013_invoices_trust_sales.sql
- 0014_custom_domain_price.sql
- 0015_sandbox_at_cost.sql
- 0016_plans_and_pools.sql
- 0017_flagon_comped.sql
- 0018_one_plan.sql
- 0019_closed_workspaces.sql
- 0020_syntaqx_standard.sql
- 0021_no_quotas.sql
- 0022_costs_and_margin.sql
- 0023_one_operation_mapping.sql
- 0024_spend_caps.sql
- 0025_run_tier.sql
- 0026_ledger_by_workspace_time.sql
- 0027_stripe_cache.sql
- 0028_drop_stripe_webhooks.sql
- 0029_audit_retention.sql
- 0030_token_usage.sql
- 0031_package_storage.sql
- 0032_workspace_value.sql
- 0033_given_away.sql
- 0034_given_by_why.sql
- 0035_cf_subscriptions.sql
- 0036_model_costs_in_full.sql
- 0037_security_activation.sql
- 0038_staff_credits.sql
- 0039_discounts_not_comped.sql
- 0040_ai_credit.sql
- 0041_agent_rate_own_key.sql
- 0042_agent_rate_weights.sql
- 0043_tax_and_card_fees.sql
- 0044_cache_reads_count_a_tenth.sql
- 0045_gateway.sql
- 0046_reset_costs.sql
- 0047_gateway_formats.sql
- 0048_model_catalogue.sql
- 0049_superseded_proposals.sql
- 0050_ledger_usage_by_time.sql
- 0051_platform_guardrails.sql
- 0052_cloudflare_cycle.sql
- 0053_models_at_cost.sql
- 0054_agent_attribution.sql
- 0055_app_containers.sql