chore: add workspace-sharing experiment (#19106)

This commit is contained in:
ケイラ
2025-07-31 07:52:57 -06:00
committed by GitHub
parent cc4f8da6e1
commit ed62ddc38e
5 changed files with 17 additions and 4 deletions
+4
View File
@@ -3432,6 +3432,7 @@ const (
ExperimentWebPush Experiment = "web-push" // Enables web push notifications through the browser.
ExperimentOAuth2 Experiment = "oauth2" // Enables OAuth2 provider functionality.
ExperimentMCPServerHTTP Experiment = "mcp-server-http" // Enables the MCP HTTP server functionality.
ExperimentWorkspaceSharing Experiment = "workspace-sharing" // Enables updating workspace ACLs for sharing with users and groups.
)
func (e Experiment) DisplayName() string {
@@ -3450,6 +3451,8 @@ func (e Experiment) DisplayName() string {
return "OAuth2 Provider Functionality"
case ExperimentMCPServerHTTP:
return "MCP HTTP Server Functionality"
case ExperimentWorkspaceSharing:
return "Workspace Sharing"
default:
// Split on hyphen and convert to title case
// e.g. "web-push" -> "Web Push", "mcp-server-http" -> "Mcp Server Http"
@@ -3467,6 +3470,7 @@ var ExperimentsKnown = Experiments{
ExperimentWebPush,
ExperimentOAuth2,
ExperimentMCPServerHTTP,
ExperimentWorkspaceSharing,
}
// ExperimentsSafe should include all experiments that are safe for