Skip to content

Autoplan creates pending GitHub Check regardless of project changes since v0.33 #5630

@artych

Description

@artych

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.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Overview of the Issue

Starting from v0.33, we've observed that a GitHub CI check is deliberately created in the "pending" state during the autoplan run, regardless of whether any projects have changed files. Prior to v0.33, a check status was only created if changes were detected in one or more projects.

Looking at the v0.33 changes, we suspect this behavior is a side effect of PR #5242. Previously, the creation of the check status was gated behind the condition if len(projectCmds) > 0, but this logic appears to have been removed in that update.

Perhaps this is an intentional change, but we haven’t found any mention or documentation of it in the release notes or related discussions. Clarification would be appreciated.

Reproduction Steps

Reproducing the issue should be straightforward. We've consistently seen the atlantis/plan check remain in a pending state on every pull request since upgrading to v0.33.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions