-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locked by another command is not visible as pending #1847
Comments
is this still happening with |
just tested on |
I face the same issue today ! Any update? |
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month.' |
I have this issue on 0.22.3 With parallel plan/apply disabled |
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month.' |
The message comes from TryLock function atlantis/server/events/working_dir_locker.go Lines 77 to 95 in dfe6ee0
Here are all the references to that function https://github.com/search?q=repo%3Arunatlantis%2Fatlantis+TryLock&type=code I'd imagine it all starts at the pre workflow run's RunPreHooks function atlantis/server/events/pre_workflow_hooks_command_runner.go Lines 60 to 65 in dfe6ee0
Which is then called from these locations... But from looking at these, it seems it catches the error, skips over them, and runs the command anyway atlantis/server/events/command_runner.go Lines 166 to 174 in dfe6ee0
atlantis/server/events/command_runner.go Lines 290 to 298 in dfe6ee0
More code diving is needed. This is to get someone started. |
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month.' |
Hello,
While using github, when a plan is in progress and another plan is triggered, manually or especially by a new commit when iterating on the PR, Atlantis send the following comment :
and set the check status as
failed
.it's disturbing because the user cannot be sure that something is really still in progress, depending on when he is browsing the PR.
I think Atlantis should set the check as
pending
, so it's clearly visible that the user should wait.The text was updated successfully, but these errors were encountered: