GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Select CodeQL bundles from a release by henrymercer · Pull Request #4172 · github/codeql-action Conversation
Contributor
Add
A job can use a per-language bundle if the
This changes the default path when we look up a release, which we do unless we're running the canonical Action on github.com:
Otherwise, This also renames Commit-by-commit review recommended as the behaviour changes to bundle selection are all in the last commit. Risk assessmentLow risk: On github.com with the canonical Action, we select the same bundles as before, and PR checks cover this. Elsewhere, the selected bundle only changes when a release we look up lacks the preferred bundle. Per-language bundles are still behind the Which use cases does this change impact?Workflow types:
Products:
Environments:
How did/will you validate this change?
If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsCo-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warning
Copilot review overview🟡 Changes recommendedRelease tags containing slashes are encoded incorrectly, producing potentially invalid release and download URLs. Get a fresh assessment by requesting another Copilot review. Review effort: Balanced Open (1)What changed in this PRAdds release-aware CodeQL bundle selection, including private releases, compression fallback, and per-language bundles. Changes:
Files excluded by content exclusion policy (1)
💡 Add a
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
henrymercer
marked this pull request as ready for review
mbg
self-requested a review
Co-authored-by: Copilot App <[email protected]> Co-authored-by: Copilot App <[email protected]> Co-authored-by: Copilot App <[email protected]> Co-authored-by: Copilot App <[email protected]> Co-authored-by: Copilot App <[email protected]> Co-authored-by: Copilot App <[email protected]> Co-authored-by: Copilot App <[email protected]>
henrymercer
force-pushed
the
henrymercer/select-bundles-from-releases
branch
from
065bc86 to
7f964a9
Compare
mbg
reviewed
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry for not getting this reviewed more quickly. Thanks for addressing my previous, general feedback and breaking this work down across several PRs/commits. Broadly, I think these changes are fine. I don't think I spotted any major issues with the overall behaviour/functionality. That said, and as you know, the overall logic of Ideally, I'd like us to break Otherwise, most of my comments are about the docs and other minor points.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sanity-check: I believe Minor: Should
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Comment on lines
+377
to
+389
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for adding this!
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Comment on lines
+16
to
+19
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor: Add per-field docs, particularly for As far as I can see, for
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Comment on lines
+38
to
+41
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IIRC the GitHub API returns this as
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor: "for messages" is a bit vague (here and elsewhere). Change this to e.g. "for log messages" and make it clearer why having this URL is more helpful to have than a release asset URL etc.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I note that A few thoughts:
export const rethrowWith = (messagePrefix: string, err: unknown) => { if (err instanceof ConfigurationError) { throw new ConfigurationError(`${messagePrefix}${err.message}`); } throw new Error(`${messagePrefix}${getErrorMessage(err)}`); };
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "the Action's release" is ambiguous / unclear. I think this should be something like "the release in the running action's repository"
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Comment on lines
+1231
to
+1236
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor: Add a comment to note that, in the 200 case, the asset list doesn't contain a per-language bundle, which is what triggers the fallback in that case.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Comment on lines
+131
to
+135
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor: Add a comment explaining why you prefer Maybe also consider whether it would be worth having Both also apply to the JSDoc in
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
henrymercer
marked this pull request as draft
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.
Uh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
size/XL
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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 01402520 — 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. |