Skip to main content
Version: Organisations 1.2.8

Jobs, progress and failures

For administrators who install, update or delete Studio deployments, and anyone asked why a job stopped. Viewers read every job; retrying, resuming or abandoning needs the Owner or Operator tier or the DeploymentOperator Role.

Before you start: open Fleet, click a deployment and choose the Jobs tab, or follow "Waiting for you: resolve" from the Fleet. Each job has its own address (/fleet/<deployment>/jobs/<job id>), so it can be shared; older links with ?job=<job id> still open it, and a link with #step=<step id> (as Link to this step copies) opens that step.

Filter the job list​

Jobs ("Provisioning and update jobs for this deployment. Open a job to inspect its progress and outcome.") lists every job ever run against the deployment, newest first, 10 to a page. Filter by status (All statuses, Queued, Starting, Running, Waiting for approval, Waiting for input, Succeeded, Failed, Rolled back, Cancelled) and by type (All types, Install, Upgrade, Uninstall, Account wipe, Reconfigure, Rollback, Runtime limits). A reconfigure that only changed service sizes is labelled Service sizing. Show system cancellations (N hidden) reveals jobs cancelled automatically because another job held the deployment's slot.

Each entry shows the job type, its status, the failure headline (the code is in the hover) or how it was cancelled, the Job ID and when it Started. Click one to open it; Back to jobs returns. With filters that match nothing the list reads No jobs match these filters.

The list reads again every 15 seconds. If a read fails, The job history could not be read says what happened in the same words as the Fleet (When the fleet cannot be read); the jobs from the last read stay listed ("The jobs below may be out of date."), and Try again shows Trying again while a fresh request runs.

Read the running job​

For the job running now, Job progress shows the Job ID, the status line, Started by, when it Started (and Finished once it ends) and "N of M steps complete" with a progress bar. Below it, in order: a Waiting for you card if a step is parked, a failure card if it stopped, the cancel bar during a teardown's grace window (Deleting a deployment), Step history, and after an uninstall What was retained.

The status line reads Queued, Starting, Running, Succeeded, Failed, Rolled back or Cancelled, or "Waiting — N action(s) needed" while a step is parked; a re-run adds " · Attempt N". The view follows the job live and re-reads it at least every 30 seconds, so after a dropped connection it can be up to 30 seconds behind. If the job cannot be read, This job could not be read says what happened in the same words as the Fleet (When the fleet cannot be read); the steps from the last read stay in place ("The steps below may be out of date."), with "Last read at" and Try again, which shows Trying again while a fresh request runs and cancels a read still waiting. Each read gives up after 20 seconds, and the page reads again on its own when your network comes back. Any other job opens as "<Type> job" with " · finished, read-only" on a finished one, and the same cards and step history.

Step history ("Open a step to read its recorded details and logs.") lists the Provisioning steps, each as "Step N of M" with its status (Pending, Running, Waiting for you, Succeeded, Failed, Skipped) and elapsed time. Open a step for its attempt history, problems found, a parked prompt or an error code, and its log with Copy log and Download full log (<job id>-<step id>.log).

The Runtime limits and Service sizing jobs​

Applying runtime limits now, or a new service size, runs as an audited job (Runtime limits and service sizing). A Runtime limits job shows Preflight, Capture a restore point, Write runtime limits, Restart affected services, Wait for services, Verify runtime limits and Record the new configuration on the deployment. Each step says what it did: "{n} values for {services}", "{m} of {n} services stable", "Each service reports the new values". A service with no running task reads "{service} has no tasks running; its values apply when it starts." A value a service does not report is listed as applied, not verified; it is never shown as a mismatch.

An upgrade, a reconfigure and an install carry the same checks inside them: Check runtime limits (named Check runtime limits and service sizes on a sizing job) runs before the restore point, Write runtime limits and Verify runtime limits run beside the stack steps, and a Service sizing job is a reconfigure with those steps. The check lists each value set in AWS outside Organisations that the job replaces: "This job replaces {n} values set in AWS outside Organisations", each as "{label} ({key}) in {store}: {value in AWS} → {value Organisations writes}", with the way to keep the value ("To keep {value}, set it on the Runtime limits tab", "in Edit service sizing", or in the template named). Settings fixed when the deployment was created are listed separately as "This job keeps {n} settings changed in AWS as the stack holds them". A write step then reads "Replaced {n} values set outside Organisations", and Audit records each replaced value as Value set outside Organisations replaced (Audit). When a job removes the API allow-list, its check says so first: "API allow-list: {n} ranges → none". Where an Update schedule applies a template over a value, the record step reads "Replaced by template {name} version {n}", and a value you applied over a template reads "Applied over template {name} version {n}".

