Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

cloud: add feature flags to show no edit warning#63484

Merged
michaellzc merged 1 commit into
mainfrom
06-25-cloud_add_feature_flags_no_edit_warning
Jun 26, 2024
Merged

cloud: add feature flags to show no edit warning#63484
michaellzc merged 1 commit into
mainfrom
06-25-cloud_add_feature_flags_no_edit_warning

Conversation

@michaellzc

@michaellzc michaellzc commented Jun 26, 2024

Copy link
Copy Markdown
Member

ref CLO-380

on Cloud, customer changes to feature flags are overridden by our automation. let's add a warning message to avoid suprises.

Test plan

CleanShot 2024-06-25 at 19 56 04

@cla-bot cla-bot Bot added the cla-signed label Jun 26, 2024

michaellzc commented Jun 26, 2024

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @michaellzc and the rest of your teammates on Graphite Graphite

@michaellzc michaellzc changed the title cloud: add feature flags no edit warning cloud: add feature flags to show no edit warning Jun 26, 2024
@michaellzc michaellzc force-pushed the 06-25-cloud_add_feature_flags_no_edit_warning branch from a5458d3 to 3575303 Compare June 26, 2024 03:09
@michaellzc michaellzc requested review from a team June 26, 2024 03:11

@eseliger eseliger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

non blocking feedback inline

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

May sounds vague to me - could we say "don't use this" or even hide the page?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@michaellzc may be or will be? 🤔

@michaellzc michaellzc Jun 26, 2024

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

😅 it's technically "may be" because we do support customer-managed feature flag, but it has to be opt-in on a per flag basis.

https://github.com/sourcegraph/controller/pull/1198

but yes, let's just say "will be" to make it less confusing cuz it's a niche-use case

@michaellzc michaellzc force-pushed the 06-25-cloud_add_feature_flags_no_edit_warning branch from 3575303 to 039a8ed Compare June 26, 2024 16:15
@michaellzc michaellzc enabled auto-merge (squash) June 26, 2024 16:16
@michaellzc michaellzc merged commit 78a8f6b into main Jun 26, 2024
@michaellzc michaellzc deleted the 06-25-cloud_add_feature_flags_no_edit_warning branch June 26, 2024 16:27
michaellzc referenced this pull request Jun 26, 2024
https://github.com/sourcegraph/sourcegraph/pull/63484

got feedback from teammates that it shouldn't be `warning` but `info`

warning usually indicates something is wrong, this is not the case.
michaellzc referenced this pull request Jun 27, 2024
follow up https://github.com/sourcegraph/sourcegraph/pull/63484

got feedback from teammates that it shouldn't be `warning` but `info`

warning usually indicates something is wrong, this is not the case.

<!-- PR description tips:
https://www.notion.so/sourcegraph/Write-a-good-pull-request-description-610a7fd3e613496eb76f450db5a49b6e
-->

## Test plan

<!-- REQUIRED; info at
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles
-->

## Changelog

<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->

n/a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants