-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Turn go mod vendor
back on in the Magician
#1601
Conversation
How long has this issue been happening? |
Presumably since that change, #1597 is the first one we noticed I think. We've held most vendor changes because |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in terraform-provider-google-beta. New Pull RequestsI built this PR into one or more new PRs on other repositories, and when those are closed, this PR will also be merged and closed. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in terraform-provider-google-beta. New Pull RequestsI didn't open any new pull requests because of this PR. |
@rambleraptor and I were just talking. Another issues that neither of these command will catch brand new files (unstaged changes). Given that most vendoring is needed when whole new hand written resources are added it will miss more needed vendor changes than catch. I think our options are:
|
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in terraform-provider-google-beta. New Pull RequestsI didn't open any new pull requests because of this PR. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in terraform-provider-google-beta. New Pull RequestsI didn't open any new pull requests because of this PR. |
So, ideally we wouldn't see any changes but I think what's happening is that MM hasn't picked up on the patch for signed url key in the mapper repo: https://sunrisecafe.ci.cloud-graphite.com/teams/magic-modules/pipelines/magician/jobs/mm-generate/builds/2451#L5c8852bd:237 |
The changes look fine in the validator because I think vendor wasn't running at all before, so it's removing unused dependencies. |
Right! The changes are correct, but we don't expect them to be made because there's no changes in Terraform, so that means our skipping functionality isn't working. But I don't think that's true, and that it does work correctly- I think this is a result of how our patch handling works, and that we'll have false positives from time to time. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in terraform-provider-google-beta. New Pull RequestsI didn't open any new pull requests because of this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense.
aeea057
to
ed089e3
Compare
This doesn't run when there are changes, so let's re-enable it for everything.
Reverses #1428
/cc @rambleraptor
[all]
[terraform]
[terraform-beta]
[ansible]
[inspec]