This repository was archived by the owner on Sep 30, 2024. It is now read-only.
add experimental site config setting to restrict cody to users by the cody-experimental feature flag#50668
Merged
Conversation
… cody-experimental feature flag
35160a8 to
0e139d1
Compare
Contributor
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-5.0 5.0
# Navigate to the new working tree
cd .worktrees/backport-5.0
# Create a new branch
git switch --create backport-50668-to-5.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 0b460b4b5738617c34fcb2e4be103c55ac8bd69a
# Push it to GitHub
git push --set-upstream origin backport-50668-to-5.0
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-5.0Then, create a pull request where the |
eseliger
pushed a commit
that referenced
this pull request
Apr 17, 2023
…mental" feature flag (#50668) Addresses https://github.com/sourcegraph/sourcegraph/issues/50632 To enable this, the Sourcegraph site admin must do the following: 1. Set `"codyRestrictUsersFeatureFlag": true` in site config under `"experimentalFeatures"`. 2. Create a feature flag called `cody-experimental` through https://$SOURCEGRAPH_HOST/site-admin/feature-flags 3. Set the default value of the feature flag to `false` and then add overrides to `true` for specific users, as we do on sourcegraph.com (cherry picked from commit 0b460b4)
Merged
coury-clark
pushed a commit
that referenced
this pull request
Apr 17, 2023
This backports both - #49920 - #50668 to 5.0. The former is cherry picked to reduce merge conflicts and make potential future cherry picks a bit easier. I also had to backport adding a bazelignore entry for `client/cody` because I couldn't update the build files on this branch anymore. There seems to have been a few misses in buildfile updates so this PR is unfortunately quite noisy. ## Test plan CI and code review. --------- Co-authored-by: Rok Novosel <rok@sourcegraph.com> Co-authored-by: Beyang Liu <beyang@sourcegraph.com>
camdencheek
pushed a commit
that referenced
this pull request
May 15, 2023
…mental" feature flag (#50668) Addresses https://github.com/sourcegraph/sourcegraph/issues/50632 To enable this, the Sourcegraph site admin must do the following: 1. Set `"codyRestrictUsersFeatureFlag": true` in site config under `"experimentalFeatures"`. 2. Create a feature flag called `cody-experimental` through https://$SOURCEGRAPH_HOST/site-admin/feature-flags 3. Set the default value of the feature flag to `false` and then add overrides to `true` for specific users, as we do on sourcegraph.com (cherry picked from commit 0b460b4)
camdencheek
pushed a commit
that referenced
this pull request
May 16, 2023
…mental" feature flag (#50668) Addresses https://github.com/sourcegraph/sourcegraph/issues/50632 To enable this, the Sourcegraph site admin must do the following: 1. Set `"codyRestrictUsersFeatureFlag": true` in site config under `"experimentalFeatures"`. 2. Create a feature flag called `cody-experimental` through https://$SOURCEGRAPH_HOST/site-admin/feature-flags 3. Set the default value of the feature flag to `false` and then add overrides to `true` for specific users, as we do on sourcegraph.com (cherry picked from commit 0b460b4)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses https://github.com/sourcegraph/sourcegraph/issues/50632
To enable this, the Sourcegraph site admin must do the following:
"codyRestrictUsersFeatureFlag": truein site config under"experimentalFeatures".cody-experimentalthrough https://$SOURCEGRAPH_HOST/site-admin/feature-flagsfalseand then add overrides totruefor specific users, as we do on sourcegraph.comThe feature flag must be called exactly "cody-experimental."
Test plan
Affects only Cody (experimental). Tested locally.