Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b23d73d

Browse files
docs: retire the generated feature stage lists (#29113)
## Problem `docs/install/releases/feature-stages.md` advertised two generated lists, and neither one earned its place: - **Available early access features** rendered "Currently no experimental features are available." The generator read `ExperimentsSafe`, which is empty, while `ExperimentsKnown` in `codersdk/deployment.go` defines fourteen experiments. The page told readers no experimental features existed, which is false. - **Available beta features** rendered a table built from `state: beta` nodes in `docs/manifest.json`. It is only as accurate as those flags, which are easy to forget when a feature graduates. Both are drift surfaces that promise a completeness the docs cannot maintain. ## Change Retire the indexes rather than repair them: - Delete `scripts/release/docs_update_feature_stages.sh`. - Remove both generated sections from `feature-stages.md`, along with their `BEGIN`/`END` markers and `DO NOT EDIT` banners. - Drop the `docs/install/releases/feature-stages.md` Makefile target and its two generated-files-list entries, so the page is no longer treated as generated. The page keeps everything that describes the stages themselves: the stage comparison table, the early access / beta / GA guidance, and the `--experiments` enabling instructions. Nothing else links to the removed anchors. ## Verification - `make gen` leaves no unstaged changes beyond the three intended edits. - `pnpm run lint-docs` passes with 0 errors; `markdown-table-formatter` reports no formatting to apply. - `grep` confirms no remaining references to the deleted script, and no inbound links to `#available-beta-features` or `#available-early-access-features`. ## Context Supersedes #28949, which took the opposite approach and generated the experiments list from `ExperimentsKnown`. Following discussion with David, the decision is not to advertise either list. <details> <summary>Decision log</summary> **Why not fix the experiments list instead?** That was #28949: a new `scripts/experimentsdocgen` generator plus a committed `docs/experiments.json`, generating the table from `ExperimentsKnown` with descriptions parsed out of the constants' comments. It worked, but it made the docs responsible for tracking an internal, unstable surface. Experiments are by definition subject to removal or rename without notice, and several of the constant comments are developer notes rather than user-facing prose. **Why remove the beta table too?** The original ask covered the experiments list. The beta table shares the same failure mode: it is a completeness claim maintained by proxy, through `state` flags in `docs/manifest.json`, with nothing that fails when a feature ships to GA and the flag is not updated. Deleting the script removes both, and David confirmed retiring both lists. **Why remove the Makefile target rather than leave a no-op?** With no generated regions left in the file, keeping the target would mean the `make -B gen` unstaged-files check still guards a page nothing generates. Removing it lets the page be edited as ordinary prose. **What was deliberately left alone.** The `state: beta` flags in `docs/manifest.json` stay: they drive badges elsewhere in the docs and are not part of this change. `ExperimentsSafe` and `ExperimentsKnown` in `codersdk` are untouched. The feature-stage definitions and the `--experiments` instructions stay, since readers still need to know what the stages mean and how to opt in, and that content does not go stale as features move between stages. </details> I have read the AI Contribution guidelines. --- Linear: [DOCS-878](https://linear.app/codercom/issue/DOCS-878/remove-the-feature-stages-generator-script-and-retire-the-generated) 🤖 Generated with Coder Agents on behalf of @nickvigilante. <details> <summary>CI note: unrelated flakes on the first run</summary> The initial run of `test-go-pg-17` failed in `cli` and `coderd`: - `TestSSH_OneShotCommandMode/{ClosesStdinOnEOF,DoesNotRequestPTY,PropagatesExitCode,RequestsPTYWithFlag}` - `TestWorkspaceUpdateAutostart/{DST_start,friday_to_monday,monday_to_tuesday}` - `TestWorkspaceFilterManual/FilterQueryHasAgentTimeout` - The `cli` package then hit `panic: test timed out after 25m0s`. This PR changes no Go code and no CI configuration; the diff is one deleted shell script, one Markdown page, and the Makefile wiring between them. Re-running the failed jobs turned everything green with no code changes. </details>
1 parent 65d01ef commit b23d73d

3 files changed

Lines changed: 0 additions & 216 deletions

File tree

Makefile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,6 @@ GEN_FILES := \
10151015
docs/admin/integrations/prometheus.md \
10161016
docs/reference/cli/index.md \
10171017
docs/admin/security/audit-logs.md \
1018-
docs/install/releases/feature-stages.md \
10191018
docs/admin/setup/configuration-reference.md \
10201019
coderd/apidoc/swagger.json \
10211020
docs/manifest.json \
@@ -1114,7 +1113,6 @@ gen/mark-fresh:
11141113
docs/admin/integrations/prometheus.md \
11151114
docs/reference/cli/index.md \
11161115
docs/admin/security/audit-logs.md \
1117-
docs/install/releases/feature-stages.md \
11181116
docs/admin/setup/configuration-reference.md \
11191117
coderd/apidoc/swagger.json \
11201118
docs/manifest.json \
@@ -1351,17 +1349,6 @@ docs/admin/security/audit-logs.md: node_modules/.installed coderd/database/queri
13511349
pnpm exec markdown-table-formatter "$$tmpfile" && \
13521350
mv "$$tmpfile" "$@" && rm -rf "$$tmpdir"
13531351

1354-
docs/install/releases/feature-stages.md: \
1355-
node_modules/.installed \
1356-
scripts/release/docs_update_feature_stages.sh \
1357-
codersdk/deployment.go \
1358-
docs/manifest.json | _gen
1359-
tmpdir=$$(mktemp -d -p _gen) && tmpfile=$$(realpath "$$tmpdir")/$(notdir $@) && cp "$@" "$$tmpfile" && \
1360-
./scripts/release/docs_update_feature_stages.sh "$$tmpfile" && \
1361-
pnpm exec markdownlint-cli2 --fix "$$tmpfile" && \
1362-
pnpm exec markdown-table-formatter "$$tmpfile" && \
1363-
mv "$$tmpfile" "$@" && rm -rf "$$tmpdir"
1364-
13651352
docs/admin/setup/configuration-reference.md: node_modules/.installed $(wildcard scripts/configdocgen/*.go) $(wildcard codersdk/*.go) _gen/bin/configdocgen | _gen
13661353
tmpdir=$$(mktemp -d -p _gen) && tmpfile=$$(realpath "$$tmpdir")/$(notdir $@) && \
13671354
_gen/bin/configdocgen --out="$$tmpfile" && \

docs/install/releases/feature-stages.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,6 @@ You can opt-out of a feature after you've enabled it.
6060

6161
</details>
6262

63-
### Available early access features
64-
65-
<!-- Code generated by scripts/release/docs_update_feature_stages.sh. DO NOT EDIT. -->
66-
<!-- BEGIN: available-experimental-features -->
67-
Currently no experimental features are available.
68-
<!-- END: available-experimental-features -->
69-
7063
## Beta
7164

7265
- **Stable**: No
@@ -98,16 +91,6 @@ Most beta features are enabled by default. Beta features are announced through
9891
the [Coder Changelog](https://coder.com/changelog), and more information is
9992
available in the documentation.
10093

101-
### Available beta features
102-
103-
<!-- Code generated by scripts/release/docs_update_feature_stages.sh. DO NOT EDIT. -->
104-
<!-- BEGIN: available-beta-features -->
105-
| Feature | Description |
106-
|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
107-
| [MCP Server](../../ai-coder/mcp-server.md) | Connect external AI coding agents to Coder using its built-in Model Context Protocol server. |
108-
| [JetBrains Toolbox](../../user-guides/workspace-access/jetbrains/toolbox.md) | Connect to and manage your Coder workspaces from the JetBrains Toolbox app. |
109-
<!-- END: available-beta-features -->
110-
11194
## General Availability (GA)
11295

11396
- **Stable**: Yes

scripts/release/docs_update_feature_stages.sh

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)