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 — Feature flag to disable python dependency installation by RasmusWL · Pull Request #1676 · github/codeql-action

Conversation

@RasmusWL

@RasmusWL RasmusWL commented May 9, 2023 •
edited by henrymercer
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

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.

I have tested this behavior on a repo of my own, by setting CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION: "true" in the workflow -- let me know if we need to add some automated tests for this 👍

Sorry, something went wrong.

Uh oh!

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

All reactions
github-advanced-security[bot]
github-advanced-security AI found potential problems May 9, 2023
View reviewed changes
Comment thread src/analyze.ts Fixed

Uh oh!

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

@RasmusWL
RasmusWL force-pushed the rasmuswl/python-disable-dependency-installation branch 6 times, most recently from 18b5112 to 901968a Compare May 11, 2023 10:02
@RasmusWL
Feature flag to disable python dependency installation
0ccdbf8
@RasmusWL
RasmusWL force-pushed the rasmuswl/python-disable-dependency-installation branch from 901968a to 0ccdbf8 Compare May 11, 2023 10:14
@RasmusWL
Update CHANGELOG.md
eb8a706
@RasmusWL
RasmusWL marked this pull request as ready for review May 11, 2023 10:22
@RasmusWL
RasmusWL requested a review from a team as a code owner May 11, 2023 10:22
@RasmusWL
RasmusWL requested review from tausbn and turbo May 11, 2023 10:23
@RasmusWL

RasmusWL commented May 11, 2023

Copy link
Copy Markdown
Member Author

@turbo requesting your review on the CHANGELOG.md change

@tausbn requesting your review on the recommendation if users want to specify what version to analyze as

All reactions

Sorry, something went wrong.

Uh oh!

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

aeisenberg
aeisenberg reviewed May 11, 2023
View reviewed changes
Comment thread src/analyze.ts Resolved

Uh oh!

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

@aeisenberg

aeisenberg commented May 11, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Also, do you have a related feature flag issue for this change? https://github.com/github/codeql-core/issues/new?assignees=&labels=CodeQL+Action&projects=&template=codeql_action_feature_flag_rollout.md&title=CodeQL+Action%3A+%5BFeature+Name%5D+Rollout+Plan

It helps us manage the rollout and eventual removal of the flag.

All reactions

Sorry, something went wrong.

Uh oh!

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

@RasmusWL

RasmusWL commented May 11, 2023

Copy link
Copy Markdown
Member Author

Also, do you have a related feature flag issue for this change?

yes, it might be hard to spot from all the highlights of me force pushing changes, but here it is: https://github.com/github/codeql-core/issues/3552

All reactions

Sorry, something went wrong.

Uh oh!

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

@RasmusWL
RasmusWL requested a review from aeisenberg May 11, 2023 17:50
@aeisenberg

aeisenberg commented May 11, 2023

Copy link
Copy Markdown
Contributor

Thanks for the explanation (and apologies for jumping in with partial information).

RasmusWL 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.

RasmusWL added 5 commits May 12, 2023 09:55
@RasmusWL
Use features properly in setupPythonExtractor
b8f39fe
@RasmusWL
Merge branch 'main' into rasmuswl/python-disable-dependency-installation
cbc79bf
@RasmusWL
Fix linting errors
c237da1
@RasmusWL
Improve python warning message
cc64156
The last dot in `=3.11.` is just slightly confusing, so added single
quotes around the environment variable assignments to make it 100% clear
@RasmusWL
Generate JS
fce87bb
tausbn
tausbn previously approved these changes May 12, 2023
View reviewed changes

@tausbn tausbn left a comment

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.

Looks good to me! 👍

Sorry, something went wrong.

Uh oh!

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

All reactions
aeisenberg
aeisenberg previously approved these changes May 12, 2023
View reviewed changes
henrymercer
henrymercer reviewed May 12, 2023
View reviewed changes

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

A question and a suggestion for potentially improving one of the warnings.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread src/feature-flags.ts Resolved

Uh oh!

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

Comment thread src/analyze.ts Resolved

Uh oh!

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

@RasmusWL @henrymercer
Update wording for CODEQL_PYTHON warning
cf58ef4
Co-authored-by: Henry Mercer <[email protected]>
@RasmusWL
RasmusWL dismissed aeisenberg’s stale review via cf58ef4 May 15, 2023 10:05
@RasmusWL
RasmusWL dismissed tausbn’s stale review via cf58ef4 May 15, 2023 10:05
@RasmusWL
Generate JS
e1cca25
@RasmusWL
RasmusWL requested a review from henrymercer May 15, 2023 10:06
henrymercer
henrymercer previously approved these changes May 15, 2023
View reviewed changes

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

I had a quick look at the changenote — I'm happy with the changes here, but also happy to wait for @turbo's review.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread CHANGELOG.md Resolved

Uh oh!

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

@RasmusWL
RasmusWL dismissed henrymercer’s stale review via dc0f6da May 15, 2023 10:38
@RasmusWL @henrymercer
Update CHANGELOG.md
dc0f6da
Co-authored-by: Henry Mercer <[email protected]>
henrymercer
henrymercer approved these changes May 15, 2023
View reviewed changes
aeisenberg
aeisenberg approved these changes May 15, 2023
View reviewed changes
Comment thread CHANGELOG.md

## [UNRELEASED]

- We are rolling out a feature in May 2023 that will disable Python dependency installation for new users of the CodeQL Action. This improves the speed of analysis while having only a very minor impact on results. [#1676](https://github.com/github/codeql-action/pull/1676)

@aeisenberg aeisenberg May 15, 2023

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.

Are we planning on doing a changelog post or some other public announcement? Especially explaining "a very minor impact on results" would be nice. If there is one, can you add a link here? If the post is planned, but the URL isn't known yet, we can always update this entry.

Sorry, something went wrong.

Uh oh!

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

All reactions

@RasmusWL RasmusWL May 16, 2023

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.

Yes, once we start roll it out to new users, there will be a public changelog post 👍

Sorry, something went wrong.

Uh oh!

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

All reactions
@RasmusWL
RasmusWL merged commit 5489416 into main May 16, 2023
@RasmusWL
RasmusWL deleted the rasmuswl/python-disable-dependency-installation branch May 16, 2023 08:40
@github-actions github-actions Bot mentioned this pull request May 24, 2023
Merge main into releases/v2 #1700
Merged
5 of 6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@aeisenberg aeisenberg aeisenberg approved these changes
@henrymercer henrymercer henrymercer approved these changes
@tausbn tausbn tausbn left review comments
@turbo turbo Awaiting requested review from turbo

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

@RasmusWL @aeisenberg @tausbn @henrymercer @github-advanced-security
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.