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 — Autobuild Go in `analyze` if not already built by angelapwen · Pull Request #1219 · github/codeql-action

Conversation

@angelapwen

@angelapwen angelapwen commented Aug 26, 2022

Copy link
Copy Markdown
Contributor

This change will run the autobuilder for Golang in the analyze step if:

  • the feature flag golang_extraction_reconciliation_enabled is on
  • the autobuild step has not already run for Go
  • the user has not provided manual build steps for Go

This change should be a no-op for now, as if a user has not provided manual build steps for Go, we treat Go as an interpreted language and the autobuilder will run even if users have not included the autobuild action.

With some imminent changes where we will not treat Go as an interpreted language, we introduce this change to maintain backwards compatibility for users who may have removed the autobuild step and who have not provided manual build steps. In this case, we will still autobuild for them at the beginning of the analyze step.

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.

henrymercer reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@angelapwen
angelapwen requested a review from a team as a code owner August 26, 2022 22:38
@angelapwen
angelapwen requested a review from henrymercer August 26, 2022 22:38
@angelapwen
angelapwen force-pushed the angelapwen/autobuild-in-analyze branch from 781cafc to 893add6 Compare August 26, 2022 22:43
aeisenberg
aeisenberg reviewed Aug 29, 2022
View reviewed changes

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

Two minor things.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread src/analyze-action.ts 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.

@henrymercer

henrymercer commented Aug 30, 2022

Copy link
Copy Markdown
Contributor

I'll move this PR forward while Angela's on vacation. I'll start by addressing Andrew's review comments and adding a PR check to test the new behavior.

All reactions

Sorry, something went wrong.

Uh oh!

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

@henrymercer
henrymercer marked this pull request as draft August 30, 2022 17:06
@henrymercer
henrymercer force-pushed the angelapwen/autobuild-in-analyze branch from 3adbc27 to 962795a Compare August 31, 2022 11:57
angelapwen and others added 9 commits August 31, 2022 13:19
@angelapwen @henrymercer
Autobuild Go in analyze step
215c3cb
@henrymercer
Use a more explicit name for checking Go extraction output
8dc4685
@henrymercer
Add environment variable for enabling Go extraction reconcilation
fff56ee
This will enable us to test this behavior in PR checks.
Also simplify and add some more detailed documentation.
@henrymercer @aeisenberg
Simplify doesGoExtractionOutputExist implementation
e466e75
Co-authored-by: Andrew Eisenberg <[email protected]>
@henrymercer
Add PR check for reconciled tracing with legacy workflow
5b4b44c
@henrymercer
Fix TRAP directory location
b42a495
@henrymercer
Add logging for determining whether to run the Go autobuilder
14d7039
@henrymercer
Fix language inclusion test
9552903
`in` checks the indices of an array, not the values.
@henrymercer
Check TRAP directory exists first
8e0846c
@henrymercer
henrymercer force-pushed the angelapwen/autobuild-in-analyze branch from e86336e to 8e0846c Compare August 31, 2022 12:22
@henrymercer
henrymercer marked this pull request as ready for review August 31, 2022 14:29
@henrymercer
henrymercer requested a review from aeisenberg August 31, 2022 14:29
aeisenberg
aeisenberg reviewed Aug 31, 2022
View reviewed changes

@aeisenberg aeisenberg 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. A minor comment.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread src/analyze-action.ts Resolved

Uh oh!

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

@henrymercer
Improve clarity of logging
fe1bd9a
@henrymercer
henrymercer requested a review from aeisenberg September 1, 2022 11:56
@henrymercer henrymercer mentioned this pull request Sep 1, 2022
Make Go a traced language when Go extraction reconciliation is enabled #1228
Merged
3 tasks done
aeisenberg
aeisenberg approved these changes Sep 2, 2022
View reviewed changes
@henrymercer
henrymercer merged commit 21530f5 into main Sep 2, 2022
@henrymercer
henrymercer deleted the angelapwen/autobuild-in-analyze branch September 2, 2022 16:36
This was referenced Sep 14, 2022
Merge main into releases/v2 #1246
Merged
Merge releases/v2 into releases/v1 #1248
Merged
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 Awaiting requested review from henrymercer

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