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

Remove the Lombok feature flag #2088

Merged
merged 3 commits into from
Jan 22, 2024
Merged

Remove the Lombok feature flag #2088

merged 3 commits into from
Jan 22, 2024

Conversation

igfoo
Copy link
Contributor

@igfoo igfoo commented Jan 17, 2024

This essentially reverts #1809

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.

@igfoo igfoo requested a review from a team as a code owner January 17, 2024 14:55
Copy link
Contributor

@henrymercer henrymercer left a comment

Choose a reason for hiding this comment

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

This PR would disable Lombok for CLI v2.14.0 to 2.14.3, where it is enabled by the feature flag currently but it is not enabled by default in the CLI. Should we change this to set CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS to true for CLIs >= v2.14.0?

@igfoo igfoo changed the title Igfoo/remove lombok ff Remove the Lombok feature flag Jan 17, 2024
@igfoo
Copy link
Contributor Author

igfoo commented Jan 19, 2024

Good point, thanks! I've made it check for 2.14.0-2.14.3, so we know when it's safe to remove it in the future.

I've amended the commits, so that the history is simpler (rather than removing code in one commit, then partially reinstating it in a later one).

henrymercer
henrymercer previously approved these changes Jan 19, 2024
src/init-action.ts Outdated Show resolved Hide resolved
We still set the env var for 2.14.0 - 2.14.3, as they defaulted to not
enabling Lombok support but had support enabled by the feature flag.
@igfoo igfoo enabled auto-merge January 19, 2024 18:14
@igfoo igfoo merged commit b96e5e1 into main Jan 22, 2024
317 checks passed
@igfoo igfoo deleted the igfoo/remove_lombok_ff branch January 22, 2024 10:25
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