Skip to content

TechDebt: "go mod" and "go generate" CI checks conflicting #45257

@jar-b

Description

@jar-b

Description

There is a conflict between the "go mod" and "go generate" CI checks at the moment. The former thinks that github.com/dlclark/regexp2 should be removed when tidying modules, but the latter fails due to a missing dependency when it is.

Error: ../../generate/tagstests/main.go:24:2: no required module provides package github.com/dlclark/regexp2; to add it:
	go get github.com/dlclark/regexp2

Both of these checks occurred at various stages in #45251:

Failing deps check: https://github.com/hashicorp/terraform-provider-aws/actions/runs/19682533912/job/56379863155
Failing generate check: https://github.com/hashicorp/terraform-provider-aws/actions/runs/19683951474/job/56385565752?pr=45251

Important Facts and References

No response

Would you like to implement a relevant change?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesUsed to indicate dependency changes.generatorsRelates to code generators.github_actionsPull requests that update Github_actions codetechnical-debtAddresses areas of the codebase that need refactoring or redesign.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions