Skip to content

Conversation

@modular-magician
Copy link
Collaborator

This PR refactors how the meta.yaml files are processed in tests so that we're able to catch errors in loading the metadata (for example parsing errors like the one fixed by GoogleCloudPlatform/magic-modules#16100).

I wasn't sure how much of the logged errors are a contract that TGC's later parsing requires; I tried to keep the output as similar as possible.

I removed the "statistic" approach since at this point we need to expect 100% correctness in meta.yaml files.

Note: There are some metadata issues that will need to be fixed before this can be merged. I'll fix them in a follow-on commit, but for now they can serve to demonstrate that the logic works.

Primarily want review from @zli82016 on this as TGC owner, but cc @ScottSuarez if you want to verify that it all looks correct.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.


Derived from GoogleCloudPlatform/magic-modules#16102

…corp#16102)

[upstream:7b3c80397ef67c29e277f4561e7eb29da20c8353]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 45da9e9 into hashicorp:main Jan 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant