Skip to content

Commit 6de95f4

Browse files
chore(site): remove build logs from experimental (#8619)
1 parent dc8b731 commit 6de95f4

File tree

6 files changed

+4
-17
lines changed

6 files changed

+4
-17
lines changed

coderd/apidoc/docs.go

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/deployment.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -1805,8 +1805,6 @@ const (
18051805
// WARNING: This cannot be enabled when using HA.
18061806
ExperimentSingleTailnet Experiment = "single_tailnet"
18071807

1808-
ExperimentWorkspaceBuildLogsUI Experiment = "workspace_build_logs_ui"
1809-
18101808
// ExperimentTemplateRestartRequirement allows template admins to have more
18111809
// control over when workspaces created on a template are required to
18121810
// restart, and allows users to ensure these restarts never happen during
@@ -1827,9 +1825,7 @@ const (
18271825
// users to opt-in to via --experimental='*'.
18281826
// Experiments that are not ready for consumption by all users should
18291827
// not be included here and will be essentially hidden.
1830-
var ExperimentsAll = Experiments{
1831-
ExperimentWorkspaceBuildLogsUI,
1832-
}
1828+
var ExperimentsAll = Experiments{}
18331829

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

docs/api/schemas.md

-1
Original file line numberDiff line numberDiff line change
@@ -2585,7 +2585,6 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
25852585
| `tailnet_ha_coordinator` |
25862586
| `convert-to-oidc` |
25872587
| `single_tailnet` |
2588-
| `workspace_build_logs_ui` |
25892588
| `template_restart_requirement` |
25902589

25912590
## codersdk.Feature

site/src/api/typesGenerated.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1466,15 +1466,13 @@ export type Experiment =
14661466
| "tailnet_ha_coordinator"
14671467
| "template_restart_requirement"
14681468
| "workspace_actions"
1469-
| "workspace_build_logs_ui"
14701469
export const Experiments: Experiment[] = [
14711470
"convert-to-oidc",
14721471
"moons",
14731472
"single_tailnet",
14741473
"tailnet_ha_coordinator",
14751474
"template_restart_requirement",
14761475
"workspace_actions",
1477-
"workspace_build_logs_ui",
14781476
]
14791477

14801478
// From codersdk/deployment.go

site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx

+3-5
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)