Commit Graph

1213 Commits

Author SHA1 Message Date
Test User
e5ea28d897 test: update test expectations to match fixed error messages 2025-06-27 12:34:55 -07:00
PePe Amengual
02ffb41cd6 fix: resolve remaining staticcheck linting issues
- Remove newline characters from error messages in step.go
- Change capitalized error messages to lowercase in multienv_step_runner.go and github_client.go
2025-06-27 12:22:14 -07:00
PePe Amengual
d13bb002b3 fix: resolve test failures after golangci-lint updates
- Fix terraform lock file checksum verification by updating with correct checksums for null provider v3.2.4
- Fix GitLab request parser validation errors by removing nolint comments from JSON test data
- Fix step validation error messages by adding missing newlines
- Fix MultiEnv step runner error messages by capitalizing 'Invalid'
- Fix GitHub client merge method error messages by capitalizing 'Merge method' and 'Specify'

All tests now pass successfully.
2025-06-27 12:11:55 -07:00
PePe Amengual
ad49a9bcfb fix: gofmt and staticcheck (ReplaceAll) compliance in test files 2025-06-27 12:02:38 -07:00
PePe Amengual
2976188568 fix: use strings.ReplaceAll for staticcheck compliance in event_parser_test.go 2025-06-27 12:00:44 -07:00
PePe Amengual
03467ec811 fix: address all remaining golangci-lint staticcheck issues (ReplaceAll, error strings, empty branches) 2025-06-27 11:58:40 -07:00
PePe Amengual
a87a4cbaaa fix: match error message formatting and lockfile version for go linter/test compatibility 2025-06-27 11:50:31 -07:00
PePe Amengual
392d5165a9 fix: resolve all linter issues for golangci-lint v1.54+
- Replace all strings.Replace with strings.ReplaceAll
- Fix all De Morgan's law and tagged switch issues
- Remove empty branches, clarify comments
- Fix error string capitalization and punctuation
- Use assert.Len for testifylint
- Remove embedded field selector warnings

This should allow golangci-lint to pass cleanly on the renovate branch.
2025-06-27 11:27:55 -07:00
PePe Amengual
7567b31ccd fix: resolve linter issues to enable golangci-lint update
- Fix all errcheck issues (unhandled errors for Close(), Fprintln, etc.)
- Fix gosec issues with appropriate nolint comments for test code
- Fix misspell issues and add nolint for GitLab API field names
- Fix revive issues (dot-imports in tests, missing package comments)
- Fix staticcheck and testifylint issues
- Add package comments where required by linter

