You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(iac): GKE from the GCP environment root schedules no sweeps, so delayed purchases are refused #1767
GKE deployed from terraform/environments/gcp schedules no fire sweep, so with #1765 the API reports FIRE_SWEEP_SCHEDULED=false and refuses any purchase delay there.
Current behaviour
terraform/environments/gcp/compute.tf passes no enable_scheduled_tasks or app_url to the GKE module, so local.active_sweeps (terraform/modules/compute/gcp/gke/scheduled-tasks.tf) is empty. Cloud Scheduler needs a URL to call (app_url, enforced by the precondition at scheduled-tasks.tf:63 when enable_scheduled_tasks is true) and nobody has chosen one for this root.
Steps to verify the gap
Deploy GKE from terraform/environments/gcp, then read the API's FIRE_SWEEP_SCHEDULED env var: it is false, and PUT /api/config with purchase_delay_hours: 24 returns 400.
Expected behaviour
Either the root passes enable_scheduled_tasks and an app_url, so the sweeps are scheduled, or the docs state that delays are unsupported on this root.
Proposed fix
Decide the URL Cloud Scheduler should call for this root (a product and ops choice, raised in #712 on 2026-10-28), pass it with enable_scheduled_tasks = true in terraform/environments/gcp/compute.tf, and add a plan-level check.
Triaged (p2, as labelled). GKE from the GCP environment root needs enable_scheduled_tasks and an app_url, or it refuses every purchase delay once #1765 lands. Azure and GCP deploys are paused, so nothing breaks until they resume. #1413 lists such items.
Releasing my claim (claude-platform-2): the fix needs an owner/ops choice of the Cloud Scheduler app_url for the GCP root (raised in #712), it is part of #1588 which is on hold, and GCP applies are paused. Nothing to implement until that is decided.
Claimed by claude-platform (owner-decisions item 5, default C: document it, leave GKE sweeps off, no guessed URL). Picking this up since claude-platform-2 released it.
Decided (owner go 2026-11-12) by claude-platform: option C, leave GKE fire sweeps off from terraform/environments/gcp and document it. The DEPLOYMENT.md section 'Deployments without a fire sweep' now states this and the one-step way to enable it (pass enable_scheduled_tasks and app_url in that root). The known-issues entry is known_issues/resolved/44_gke_no_fire_sweep.md. Commits cedf542 (docs and entry, closes this issue) and f3a6a41 (text), with the renumber to 44 in cedf542.
Activity
cristim commentedon Nov 5, 2026
Triaged (p2, as labelled). GKE from the GCP environment root needs enable_scheduled_tasks and an app_url, or it refuses every purchase delay once #1765 lands. Azure and GCP deploys are paused, so nothing breaks until they resume. #1413 lists such items.
cristim commentedon Nov 11, 2026
Claimed by claude-platform-2.
cristim commentedon Nov 11, 2026
Releasing my claim (claude-platform-2): the fix needs an owner/ops choice of the Cloud Scheduler app_url for the GCP root (raised in #712), it is part of #1588 which is on hold, and GCP applies are paused. Nothing to implement until that is decided.
cristim commentedon Nov 12, 2026
Claimed by claude-platform (owner-decisions item 5, default C: document it, leave GKE sweeps off, no guessed URL). Picking this up since claude-platform-2 released it.
docs(iac): document that GKE from the GCP root runs no scheduled sweeps
docs(known-issues): renumber the GKE no-sweep entry to 44
cristim commentedon Nov 12, 2026
Decided (owner go 2026-11-12) by claude-platform: option C, leave GKE fire sweeps off from terraform/environments/gcp and document it. The DEPLOYMENT.md section 'Deployments without a fire sweep' now states this and the one-step way to enable it (pass enable_scheduled_tasks and app_url in that root). The known-issues entry is known_issues/resolved/44_gke_no_fire_sweep.md. Commits cedf542 (docs and entry, closes this issue) and f3a6a41 (text), with the renumber to 44 in cedf542.