Skip to content

Extend start-proxy.yml to test multiple registry support#3792

Merged
mbg merged 7 commits intomainfrom
mario-campos/issue-1664
Apr 1, 2026
Merged

Extend start-proxy.yml to test multiple registry support#3792
mbg merged 7 commits intomainfrom
mario-campos/issue-1664

Conversation

@mario-campos
Copy link
Copy Markdown
Contributor

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Which use cases does this change impact?

Workflow types:

  • Advanced setup - Impacts users who have custom CodeQL workflows.
  • Managed - Impacts users with dynamic workflows (Default Setup, Code Quality, ...).

Products:

  • Code Scanning - The changes impact analyses when analysis-kinds: code-scanning.
  • Code Quality - The changes impact analyses when analysis-kinds: code-quality.
  • Other first-party - The changes impact other first-party analyses.

Environments:

  • Testing/None - This change does not impact any CodeQL workflows in production.

How did/will you validate this change?

  • End-to-end tests - I am depending on PR checks (i.e. tests in pr-checks).
  • Other - The jq command was manually tested to ensure that it behaves as expected.

If something goes wrong after this change is released, what are the mitigation and rollback strategies?

  • Development/testing only - This change cannot cause any failures in production.

How will you know if something goes wrong after this change is released?

  • Other - If something goes wrong with the modification to the test, I expect the test to fail.

Are there any special considerations for merging or releasing this change?

  • Special considerations - As this PR modifies to the test to support multiple private registries of the same kind, we should first ensure that the code supports that feature before merging this PR. Otherwise, the test may fail until support is added.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

@github-actions github-actions bot added the size/XS Should be very easy to review label Mar 31, 2026
@mbg
Copy link
Copy Markdown
Member

mbg commented Mar 31, 2026

@mario-campos You need to re-generate the actual workflow files from the updated template by running ./sync.sh in the pr-checks folder.

@mario-campos mario-campos marked this pull request as ready for review March 31, 2026 17:50
@mario-campos mario-campos requested a review from a team as a code owner March 31, 2026 17:50
Copilot AI review requested due to automatic review settings March 31, 2026 17:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the start-proxy pr-check to exercise “multiple registries of the same type” by configuring two Maven registries and asserting that the action’s proxy_urls output contains both entries.

Changes:

  • Switch registry_secrets in the start-proxy pr-check from a single NuGet registry to two Maven registries.
  • Add a workflow assertion intended to verify proxy_urls includes both configured registries.
  • Regenerate the corresponding __start-proxy.yml workflow to reflect the pr-check template change.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
pr-checks/checks/start-proxy.yml Expands the start-proxy test to configure multiple Maven registries and adds validation of proxy_urls.
.github/workflows/__start-proxy.yml Generated workflow updated to match the pr-check template change.

mbg
mbg previously approved these changes Mar 31, 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.

LGTM, thanks for improving the step name!

@mbg mbg added this pull request to the merge queue Apr 1, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2026
@mbg mbg added this pull request to the merge queue Apr 1, 2026
Merged via the queue into main with commit 34950e1 Apr 1, 2026
225 checks passed
@mbg mbg deleted the mario-campos/issue-1664 branch April 1, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Should be very easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants