Commit Graph

17 Commits

Author SHA1 Message Date
PePe Amengual
c372411b1d fix: prevent VCS status when silence enabled and no projects found
- Check for no projects before setting pending status in API controller
- When silence flags are enabled and no projects found, don't set any VCS status
- This results in no status checks appearing instead of success with 0/0 projects
- Addresses feedback that silence should mean no status checks at all
2025-08-27 10:11:35 -07:00
PePe Amengual
07e6c37d32 fix: format code with gofmt to resolve linting issue 2025-08-26 15:05:59 -07:00
PePe Amengual
9d6e555be2 fix: apply silence VCS status logic to API controller
Similar to plan_command_runner.go, when no projects are found and
silence flags are enabled, clear pending status to avoid leaving
PR checks stuck in pending state.

Addresses review feedback in PR #5713.
2025-08-26 14:04:31 -07:00
Andrew Carter
dcae47bddb fix: parallel plan and apply also in a single workspace (rebased) (#5264)
Signed-off-by: Andrew Carter <andrew@emailcarter.com>
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
Co-authored-by: Finn Arne Gangstad <finnag@gmail.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
Co-authored-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-04-22 13:57:17 -04:00
Simon Heather
4bea4e934a chore: Add Struct required tags and Server Struct Validator (#5371)
Signed-off-by: X-Guardian <32168619+X-Guardian@users.noreply.github.com>
2025-03-09 11:34:48 +00:00
Patrick Vinograd
1f83f13cb5 feat: New API endpoint to list locks (#5328)
Signed-off-by: Patrick Vinograd <patrick.vinograd@devoted.com>
2025-02-16 15:49:05 +00:00
Hajime Terasawa
766dac9022 fix: ensure cloning workingdir before calling plan api (#3584)
Signed-off-by: Hajime Terasawa <terako.studio@gmail.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
2025-02-04 21:33:41 -08:00
Simon Heather
be06063668 fix: Pre Workflow Hook VCS Combined Status Check Set to Pending Twice (#5242)
Signed-off-by: X-Guardian <32168619+X-Guardian@users.noreply.github.com>
2025-02-01 19:12:54 +00:00
Simon Heather
e468a23e0b feat: Refine the Atlantis Info Message Logging (#5034)
Signed-off-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
2024-11-19 12:54:55 -05:00
Rui Chen
37580ba79e chore: bump to use go 1.23.0 (#4843)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-08-15 11:55:48 -04:00
Xing Yahao
267b2f133b feat: make api plan apply support workflow hooks (#4482)
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-05-01 09:06:35 -07:00
Simon Heather
67b5740053 feat: Refine The Atlantis VCS Logging Configuration (#4285)
* Refine VCS Logging

* Remove github/gitlab client logger

* Remove fmtLogSrc from instrumented_client and format

* Add staticcheck lint exception for NewGitHubClient

* Fix tests
2024-02-26 13:07:41 -05:00
nitrocode
79500182db chore(deps): bump tally to v4 (#3498) 2023-06-08 21:57:46 -04:00
Ken Kaizu
692ceae171 upgrade go-playground/validator from v9 to v10 (#2863)
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
2022-12-23 11:26:07 -06:00
Rui Chen
b5e985c158 lint: remove deprecated io/util package (#2503)
As of go1.16, io/util package has been deprecated

See issue, https://github.com/golang/go/issues/42026

Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-08 13:45:00 -04:00
Jack Lindamood
71233ef3b6 Allow manual PR number (#2465)
Resolves #2464
2022-08-22 11:59:16 -07:00
Rémi Lapeyre
b409cb8470 Add the /plan and /apply endpoints (#997)
* Add the /plan and /apply endpoints

* Resolve conflicts

* Fix wrong merge

* Add missing methods for mocks

* Fix linting error

* Fix linting error

* Move api plan/apply into APIController

* Extract commond code into helper functions

* Implement GetCloneURL for GitHub

Co-authored-by: Li Lin <li.lin@hashicorp.com>
2022-07-27 11:36:49 -07:00