Started by names who started the job: a person, "Update schedule {name}", or Organisations. A job whose values changed after it started stops with "Values on this deployment changed after this job started. Start a new job." and changes nothing before its restore point. A schedule-started job that no longer applies when it reaches its check is cancelled with nothing changed: "Update schedule {name} no longer applied here when this job reached its check."

Recorded in Audit under a finished job names the action: "Runtime limits changed. One row for each limit, with its value before and after." or "Service sizing changed. One row for each service, with its size before and after." Open in Audit opens Audit.

When a service reports another value than the one written, the job ends "Rolled back: {service} reported {running} for {label}, so the previous values are back." If the previous values cannot be put back, it ends "Needs attention: the previous values could not be put back. {service} runs {running}; Organisations has {org}.", and the failure card offers Redo or Undo this job.

Narrowed ranges and Undo this job​

When an update to a release that narrows a range meets a value you set in Organisations, the job parks at its check, before the restore point, with Waiting for you: Studio {target} narrows a runtime limit (or "does not allow a service size set here", "no longer offers a runtime limit set here", "cannot keep {n} values as set"). Choose for each value: use the highest the release allows, remove the value and use the default (or the template's value), or enter or choose a value it accepts. Stay on Studio {running} ends the update with every value as it is, and Update schedules then skip that release on the deployment until you choose again on its Runtime limits or Configuration tab. Nothing is lowered automatically, and nothing in AWS has changed yet. The card says when the wait ends: if nobody chooses, the update ends and Update schedules skip that release until someone chooses again. Confirm becomes Confirm and resume now, or Confirm and continue at {time} for the next window; it stays unavailable until every value has a choice. A value changed by hand in AWS never parks a job: it is replaced.

Abandoning or cancelling a job that has passed its restore point rolls it back first. On its failure card the action reads Undo this job, and a waiting job's Abandon opens the same dialog. It shows what changes, every value set outside Organisations that it replaces, and every value set by hand in AWS that comes back: configuration secrets go back to the versions they held before the job, so such a value comes back until the next Organisations job replaces it, while stack settings return to the values Organisations recorded. The job reads cancelled only once the rollback has finished. If the rollback does not finish, the job stays failed with rollback_not_finished and names the rollback to Redo. A waiting job whose earlier attempt already changed the deployment says so, and continues now by default.

Answer a parked step​

A parked step is not a failure: the job waits for something only you can supply. The card is headed "Waiting for you: <what is awaited>", names the step ("Step: <step>"), shows the job's own prompt and who can unblock it, then one of:

  • Upload your SAML metadata (your identity-provider administrator): the values your identity administrator needs (Identifier (Entity ID), Reply URL (ACS URL), the required claims) and a field for SAML metadata (XML) or SAML metadata URL; Upload and resume.
  • Proceed despite failed readiness checks: acknowledge each failed preflight check, then Approve and resume (with Proceed anyway ticked) or Do not override.
  • Accept the Transit Gateway attachment (your network team, in the AWS account that owns the Transit Gateway): on a private deployment, the attachment request waits for your network team. The card shows the prompt ("Waiting for you: accept the Transit Gateway attachment ... Then choose I have accepted it.") and the Attachment ID, Transit Gateway, Owner account and VPC to match on. Once accepted, click I have accepted it; if it is still pending the job parks again. Stop the install (on an update or rollback, Stop this update or Stop this rollback) asks for confirmation, withdraws the request and ends the job; it cannot be resumed. This kind has no Abandon this job: the stop button is that decision (Private network access).
  • "Confirm a destructive action — this cannot be undone": a Confirmation field and Confirm and resume. No job type parks with this prompt today.

Every form records Your name or email. The card shows "Waiting for <duration>"; an expired park reads "the wait has expired. Start a new job; it will pause at the same point and wait again." Link to this step copies the shareable address. A rejection is final: the job fails with approval_rejected and cannot be resumed. Abandon this job asks Abandon this job for "<deployment>"? (Abandon job or Keep waiting), marks it cancelled and frees the deployment without changing anything in your AWS account.

Read a failure card​

The card is headed "<step> failed" (or This job failed), then shows the Step, the Reason and Who acts:

Who actsMeaning
Your organisation"Something on your side has to change before this can succeed": the target AWS account, your network or firewall, DNS, the identity provider, or the organisation's own credentials.
AlphaAgent"This needs AlphaAgent to act. Nothing in your account has to change": share the diagnostic ID with your AlphaAgent contact.
AWSA transient or capacity condition on the AWS side.
UnknownThe console could not tell; share the diagnostic ID with your AlphaAgent contact.

Next comes What to check: (the remediation, when your organisation acts) or Resumable with the next step, then What failed: with the specific resource, range, host or attachment, often written at the moment of failure. When AlphaAgent or AWS acts, Diagnostic ID has Copy, and Technical details opens the raw details (the failed resource, the denied action, or a DNS validation record as a NAME CNAME VALUE line). A card that cannot resume from where it stopped says Redo is offered instead; one that could never succeed reads "This failure cannot be retried. Retrying could not succeed, so it is not offered."

Every failure code, with its message and remediation, is on Failure codes.

Failure codes added in Organisations 1.2.8​

These four codes appear on the failure card of an uninstall, a Clear account, an install or update step, or a rollback. The first three can be resumed; the last cannot.

CodeWho actsResumableWhat it meansWhat to do
coder_workspaces_not_stoppedAWSYesSome coder workspaces did not stop, so the cluster they run on cannot be deleted yet.The workspaces that did not stop are named under What failed. If AWS refused a stop as access denied, re-run the account role template first. Then Resume: it stops any workspace still running and waits again for the ones still stopping. AWS usually stops a workspace within a minute or two.
coder_workspaces_not_checkedAWSYesClear account could not read a compute stack to find its cluster, so its coder workspaces could not be checked and that stack was not deleted.The stack and the error are named under What failed. If the read was refused as access denied, re-run the account role template first. Then Resume: it reads the cluster again and stops its workspaces before deleting the stack.
compute_stack_unreadableAWSYesThe deployment's compute stack could not be read, so the step could not find its cluster and changed nothing.CloudFormation usually answers again within a minute. Resume: the job reads the stack again before it changes anything. A permission refused on the read keeps its own code, access_denied_missing_action.
restore_point_cluster_not_this_deploymentsAlphaAgentNoA rollback's restore point lists services on a cluster that is not this deployment's, so the rollback changed nothing.An earlier Organisations release recorded this restore point, and the services it lists may belong to another deployment in the same AWS account. Do not roll back to it. To revert, deploy the previous release explicitly. If the deployment has no compute stack of its own, contact support before you deploy. Both clusters are named under What failed.

Pause, Resume, metrics and logs refuse before a job starts when the deployment has no compute cluster or its stack cannot be read (Deployment detail). A check step that finds too little room for coder workspaces is not a failure. The job completes, and the step reads "Completed with a warning: not enough room for every coder workspace" (Runtime limits and service sizing).

Resume, Redo, Wipe, Abandon or Undo this job​

The buttons under a failure card are the ones the server offers for that failure.

  • Resume and Redo open Confirm retry, headed "Retry from <step>". A resume lists the completed steps it skips; a redo re-runs every step, including those completed ("Each step is idempotent, so this is safe — just slower."). Choose Start the retry.
  • Wipe asks Wipe and restart: it tears down the deployment's CloudFormation stacks irreversibly and reinstalls from scratch; type the deployment name, then Start teardown.
  • Abandon asks "Abandon this <job type>?" ("Nothing in your AWS account is changed by abandoning …"): Abandon job marks the job cancelled, so another job can start; Keep it leaves it. Offered on every failed job that has not passed its restore point.
  • Undo this job takes the place of Abandon on a job that has passed its restore point (above).
  • Redo says which services restart again: "Redo runs every step again, including the {n} that already completed. {services} restart again."

With no action available the card says so and asks you to share the diagnostic ID with your AlphaAgent contact.

Where a failure comes from​

The Runtime limits, Service sizing and values codes (customer_values_unreadable, running_release_unreadable, runtime_limits_verify_mismatch, service_start_failed, rollback_not_finished, waf_permission_missing and the others) are on Failure codes; a failure before the restore point changes nothing in AWS. A permission refused on a direct call fails as access_denied_missing_action; one refused inside a stack fails as stack_resource_access_denied and resumes once the named role may perform the action; a failed readiness check parks the job instead (Failure codes).

What you should see​

  • A running job: the status line and "N of M steps complete" updating live, each step turning Succeeded in turn.
  • A parked job: the Waiting for you card at the top with the form for the answer; a failed job: the failure card naming who acts and offering Resume, Redo or Abandon.

Notes​

  • One job runs against a deployment at a time; another is refused with "Another job is already in flight for this deployment."
  • A retry is Resume or Redo; no step can be skipped. Wipe needs the permission to uninstall the deployment.
  • Preflight failures park the job with the check's own remediation; they are not failure codes.
  • A refused resume ("The server refused the resume (HTTP <status>).") means reload: someone else answered the park, or the job moved on.
  • A card that blames AlphaAgent needs no change in your account; share the Diagnostic ID.
  • A step that fails on every attempt it is allowed stops the job with step_attempts_exhausted. It cannot be resumed: each attempt started the step again and ended the same way, so share the Diagnostic ID with your AlphaAgent contact before the change is tried again.
  • On a private deployment the Edge stack steps read "Edge stack (not used by Private deployments)" and Skipped, and an existing public deployment's job shows the Private network step as Skipped; both are by design.
  • A resumable failure in Wait for services that is about the attachment or routes re-arms the Private network step, which reads "Runs again when the job is resumed."; Resume runs it again (a new request for a dead attachment, missing routes put back), then the wait.