Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rollback mechanism for C# buildless #2329

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

henrymercer
Copy link
Contributor

This PR adds a rollback mechanism for C# buildless similar to the one we added for Java. When this is enabled, workflows configured to use build-mode: none for C# will use build-mode: autobuild instead.

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.

@henrymercer henrymercer requested a review from a team as a code owner June 11, 2024 17:47
Copy link
Contributor

@nickfyson nickfyson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

[Feature.DisableCsharpBuildless]: {
defaultValue: false,
envVar: "CODEQL_ACTION_DISABLE_CSHARP_BUILDLESS",
minimumVersion: undefined,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OOI, why do some need legacyApi: true and some not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to do with our work to be able to create feature flags without monolith changes. Features with legacyApi: true were added using a monolith PR. Features with legacyApi: false use the new API where the CodeQL Action requests them by name so we don't need to make a monolith PR.

@henrymercer henrymercer merged commit 5bf6dad into main Jun 13, 2024
301 checks passed
@henrymercer henrymercer deleted the henrymercer/csharp-buildless-rollback-mechanism branch June 13, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants