Skip to content

Add tests for multiple Git sources and GoProxy servers in registry config parsing#21639

Merged
mario-campos merged 1 commit intomainfrom
mario-campos/test-go-registries
Apr 2, 2026
Merged

Add tests for multiple Git sources and GoProxy servers in registry config parsing#21639
mario-campos merged 1 commit intomainfrom
mario-campos/test-go-registries

Conversation

@mario-campos
Copy link
Copy Markdown
Contributor

This PR adds two additional tests to the Go extractor's test suite. The two new tests verify that a registry configuration with two identical registry-types ((git_source, git_source) and (goproxy_server, goproxy_server)) can be parsed.

Copilot AI review requested due to automatic review settings April 2, 2026 15:15
@mario-campos mario-campos requested review from a team as code owners April 2, 2026 15:15
@github-actions github-actions bot added the Go label Apr 2, 2026
Copy link
Copy Markdown
Member

@mbg mbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks ok to me, thanks! Bit disappointing that I only added tests for parsing the configs and not the further processing / environment variable construction that makes up the bulk of the work for this in the Go extractor. It would probably require some refactoring to make that code testable, so it's probably outside the scope of this work to add tests for that (unless you really want to in a separate PR).

@mario-campos mario-campos merged commit fb8b569 into main Apr 2, 2026
17 checks passed
@mario-campos mario-campos deleted the mario-campos/test-go-registries branch April 2, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants