chore: move Shared Workspaces from experiments to beta#22206
chore: move Shared Workspaces from experiments to beta#22206zenithwolf1000 merged 15 commits intomainfrom
Conversation
zenithwolf1000
commented
Feb 20, 2026
- Removed the shared-workspaces experiment and cleaned up related middleware
- Added beta tagging to the UI for shared workspaces
2e3a502 to
9e6ff73
Compare
…ce functions" This reverts commit 5a31660.
|
All contributors have signed the CLA ✍️ ✅ |
9557de9 to
7b30d09
Compare
aslilac
left a comment
There was a problem hiding this comment.
pardon the large number of comments, they're all just small things. seems good overall.
cli/list_test.go
Outdated
| @@ -108,7 +108,6 @@ func TestList(t *testing.T) { | |||
| var ( | |||
| client, db = coderdtest.NewWithDatabase(t, &coderdtest.Options{ | |||
There was a problem hiding this comment.
client, db = coderdtest.NewWithDatabase(t, nil)this can be simplified a bit further. we don't need to pass an empty DeploymentValues, and without that we don't need to pass an empty Options either.
cli/sharing_test.go
Outdated
| @@ -27,7 +27,6 @@ func TestSharingShare(t *testing.T) { | |||
| var ( | |||
| client, db = coderdtest.NewWithDatabase(t, &coderdtest.Options{ | |||
cli/sharing_test.go
Outdated
| @@ -70,7 +69,6 @@ func TestSharingShare(t *testing.T) { | |||
| var ( | |||
| client, db = coderdtest.NewWithDatabase(t, &coderdtest.Options{ | |||
cli/sharing_test.go
Outdated
| @@ -129,7 +127,6 @@ func TestSharingShare(t *testing.T) { | |||
| var ( | |||
| client, db = coderdtest.NewWithDatabase(t, &coderdtest.Options{ | |||
cli/sharing_test.go
Outdated
| @@ -184,7 +181,6 @@ func TestSharingStatus(t *testing.T) { | |||
| var ( | |||
| client, db = coderdtest.NewWithDatabase(t, &coderdtest.Options{ | |||
There was a problem hiding this comment.
there are a lot of these, you get the point
There was a problem hiding this comment.
Shoot totally thought I cleaned these up, thanks! Will clean em.
enterprise/cli/sharing_test.go
Outdated
| @@ -86,7 +85,6 @@ func TestSharingShare(t *testing.T) { | |||
| client, db, orgOwner = coderdenttest.NewWithDatabase(t, &coderdenttest.Options{ | |||
| Options: &coderdtest.Options{ | |||
enterprise/cli/sharing_test.go
Outdated
| @@ -142,7 +140,6 @@ func TestSharingShare(t *testing.T) { | |||
| client, db, orgOwner = coderdenttest.NewWithDatabase(t, &coderdenttest.Options{ | |||
| Options: &coderdtest.Options{ | |||
There was a problem hiding this comment.
same here and the next three similar things
|
|
||
| dv := coderdtest.DeploymentValues(t) | ||
| dv.Experiments = []string{string(codersdk.ExperimentWorkspaceSharing)} | ||
|
|
|
|
||
| dv := coderdtest.DeploymentValues(t) | ||
| dv.Experiments = []string{string(codersdk.ExperimentWorkspaceSharing)} | ||
|
|
| <span className="flex items-center gap-2"> | ||
| Workspace Sharing | ||
| <FeatureStageBadge contentType="beta" size="sm" /> | ||
| </span> |
There was a problem hiding this comment.
| <span className="flex items-center gap-2"> | |
| Workspace Sharing | |
| <FeatureStageBadge contentType="beta" size="sm" /> | |
| </span> | |
| <div className="flex items-center gap-2"> | |
| Workspace Sharing | |
| <FeatureStageBadge contentType="beta" size="sm" /> | |
| </div> |
using span as a block is frowned upon
Remove empty DeploymentValues callbacks from workspace ACL tests in coderd/workspaces_test.go. These were left over from the workspace-sharing experiment removal and should be replaced with nil for cleaner test setup. Changes: - TestDeleteWorkspaceACL/WorkspaceOwnerCanDelete - TestDeleteWorkspaceACL/SharedUsersCannot - TestWorkspaceReadCanListACL
Documentation CheckUpdates Needed
Automated review via Coder Tasks |
Per PR review feedback, remove empty DeploymentValues callbacks and the Options structs that only contained them. When Options becomes empty, pass nil instead for cleaner test setup. Changes: - cli/sharing_test.go: Simplified 6 test cases - enterprise/cli/sharing_test.go: Removed empty Options from 6 test cases This completes the cleanup from removing the workspace-sharing experiment flag.
Remove outdated experiment messaging from the --disable-workspace-sharing flag description. The workspace sharing feature is now in beta and no longer requires an experiment flag to be enabled. Changed: - Removed "(requires the 'workspace-sharing' experiment to be enabled)" from the flag description
Address remaining review comments from PR #22206: 1. cli/list_test.go: Simplify empty Options to nil - Remove empty DeploymentValues callback wrapper 2. OrganizationSettingsPageView.tsx: Change span to div for title - Replace inline span with div for block-level flex container - Using span as a block element is frowned upon