#6924·atlantis

bug: bare `atlantis apply` rejects the whole PR if any project errored or is already applied (since v0.46.0)

Author: jonanderson10Created Sep 24, 2026Updated Sep 24, 2026

Community Note

  • Please vote on this issue by adding a reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Overview of the Issue

After upgrading from v0.42.0 to v0.48.0, a bare atlantis apply fails without applying anything if any project on the PR doesn't have a successful plan. On v0.42.0 the successful plans were applied and the failed projects were skipped.

We get one of these errors, depending on which project is in a bad state:

plan for dir "services/standalone_elig" workspace "qa" project "standalone_elig" has status "plan_errored" and cannot be applied; run `atlantis plan`
plan for dir "services/remittance" workspace "qa" project "remittance" errored and cannot be applied without a plan file; run `atlantis plan`
plan for dir "services/operations_automation/change_of_address" workspace "qa" project "operations_automation_change_of_address" has status "applied" and cannot be applied; run `atlantis plan`

The third error means that once you apply one project with -p, bare apply stays blocked on that PR until everything is re-planned.

We don't use depends_on or abort_on_execution_order_fail. The check looks like validatePullStatusHasPlanFiles in server/events/project_command_builder.go, added in #6605 (v0.46.0). It returns at the first project with an errored or missing plan, which fails the whole command.

Reproduction Steps

  1. Use a repo with several projects and parallel_apply: true.
  2. Open a PR where one project's plan fails (a Terraform error, or a lock held by another PR) and the rest plan successfully.
  3. Comment atlantis apply. Nothing is applied and you get an error for the failed project.
  4. Comment atlantis apply -p <good project>. It applies.
  5. Comment atlantis apply again. Nothing is applied and you get has status "applied" and cannot be applied.

Logs

Redacted PR timeline (50 projects, 2 failed plans): https://gist.github.com/jonanderson10/ab6e0c33c27530f3d7a1da26fab21e5d

Environment details

  • Atlantis version: v0.48.0 (ghcr.io/runatlantis/atlantis:v0.48.0), upgraded from v0.42.0 with no config changes
  • Deployment method: AWS ECS, GitHub
  • Relevant server flags: ATLANTIS_ENABLE_REGEXP_CMD=true, ATLANTIS_PARALLEL_POOL_SIZE=3, ATLANTIS_SILENCE_NO_PROJECTS=true. --disable-apply-all is not set. No apply_requirements.
  • Repo atlantis.yaml (trimmed, ~170 projects):
    yaml
    version: 3
    parallel_plan: true
    parallel_apply: true
    projects:
      - name: standalone_elig
        dir: ./services/standalone_elig
        workspace: <workspace>   # replaced with the base branch by a pre_workflow_hook
        execution_order_group: 699
      - name: remittance
        dir: ./services/remittance
        workspace: <workspace>
        execution_order_group: 699

Additional Context

  • Similar feature requests: #2325, #3042. v0.42.0 already behaved this way for us.
  • Possibly related: #6790, #6848, #6849 (0.48 plan verification changes).
  • Not duplicates: #6641, #6843, #6642.
  • Request: have bare apply skip projects without a valid plan (and projects already applied), report them, and apply the rest. If the new default is intentional, an opt-in (e.g. continue_on_plan_failure) would work for us.