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 — Deprecate Go extraction reconciliation feature flag and `CODEQL_EXTRACTOR_GO_BUILD_TRACING` for custom builds by angelapwen · Pull Request #1322 · github/codeql-action

Conversation

@angelapwen

@angelapwen angelapwen commented Oct 25, 2022 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

This PR removes the CODEQL_EXTRACTOR_GO_BUILD_TRACING from all tests as well as another unused environment variable, CODEQL_ACTION_RECONCILE_TRACING. Users who previously had CODEQL_EXTRACTOR_GO_BUILD_TRACING set with custom Go builds will be shown a warning suggesting that they remove the environment variable as it no longer has effect.

Additionally, this PR deprecates the use of the Go extraction reconciliation feature flag so that its functionality is always on (ie. Go will always be treated as a traced language). A separate PR removing the flag from dotcom will be merged after this PR.

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
@angelapwen
angelapwen force-pushed the angelapwen/deprecate-go-env-var branch 2 times, most recently from d65ed09 to 152e246 Compare October 25, 2022 22:04
@angelapwen
angelapwen marked this pull request as ready for review October 25, 2022 23:02
@angelapwen
angelapwen requested a review from a team as a code owner October 25, 2022 23:03
angelapwen
angelapwen commented Oct 25, 2022
View reviewed changes
Comment thread src/languages.ts Resolved

Uh oh!

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

@angelapwen
angelapwen requested a review from henrymercer October 25, 2022 23:04
@angelapwen angelapwen changed the title [DRAFT] Deprecate CODEQL_EXTRACTOR_GO_BUILD_TRACING Deprecate CODEQL_EXTRACTOR_GO_BUILD_TRACING Oct 25, 2022
henrymercer
henrymercer previously approved these changes Oct 26, 2022
View reviewed changes
Comment thread pr-checks/checks/go-reconciled-tracing-autobuilder.yml Resolved

Uh oh!

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

Comment thread src/languages.ts Resolved

Uh oh!

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

Comment thread src/languages.ts Resolved

Uh oh!

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

@henrymercer

henrymercer commented Oct 26, 2022

Copy link
Copy Markdown
Contributor

I'm not sure if the variable deprecation should be part of the changelog here or not 🤔

I think it would make sense to add a changelog note in the PR that removes the feature flag check similar to the one we used before starting rollout, saying that we have now rolled out this change. You could then mention the variable deprecation there too — it won't affect most users but the Actions changelog can be more detailed.

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

@angelapwen

angelapwen commented Oct 26, 2022

Copy link
Copy Markdown
Contributor Author

I'm not sure if the variable deprecation should be part of the changelog here or not 🤔

I think it would make sense to add a changelog note in the PR that removes the feature flag check similar to the one we used before starting rollout, saying that we have now rolled out this change. You could then mention the variable deprecation there too — it won't affect most users but the Actions changelog can be more detailed.

👍 I'll make a note to do so in that PR

All reactions

Sorry, something went wrong.

Uh oh!

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

@angelapwen
angelapwen marked this pull request as draft October 26, 2022 23:16
@angelapwen
angelapwen dismissed henrymercer’s stale review via 1ac7e39 November 4, 2022 23:07
@angelapwen angelapwen changed the title Deprecate CODEQL_EXTRACTOR_GO_BUILD_TRACING Deprecate Go extraction reconciliation feature flag and CODEQL_EXTRACTOR_GO_BUILD_TRACING Nov 4, 2022
@angelapwen
angelapwen force-pushed the angelapwen/deprecate-go-env-var branch 2 times, most recently from 789f7e6 to f69b64d Compare November 4, 2022 23:38
angelapwen
angelapwen commented Nov 4, 2022
View reviewed changes
Comment thread src/languages.ts Resolved

Uh oh!

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

@angelapwen
angelapwen marked this pull request as ready for review November 5, 2022 00:08
henrymercer
henrymercer reviewed Nov 7, 2022
View reviewed changes
Comment thread CHANGELOG.md Resolved

Uh oh!

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

Comment thread src/languages.ts Resolved

Uh oh!

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

@angelapwen
angelapwen force-pushed the angelapwen/deprecate-go-env-var branch 2 times, most recently from 21816d5 to 9011d12 Compare November 7, 2022 20:42
angelapwen
angelapwen commented Nov 7, 2022
View reviewed changes
Comment thread src/init-action.ts Resolved

Uh oh!

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

@angelapwen angelapwen mentioned this pull request Nov 7, 2022
Support Swift for private beta #1350
Merged
3 tasks done
@angelapwen
angelapwen force-pushed the angelapwen/deprecate-go-env-var branch from 8f1b8c1 to 4d4d91d Compare November 7, 2022 23:19
@angelapwen

angelapwen commented Nov 8, 2022

Copy link
Copy Markdown
Contributor Author

I ended up finding an error in the Debug Artifacts Upload PR check because of this change — I hadn't added the actions/setup-go@v3 step in those PR checks so there wasn't any Go source code found for artifact upload. I didn't look into why it was previously passing, but as the PR checks are all passing now I think this is ready for re-review (also pending PM approval of the user-facing warning)

All reactions

Sorry, something went wrong.

Uh oh!

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

@angelapwen
angelapwen requested a review from henrymercer November 8, 2022 00:19
henrymercer
henrymercer reviewed Nov 8, 2022
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.

Very nice! Just a couple of comments around the docs.

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.

Comment thread src/init-action.ts Resolved

Uh oh!

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

@angelapwen
angelapwen force-pushed the angelapwen/deprecate-go-env-var branch 2 times, most recently from ad71fd4 to 9f7a92c Compare November 8, 2022 16:39
henrymercer
henrymercer previously approved these changes Nov 8, 2022
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.

LGTM, subject to @AlonaHlobina's approval of the warning message.

Sorry, something went wrong.

Uh oh!

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

All reactions
henrymercer
henrymercer reviewed Nov 9, 2022
View reviewed changes
Comment thread .github/workflows/debug-artifacts-failure.yml Resolved

Uh oh!

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

Comment thread .github/workflows/debug-artifacts.yml Resolved

Uh oh!

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

angelapwen and others added 6 commits November 10, 2022 17:04
@angelapwen @henrymercer
Apply suggestions from code review
f16a98a
Co-authored-by: Henry Mercer <[email protected]>
@angelapwen
Add GO111MODULE to relevant PR checks
e85af3a
@angelapwen
Add Go to multilanguage custom build test
d2f02e1
@angelapwen
Stop setting CODEQL_EXTRACTOR_GO_BUILD_TRACING by default
032b9ae
@angelapwen
Only display message in analyze
a1eaa44
@angelapwen
Remove mention of env variable in CHANGELOG
1fa94b4
@angelapwen
angelapwen force-pushed the angelapwen/deprecate-go-env-var branch from 6ad286b to 1fa94b4 Compare November 11, 2022 01:05
angelapwen added 6 commits November 14, 2022 10:19
@angelapwen
Fix linter issue
f822e95
@angelapwen
Merge branch 'main' into angelapwen/deprecate-go-env-var
10ffbfa
@angelapwen
Merge remote-tracking branch 'origin/main' into angelapwen/deprecate-…
2c86f42
…go-env-var
@angelapwen
Merge remote-tracking branch 'origin/main' into angelapwen/deprecate-…
a16ddd6
…go-env-var
@angelapwen
Merge branch 'angelapwen/deprecate-go-env-var' of github.com:github/c…
b298af0
…odeql-action into angelapwen/deprecate-go-env-var
@angelapwen
Add setup Go step to unset env var check
dd2fdf4
@angelapwen

angelapwen commented Nov 14, 2022

Copy link
Copy Markdown
Contributor Author

Ok — I resolved some merge conflicts, made some fixes to PR checks that were failing due to the new Go build command being added to build.sh, and re-ran possibly flaky tests. I think this PR is ready for review again — all the "expected" checks are ones that I have removed/replaced as of this change.

All reactions

Sorry, something went wrong.

Uh oh!

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

@angelapwen
angelapwen requested a review from henrymercer November 14, 2022 20:01
henrymercer
henrymercer previously approved these changes Nov 14, 2022
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.

Looks good modulo the CHANGELOG.

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.

Comment thread src/analyze-action.ts Resolved

Uh oh!

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

@angelapwen
angelapwen dismissed henrymercer’s stale review via 16597c3 November 14, 2022 20:08
angelapwen and others added 3 commits November 14, 2022 12:08
@angelapwen @henrymercer
Update CHANGELOG.md
16597c3
Co-authored-by: Henry Mercer <[email protected]>
@angelapwen
Change log levels to debug
0d9e1b6
@angelapwen
Merge branch 'angelapwen/deprecate-go-env-var' of github.com:github/c…
455bbb1
…odeql-action into angelapwen/deprecate-go-env-var
@angelapwen
angelapwen requested a review from henrymercer November 14, 2022 20:10
@angelapwen
Add PR link to CHANGELOG
5ee9bf8
henrymercer
henrymercer approved these changes Nov 14, 2022
View reviewed changes
@angelapwen
angelapwen enabled auto-merge (squash) November 14, 2022 20:14
@angelapwen
angelapwen merged commit 5883c13 into main Nov 14, 2022
@angelapwen
angelapwen deleted the angelapwen/deprecate-go-env-var branch November 14, 2022 21:54
@henrymercer henrymercer mentioned this pull request Nov 15, 2022
Delete the runner, part 2 #1364
Merged
3 tasks done
@angelapwen angelapwen mentioned this pull request Nov 15, 2022
Remove Go extraction feature flags #1371
Merged
3 tasks done
This was referenced Nov 16, 2022
Merge main into releases/v2 #1375
Merged
Merge releases/v2 into releases/v1 #1377
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@AlonaHlobina AlonaHlobina AlonaHlobina left review comments
@henrymercer henrymercer henrymercer 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

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