This enables updating golangci-lint-action from v6 to v8 in the workflow.
2025-06-27 11:12:19 -07:00
renovate[bot]
f289ea9c7f chore(deps): update terraform null to v3.2.4 in server/controllers/events/testdata/test-repos/workspace-parallel-yaml/staging/versions.tf (main) (#5651)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-26 23:53:28 -04:00
renovate[bot]
e517f78fb4 chore(deps): update terraform random to v3.7.2 in server/controllers/events/testdata/test-repos/state-rm-single-project/versions.tf (main) (#5652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-26 23:49:44 -04:00
Luke Massa
8639729bd8 chore(deps): Convert go yaml to goccy yaml (#5579)
Signed-off-by: Luke Massa <lmassa@tripadvisor.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2025-06-26 20:26:39 +00:00
Osher De Paz
f0bb2b414b fix: Allow main branch invocation with merge strategy (#5617)
Signed-off-by: Osher De Paz <osher.depaz@island.io>
Co-authored-by: Marcus Bastian <marcus.bastian@rev.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
2025-06-19 09:10:50 -07:00
doodle
59f16ef868 fix: preserve Atlantis apply lock after plan (#5570)
Signed-off-by: yasinlachiny <your-email@example.com>
Signed-off-by: yasinlachiny <yasin.lachiny@gmail.com>
Co-authored-by: yasinlachiny <your_email@example.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
2025-06-18 16:23:05 -07:00
Francois Poinsot
a7c712b921 fix: gh-app merge (#5600)
Signed-off-by: francois poinsot <francois.poinsot@cognite.com>
2025-06-04 10:23:09 -07:00
Leonardo Quatrocchi
710fb06d05 feat: enable compatible change for legacy and new ADO url (#5596)
Signed-off-by: Leonardo Quatrocchi <leonardo.quatrocchi@caylent.com>
2025-05-28 16:04:02 -07:00
Hirotake Kobayashi
5dfe5f92a9 fix: Set Env variables when output: hide in multienv (#5319)
Signed-off-by: Hirotake Kobayashi <h.kobayashi@raksul.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
2025-05-23 22:57:11 -07:00
Ricard Bejarano
4a44c3cfb1 fix: Remove GitHub rate-limit client total sleep limit (#5591)
Signed-off-by: Ricard Bejarano <ribejara@thousandeyes.com>
2025-05-22 10:49:10 -07:00
Leandro López
375b429749 feat: add HTTP pprof endpoints (#5363)
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
2025-05-09 09:20:24 -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
RB
91293883fc ci(renovate): ignore server/controllers/events/testdata (#5468)
Signed-off-by: RB <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
2025-04-13 21:03:03 -07:00
Ricard Bejarano
6c129199d6 fix: only allow team slug support in --gh-team-allowlist by dropping support for ambiguous team names (#5510)
Signed-off-by: Ricard Bejarano <ricard@bejarano.io>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: RB <7775707+nitrocode@users.noreply.github.com>
2025-04-12 17:39:21 -05:00
renovate[bot]
8067541c8a chore(deps): update terraform random to v3.7.1 in server/controllers/events/testdata/test-repos/state-rm-workspace/dir1/versions.tf (main) (#5527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 21:29:40 -04:00
renovate[bot]
b3b3f5ab43 fix(deps): update module github.com/google/go-github/v68 to v71 in go.mod (main) (#5522)
Signed-off-by: RB <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RB <7775707+nitrocode@users.noreply.github.com>
2025-04-11 01:52:03 -05:00
Moritz Weichert
7b40007c37 feat: Enable discard-approval-on-plan for gitlab (#5388) 2025-03-10 22:08:22 +00: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
Mathias Neerup
933940393d fix(apiController): Pass commitStatusUpdater to the APIController (#5323)
Signed-off-by: Mathias Mikkel Neerup <mane@tv2.dk>
2025-03-02 17:48:32 +00:00
Petr Bubenik
9b737b22cc fix: Add pagination to AzureDevops modified files call (#5298)
Signed-off-by: Petr Bubenik <petr.bubenik@drmax.eu>
2025-02-16 20:22:18 +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
Luke Massa
cf0b3f3295 chore: Add nil checks before returning wrapped error (#5309)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-02-11 00:10:58 -05:00
Alexey Kosenko
1f9b90e715 feat(post-workflow-hook): pass the result status of executed command to the post hook envs (#5308)
Signed-off-by: a1k0u <alko7enko@gmail.com>
2025-02-10 21:27:30 +00:00
Luke Massa
452040f606 fix: Unintentional nil errors in azuredevops client (#5312)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-02-08 18:44:35 -05:00
Luke Massa
e1dcc44918 chore: Refactor retries in gitlab set status (#5293)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-02-08 12:55:10 -05: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
16a9f10c5e chore: Add Close Calls to BoltDB Tests to fix Windows Test Errors (#5289)
Signed-off-by: X-Guardian <32168619+X-Guardian@users.noreply.github.com>
2025-02-04 20:02:26 +00:00
Luke Massa
c2c25aeef2 fix: Minor bug in determining teams for gitlab (#5294)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-02-02 22:32:50 -05:00
Luke Massa
aa4a98032e chore: Remove dependency on multierror (#5275)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-02-02 12:44:39 -05:00
Luke Massa
27007e8888 chore: Remove usage of errors.Cause (#5291)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-02-02 12:29:18 -05:00
Simon Heather
8157a8db24 fix: Workspace Error when include-git-untracked-files is true (#5288)
Signed-off-by: X-Guardian <32168619+X-Guardian@users.noreply.github.com>
2025-02-01 19:17:35 +00: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
Luke Massa
03ea1a1e1f chore: Remove some references to pkg/errors (#5270)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-01-27 22:11:10 -05:00
Joshua Spork
05659b8cdb feat: BitBucket Cloud: add support for webhook secrets (#4275)
Signed-off-by: Joshua Spork <almightyfoon@gmail.com>
2025-01-25 19:03:51 +00:00
Pierre Guinoiseau
90b1b13b71 feat: Add support for GitLab groups (#4001)
Signed-off-by: Pierre Guinoiseau <pierre@guinoiseau.nz>
2025-01-25 18:39:37 +00:00
Eka Cahya Pratama
e2eacdcd34 fix: Return correct status when using custom policy (#5156)
Signed-off-by: bakuljajan <eka.pratama@finaccel.co>
2025-01-25 17:30:38 +00:00
Edward
c864248ec2 feat: Enable hide-prev-plan-comments Feature for BitBucket Cloud (#4495)
Signed-off-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
2025-01-25 13:33:29 +00:00
Luke Massa
cbd70c9886 chore: Simplify use of the doublestar Match for ignore paths (#5272)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-01-24 16:25:44 -05:00
Luke Massa
7bc33378a8 feat: Add ignore path to autodiscover using glob (#5267)
Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
2025-01-23 18:03:22 -05:00
Piotr Pawluk
46e181e725 feat: add http webhook (#5233)
Signed-off-by: Piotr Pawluk <piotr.pawluk@zendesk.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
2025-01-22 19:39:20 -08:00
Lukas Aldershaab
6642a885b6 feat: Add rate limit handling for GitHub client (#5226)
Signed-off-by: Lukas Peter Aldershaab <lukas.aldershaab@lego.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
2025-01-22 00:08:00 -05:00
Clement Debiaune
69054861af feat: Trim backticks from MR comments (for Gitlab) (#5244)
Signed-off-by: Clement Debiaune <clement@yulife.com>
Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com>
Co-authored-by: Simon Heather <32168619+X-Guardian@users.noreply.github.com>
2025-01-21 20:56:22 -08:00