Skip to content
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

[MAINT]: github.com/golangci/golangci-lint updates blocked by failing lints #1616

Closed
1 task done
kfcampbell opened this issue Mar 23, 2023 · 2 comments
Closed
1 task done
Labels
Status: Stale Used by stalebot to clean house Status: Triage This is being looked at and prioritized Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR

Comments

@kfcampbell
Copy link
Member

Describe the need

See #1614 and other automated dependabot PRs. The last working version of github.com/golangci/golangci-lint is v1.41.1 with the project. After that, all runs of make lint fail with the following error:

level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildir: failed to load package configload: could not load export data: no export data for \"github.com/hashicorp/terraform-plugin-sdk/internal/configs/configload\""
level=error msg="Running error: 1 error occurred:\n\t* can't run linter goanalysis_metalinter: buildir: failed to load package configload: could not load export data: no export data for \"github.com/hashicorp/terraform-plugin-sdk/internal/configs/configload\"\n\n"
make: *** [GNUmakefile:24: lint] Error 3
Error: Process completed with exit code 2.

This issue is reproducible locally.

SDK Version

N/A

API Version

N/A

Relevant log output

make lint
  shell: /usr/bin/bash -e {0}
==> Checking source code against linters...
golangci-lint run ./...
level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildir: failed to load package configload: could not load export data: no export data for \"github.com/hashicorp/terraform-plugin-sdk/internal/configs/configload\""
level=error msg="Running error: 1 error occurred:\n\t* can't run linter goanalysis_metalinter: buildir: failed to load package configload: could not load export data: no export data for \"github.com/hashicorp/terraform-plugin-sdk/internal/configs/configload\"\n\n"
make: *** [GNUmakefile:24: lint] Error 3
Error: Process completed with exit code 2.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@kfcampbell kfcampbell added Status: Triage This is being looked at and prioritized Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR labels Mar 23, 2023
@nickfloyd nickfloyd moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Active Mar 24, 2023
@nickfloyd nickfloyd mentioned this issue Nov 30, 2023
4 tasks
Copy link

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

@github-actions github-actions bot added the Status: Stale Used by stalebot to clean house label Dec 19, 2023
@kfcampbell kfcampbell removed the Status: Stale Used by stalebot to clean house label Dec 19, 2023
Copy link

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

@github-actions github-actions bot added the Status: Stale Used by stalebot to clean house label Sep 15, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2024
@github-project-automation github-project-automation bot moved this from 🔥 Backlog to ✅ Done in 🧰 Octokit Active Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Used by stalebot to clean house Status: Triage This is being looked at and prioritized Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR
Projects
None yet
Development

No branches or pull requests

1 participant