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

events: Enable by default, disable flag #22815

Merged
merged 3 commits into from Sep 7, 2023
Merged

Conversation

swenson
Copy link
Contributor

@swenson swenson commented Sep 6, 2023

The flag events.alpha1 will no longer do anything, but we keep it to prevent breaking users who have it in their configurations or startup flags, or if it is referenced in other code.

@swenson swenson added this to the 1.15 milestone Sep 6, 2023
@swenson swenson requested a review from a team September 6, 2023 17:34
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Sep 6, 2023
@github-actions
Copy link

github-actions bot commented Sep 6, 2023

Build Results:
All builds succeeded! ✅

@github-actions
Copy link

github-actions bot commented Sep 6, 2023

CI Results:
All Go tests succeeded! ✅

@swenson swenson force-pushed the vault-19325/events-by-default branch from fcab3eb to a64cd6c Compare September 7, 2023 15:53
VaultExperimentCoreAuditEventsAlpha1 = "core.audit.events.alpha1"
VaultExperimentSecretsSyncAlpha1 = "secrets.sync.alpha1"

// Unused experiments. We keep them so that we don't break users who include them in their
Copy link
Collaborator

Choose a reason for hiding this comment

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

I agree we should keep the experiment definition but I think we should probably generate a nice error message instead of silently ignoring - it's surprising for users if they try to enable an experiment that they think does something but it doesn't.

@swenson swenson force-pushed the vault-19325/events-by-default branch from a64cd6c to 998107c Compare September 7, 2023 16:51
Copy link
Collaborator

@tomhjp tomhjp left a comment

Choose a reason for hiding this comment

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

LGTM

Christopher Swenson added 3 commits September 7, 2023 11:04
The flag `events.alpha1` will no longer do anything, but we keep it
to prevent breaking users who have it in their configurations or
startup flags, or if it is referenced in other code.
@swenson swenson force-pushed the vault-19325/events-by-default branch from 998107c to 7ab8c63 Compare September 7, 2023 18:05
@swenson
Copy link
Contributor Author

swenson commented Sep 7, 2023

Thanks!

@swenson swenson enabled auto-merge (squash) September 7, 2023 18:05
@swenson swenson added the backport/1.15.x Backport changes to `release/1.15.x` label Sep 7, 2023
@swenson swenson merged commit 7f7907d into main Sep 7, 2023
101 checks passed
@swenson swenson deleted the vault-19325/events-by-default branch September 7, 2023 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.15.x Backport changes to `release/1.15.x` hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants