GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Include registry type in `proxy_urls` output by mbg · Pull Request #2672 · github/codeql-action

Conversation

@mbg

@mbg mbg commented Jan 6, 2025

Copy link
Copy Markdown
Member

This is a follow-up to #2652 to include the registry type in the proxy_urls output. Since private registry configurations are org-wide, we may end up with registry configurations in a given workflow run that are not relevant to the particular language being analysed. Including the feed type in the list of configured registries allows extractors to identify the ones that relevant to them.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mbg
Include registry type in proxy_urls output
97aec69
@mbg
mbg marked this pull request as ready for review January 7, 2025 12:05
Copilot AI review requested due to automatic review settings January 7, 2025 12:05
@mbg
mbg requested a review from a team as a code owner January 7, 2025 12:05
@mbg

mbg commented Jan 7, 2025

Copy link
Copy Markdown
Member Author

CI failures appear to be unrelated.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI reviewed Jan 7, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

lib/start-proxy-action.js:158

  • Ensure that the type field in credential objects is always defined and correctly populated. If it can be undefined, handle it appropriately.
type: credential.type,

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aeisenberg

aeisenberg commented Jan 7, 2025

Copy link
Copy Markdown
Contributor

CI failures appear to be unrelated.

CI will be passing with the release of v2.20.1 of the CLI.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aeisenberg
aeisenberg reviewed Jan 7, 2025
View reviewed changes
Comment thread src/start-proxy-action.ts
Comment on lines +177 to +180
.map((credential) => ({
type: credential.type,
url: credential.url,
}));

@aeisenberg aeisenberg Jan 7, 2025

Copy link
Copy Markdown
Contributor

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.

This changes the shape of the proxy_urls output. Previously, it was just an array of strings. Is there anything that consumes proxy_urls that will break because of this change?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@mbg mbg Jan 8, 2025

Copy link
Copy Markdown
Member Author

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.

I don't think so. I only added this before Christmas for a feature I am working on, and I don't expect anyone else to be using it yet. This action is also marked as experimental, so I wouldn't worry about this potentially being a breaking change externally.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aeisenberg reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@aeisenberg

aeisenberg commented Jan 7, 2025

Copy link
Copy Markdown
Contributor

Also, maybe the description of the output should be updated as well? https://github.com/github/codeql-action/blob/main/start-proxy/action.yml#L27.

mbg reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mbg
Update proxy_urls description
b25558b
aeisenberg
aeisenberg approved these changes Jan 8, 2025
View reviewed changes
@mbg
mbg merged commit fb65b6c into main Jan 8, 2025
@mbg
mbg deleted the mbg/start-proxy/include-type-in-urls-output branch January 8, 2025 18:30
This was referenced Jan 10, 2025
Merge main into releases/v3 #2681
Merged
Merge releases/v3 into releases/v2 #2683
Merged
@mbg mbg mentioned this pull request Mar 14, 2025
C#: Automatically use configured private registry feeds github/codeql#18850
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@aeisenberg aeisenberg aeisenberg approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@mbg @aeisenberg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.