docs(adr): Commit Status Handling ADR #4448
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
what
This Architecture Decision Record tackles the problem of handling the Commit Status in the different VCSs. It describes the context and problem and will further discuss the pros and cons of the chosen solution.
Please add your comments and suggestions to the PR. We will need input from users of all the different supported VCSs.
why
The current implementation of the Commit Status has some bugs and needs to be clarified for some of the VCSs. The first step to fixing the bugs and aligning the different VCS implementations is defining the expected behavior.
references
The following lists represent all the issues I found related to the problem. These already give a good understanding of the problem, what is missing, and suggestions on how to fix it.
The following list shows all the open issues related to the problem:
atlantis/apply
job stays pending #2125Status cannot transition via \"run\"
when updating commit check status #2685atlantis/apply
check at0/0
which allows merging without applying #3852Expected - Waiting for status to be reported
-state when determining if a pull request is mergeable #4272atlantis apply
on Gitlab #4372There are also open issues not directly related to the problem at hand. However,
these give a better understanding of what is also needed to solve the problem:
atlantis/post_workflow_hook
topending
#3007The last list is features suggested by the community to enhance the capabilities
and allow them a better way of integrating Atlantis into their workflow:
atlantis apply
#4122terraform apply
a statues check on GitHub #4140