Skip to content

Commit badb8e9

Browse files
committed
chore(site): remove build logs from experimental
1 parent 4821e2e commit badb8e9

File tree

6 files changed

+15
-27
lines changed

6 files changed

+15
-27
lines changed

coderd/apidoc/docs.go

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/deployment.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,6 @@ const (
17811781
// WARNING: This cannot be enabled when using HA.
17821782
ExperimentSingleTailnet Experiment = "single_tailnet"
17831783

1784-
ExperimentWorkspaceBuildLogsUI Experiment = "workspace_build_logs_ui"
17851784
// Add new experiments here!
17861785
// ExperimentExample Experiment = "example"
17871786
)
@@ -1790,9 +1789,7 @@ const (
17901789
// users to opt-in to via --experimental='*'.
17911790
// Experiments that are not ready for consumption by all users should
17921791
// not be included here and will be essentially hidden.
1793-
var ExperimentsAll = Experiments{
1794-
ExperimentWorkspaceBuildLogsUI,
1795-
}
1792+
var ExperimentsAll = Experiments{}
17961793

17971794
// Experiments is a list of experiments that are enabled for the deployment.
17981795
// Multiple experiments may be enabled at the same time.

docs/api/schemas.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2566,14 +2566,13 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
25662566

25672567
#### Enumerated Values
25682568

2569-
| Value |
2570-
| ------------------------- |
2571-
| `moons` |
2572-
| `workspace_actions` |
2573-
| `tailnet_ha_coordinator` |
2574-
| `convert-to-oidc` |
2575-
| `single_tailnet` |
2576-
| `workspace_build_logs_ui` |
2569+
| Value |
2570+
| ------------------------ |
2571+
| `moons` |
2572+
| `workspace_actions` |
2573+
| `tailnet_ha_coordinator` |
2574+
| `convert-to-oidc` |
2575+
| `single_tailnet` |
25772576

25782577
## codersdk.Feature
25792578

site/src/api/typesGenerated.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,14 +1436,12 @@ export type Experiment =
14361436
| "single_tailnet"
14371437
| "tailnet_ha_coordinator"
14381438
| "workspace_actions"
1439-
| "workspace_build_logs_ui"
14401439
export const Experiments: Experiment[] = [
14411440
"convert-to-oidc",
14421441
"moons",
14431442
"single_tailnet",
14441443
"tailnet_ha_coordinator",
14451444
"workspace_actions",
1446-
"workspace_build_logs_ui",
14471445
]
14481446

14491447
// From codersdk/deployment.go

site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,11 @@ export const WorkspaceReadyPage = ({
9393
const user = useMe()
9494
const { isWarningIgnored, ignoreWarning } = useIgnoreWarnings(user.id)
9595
const buildLogs = useBuildLogs(workspace)
96-
const dashboard = useDashboard()
9796
const shouldDisplayBuildLogs =
9897
hasJobError(workspace) ||
99-
(dashboard.experiments.includes("workspace_build_logs_ui") &&
100-
["canceling", "deleting", "pending", "starting", "stopping"].includes(
101-
workspace.latest_build.status,
102-
))
98+
["canceling", "deleting", "pending", "starting", "stopping"].includes(
99+
workspace.latest_build.status,
100+
)
103101
const {
104102
mutate: restartWorkspace,
105103
error: restartBuildError,

0 commit comments

Comments
 (0)