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

Fall back to the defaults.json CLI version if feature flags misconfigured #1508

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

henrymercer
Copy link
Contributor

We expect at least one default CLI version to be enabled on Dotcom at any time. However if the feature flags are misconfigured, rather than crashing, we fall back to the CLI version shipped with the Action in defaults.json. This has the effect of immediately rolling out new CLI versions to all users running the latest Action.

A drawback of this approach relates to the small number of users that run old versions of the Action on Dotcom. As a result of this approach, if we misconfigure the feature flags then these users will experience some alert churn. This is because the CLI version in the defaults.json shipped with an old version of the Action is likely older than the CLI version that would have been specified by the feature flags before they were misconfigured.

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 January 24, 2023 12:10
Copy link
Contributor

@angelapwen angelapwen left a comment

Choose a reason for hiding this comment

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

🙇

@henrymercer henrymercer merged commit a58e90a into main Jan 24, 2023
@henrymercer henrymercer deleted the henrymercer/default-version-fallback branch January 24, 2023 20:01
@github-actions github-actions bot mentioned this pull request Jan 26, 2023
6 tasks
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.

2 participants