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 — Bump the minimum supported version of CodeQL to 2.15.5 by aeisenberg · Pull Request #2655 · github/codeql-action

Conversation

@aeisenberg

@aeisenberg aeisenberg commented Dec 16, 2024

Copy link
Copy Markdown
Contributor

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

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

All reactions
Copilot AI review requested due to automatic review settings December 16, 2024 23:02
@aeisenberg
aeisenberg requested a review from a team as a code owner December 16, 2024 23:02
Copilot AI reviewed Dec 16, 2024
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 7 out of 13 changed files in this pull request and generated no comments.

Files not reviewed (6)
  • package.json: Language not supported
  • pr-checks/sync.py: Evaluated as low risk
  • .github/workflows/debug-artifacts.yml: Evaluated as low risk
  • src/codeql.ts: Evaluated as low risk
  • .github/workflows/__go-tracing-autobuilder.yml: Evaluated as low risk
  • .github/workflows/__go-tracing-custom-build-steps.yml: Evaluated as low risk
Comments suppressed due to low confidence (1)

.github/workflows/__multi-language-autodetect.yml:91

  • The conditional logic here is incorrect. It should include macOS as well, otherwise it will exclude languages for macOS runners.
languages: ${{ runner.os == 'Linux' && 'cpp,csharp,go,java,javascript,python,ruby' || '' }}

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

Sorry, something went wrong.

Uh oh!

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

All reactions
@aeisenberg
Bump the minimum supported version of CodeQL to 2.15.5
5f0a4d3
@aeisenberg
aeisenberg force-pushed the aeisenberg/deprecate-2.14 branch from c441453 to 5f0a4d3 Compare December 16, 2024 23:40
@aeisenberg

aeisenberg commented Dec 16, 2024

Copy link
Copy Markdown
Contributor Author

@mbg, there are three workflows that are failing now that I'm deprecating 2.14.6. It looks like you created these workflows and hard-coded 2.14.6. Is there another, non-deprecated version we can use? Is it the case that now that 2.14.6 is deprecated, we can remove the workaround?

All reactions

Sorry, something went wrong.

Uh oh!

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

@mbg

mbg commented Dec 17, 2024

Copy link
Copy Markdown
Member

I think intention with pinning that version was that we would fix/improve the tracer not long after, and so would no longer need the workaround then. However, that never happened, so the workaround is still needed to this day (AFAIK). That means we can either:

  • Bump the pinned version to the current version (or any other non-deprecated one)
  • Not pin it to a specific version, and then pin it to one once the tracer can deal with statically linked binaries
All reactions

Sorry, something went wrong.

Uh oh!

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

@aeisenberg

aeisenberg commented Dec 17, 2024

Copy link
Copy Markdown
Contributor Author

OK. Thanks. I'll pin it to 2.20.0.

All reactions

Sorry, something went wrong.

Uh oh!

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

@aeisenberg
Change codeql version used in test
beed6ff
@aeisenberg
aeisenberg force-pushed the aeisenberg/deprecate-2.14 branch from 14348c5 to beed6ff Compare December 17, 2024 02:08
@aeisenberg

aeisenberg commented Dec 17, 2024

Copy link
Copy Markdown
Contributor Author

Actually, if I pin to default and the workaround is implemented, then we will see a test failure more quickly and will be reminded to change or remove the tests. I changed to that.

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.

zutshisunakshi
zutshisunakshi reviewed Dec 17, 2024
View reviewed changes
Comment thread .github/workflows/__go-indirect-tracing-workaround-diagnostic.yml
include:
- os: ubuntu-latest
version: stable-v2.14.6
version: default

@zutshisunakshi zutshisunakshi Dec 17, 2024

Copy link
Copy Markdown

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.

Why does this not update as stable-v2.19.4 like files below ? Diff in files .github/workflows/__go-tracing-autobuilder.yml and beyond do not mention default as version. Not sure if this is just setup differently for different workflows.

Sorry, something went wrong.

Uh oh!

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

All reactions

@zutshisunakshi zutshisunakshi Dec 17, 2024

Copy link
Copy Markdown

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.

maybe your comment here is linked to my Q -- but I am not sure I fully understand the reasoning though. Do we follow some guide/playbook for these upgrades?

Sorry, something went wrong.

Uh oh!

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

All reactions

@aeisenberg aeisenberg Dec 17, 2024

Copy link
Copy Markdown
Contributor 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.

Yes. These tests are for a particular workaround in the CLI and action for indirect tracing of go code. I'm actually not sure what this is. It's something that @mbg implemented. It's testing that if we're using a version of go that supports statically linked binaries, we can still build a database even though the CodeQL go tracer does not support statically linked binaries. If we ever do implement this in the go tracer, then these tests will start to fail.

I moved from a fixed version to default so that we won't need to update these tests again in the future.

We only need to test a single version since this is a mechanism that is in the action, and independent of the codeql version.

Look at the "Deprecating a CodeQL version" section of CONTRIBUTING.md for more information around how this deprecation works.

Sorry, something went wrong.

Uh oh!

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

All reactions

@aeisenberg aeisenberg Dec 17, 2024

Copy link
Copy Markdown
Contributor 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.

Versions for the other workflows are handled by the sync.py script.

Sorry, something went wrong.

Uh oh!

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

All reactions
zutshisunakshi
zutshisunakshi reviewed Dec 17, 2024
View reviewed changes
Comment thread .github/workflows/__go-indirect-tracing-workaround-no-file-program.yml
include:
- os: ubuntu-latest
version: stable-v2.14.6
version: default

@zutshisunakshi zutshisunakshi Dec 17, 2024

Copy link
Copy Markdown

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.

same comment as above

Sorry, something went wrong.

Uh oh!

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

All reactions
zutshisunakshi
zutshisunakshi reviewed Dec 17, 2024
View reviewed changes
Comment thread .github/workflows/__go-indirect-tracing-workaround.yml
include:
- os: ubuntu-latest
version: stable-v2.14.6
version: default

@zutshisunakshi zutshisunakshi Dec 17, 2024

Copy link
Copy Markdown

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.

same comment as above

Sorry, something went wrong.

Uh oh!

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

All reactions
zutshisunakshi
zutshisunakshi reviewed Dec 17, 2024
View reviewed changes
Comment thread README.md
| `v2.22.1` | `2.14.6` | Enterprise Server 3.11 | Supports CodeQL Action v3, but did not ship with CodeQL Action v3. For more information, see "[Code scanning: deprecation of CodeQL Action v2](https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/#users-of-github-enterprise-server-311)." |

CodeQL Action v2 will stop receiving updates when GHES 3.11 is deprecated.
CodeQL Action v2 has stopped receiving updates now that GHES 3.11 is deprecated.

@zutshisunakshi zutshisunakshi Dec 17, 2024

Copy link
Copy Markdown

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.

Does this need to be part of changelog update?

Sorry, something went wrong.

Uh oh!

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

All reactions

@aeisenberg aeisenberg Dec 17, 2024

Copy link
Copy Markdown
Contributor 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 jumped the gun on this change by just a little since v2 is not yet officially deprecated. This is something @angelapwen will be working on shortly. GHES 3.11 is getting deprecated on December 19.

I made the change since I thought it would be confusing to remove the line about GFHES 3.11 and keep the line about v2 unchanged.

The last update to the v2 branch should only go in the v2 branch, so I won't put it the changelog on the main branch.

Sorry, something went wrong.

Uh oh!

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

All reactions
@aeisenberg
aeisenberg enabled auto-merge December 17, 2024 23:03
angelapwen
angelapwen reviewed Dec 17, 2024
View reviewed changes

@angelapwen angelapwen 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.

Looks fine to me, but we want to make sure that we don't merge before Dec 19, right?

Sorry, something went wrong.

Uh oh!

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

All reactions
@aeisenberg

aeisenberg commented Dec 17, 2024

Copy link
Copy Markdown
Contributor Author

I will make a release on December 19. It's probably fine to merge this PR before then.

All reactions

Sorry, something went wrong.

Uh oh!

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

angelapwen
angelapwen approved these changes Dec 17, 2024
View reviewed changes

@angelapwen angelapwen 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.

:merge-it:

Sorry, something went wrong.

Uh oh!

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

All reactions
@aeisenberg
aeisenberg merged commit 562042d into main Dec 17, 2024
@aeisenberg
aeisenberg deleted the aeisenberg/deprecate-2.14 branch December 17, 2024 23:18
@angelapwen angelapwen mentioned this pull request Dec 19, 2024
build(deps-dev): bump the npm group with 3 updates #2653
Merged
This was referenced Dec 20, 2024
Merge main into releases/v3 #2662
Merged
Merge releases/v3 into releases/v2 #2664
Merged
@henrymercer henrymercer mentioned this pull request Jan 10, 2025
Update supported GitHub Enterprise Server versions #2669
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@zutshisunakshi zutshisunakshi zutshisunakshi left review comments
Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
+1 more reviewer
@angelapwen angelapwen angelapwen approved these changes
Reviewers whose approvals may not affect merge requirements

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.

5 participants

@aeisenberg @mbg @zutshisunakshi @angelapwen
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.