🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

feat(coderd/templatebuilder): author initial module catalog for 19 modules - #26194

Merged
jeremyruppel merged 4 commits into
mainfrom
jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for
Jun 15, 2026
Merged

feat(coderd/templatebuilder): author initial module catalog for 19 modules#26194
jeremyruppel merged 4 commits into
mainfrom
jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for

Conversation

@jeremyruppel

@jeremyruppel jeremyruppel commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Note

This PR was authored by Coder Agents on behalf of @jeremyruppel.

Runs the scripts/modulegen generator against the coder/registry to produce the initial module catalog for the template builder. Generates module.json and .tf.tmpl files for 19 modules across four categories:

  • IDE: code-server, jetbrains, vscode-desktop, vscode-web, cursor, windsurf, zed, kiro
  • AI Agent: claude-code, aider, goose, amazon-q
  • Source Control: git-clone, git-config, git-commit-signing
  • Utility: dotfiles, personalize, filebrowser, jupyterlab

Also updates catalog_test.go to validate the new embedded modules load correctly.

@linear-code

linear-code Bot commented Jun 9, 2026

Copy link
Copy Markdown

DEVEX-274

@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from c2001ae to 9b5edc9 Compare June 9, 2026 20:56
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch from a22ee04 to 30c756d Compare June 9, 2026 20:56
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from 9b5edc9 to b1e1078 Compare June 9, 2026 21:13
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch 2 times, most recently from 4679a0b to fe5d6b4 Compare June 9, 2026 21:23
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from b1e1078 to 6a591ad Compare June 9, 2026 21:23
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch from fe5d6b4 to 78166e5 Compare June 9, 2026 21:26
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from 6a591ad to e1dff0c Compare June 9, 2026 21:26
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Docs preview

📖 View docs preview for docs/reference/api/schemas.md

@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch from 3b2c50b to 7786eb2 Compare June 9, 2026 22:06
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from e1dff0c to 36a2669 Compare June 9, 2026 22:06
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch from 7786eb2 to ebeeeb9 Compare June 9, 2026 22:09
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from 36a2669 to 04eb9f8 Compare June 9, 2026 22:09
@jeremyruppel
jeremyruppel marked this pull request as ready for review June 9, 2026 22:13
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from 04eb9f8 to bf3751c Compare June 9, 2026 22:19
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch from ebeeeb9 to 5825947 Compare June 9, 2026 22:19
@jeremyruppel

Copy link
Copy Markdown
Contributor Author

reviewers, hark! these are all generated by the modulegen script introduced in #26193. any bug here is either a bug in the script or a data discrepancy in the registry. the additional, template-builder-specific module data can be found here:

var moduleConfigs = map[string]ModuleConfig{
"code-server": {Category: "IDE", CompatibleOS: []string{"linux"}, ConflictsWith: []string{"vscode-web"}},
"jetbrains": {Category: "IDE", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"vscode-desktop": {Category: "IDE", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"vscode-web": {Category: "IDE", CompatibleOS: []string{"linux"}, ConflictsWith: []string{"code-server"}},
"cursor": {Category: "IDE", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"windsurf": {Category: "IDE", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"zed": {Category: "IDE", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"kiro": {Category: "IDE", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"claude-code": {Category: "AI Agent", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"aider": {Category: "AI Agent", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"goose": {Category: "AI Agent", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"amazon-q": {Category: "AI Agent", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"git-clone": {Category: "Source Control", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"git-config": {Category: "Source Control", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"git-commit-signing": {Category: "Source Control", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"dotfiles": {Category: "Utility", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"personalize": {Category: "Utility", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"filebrowser": {Category: "Utility", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
"jupyterlab": {Category: "Utility", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},
}

@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from e825063 to 82ef5b9 Compare June 12, 2026 17:20
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch from 5825947 to 264fc80 Compare June 12, 2026 17:20
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from 82ef5b9 to 323abf2 Compare June 12, 2026 21:20
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch 2 times, most recently from 35467e6 to 92c917f Compare June 12, 2026 21:42
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from 323abf2 to 29cf034 Compare June 12, 2026 21:42
Implement the bases listing endpoint for the template builder. Returns
base templates from the bundled catalog with OS metadata resolved from
the exampleID->OS map. The endpoint is gated behind the template builder
feature flag and returns 404 when disabled.
…talog

Reusable Go script that reads the Coder registry repo and generates
module.json and .tf.tmpl files for the template builder catalog. Parses
variable declarations from main.tf, frontmatter from README.md, and
pinned versions from git tags.

Usage:
  go run ./scripts/modulegen/ -registry /path/to/registry -output coderd/templatebuilder/modules

Handles escaped quotes and heredoc descriptions, skips variables with
heredoc defaults (cannot be represented in the builder UI), uses numeric
semver sorting for version tags, and exits non-zero on failures.
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch from 92c917f to 413a614 Compare June 12, 2026 22:00
@jeremyruppel
jeremyruppel force-pushed the jeremy/devex-274a-scripts-modulegen-generator branch from 29cf034 to a4865da Compare June 12, 2026 22:01

jeremyruppel commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

@jeremyruppel
jeremyruppel changed the base branch from jeremy/devex-274a-scripts-modulegen-generator to graphite-base/26194 June 15, 2026 13:25
@jeremyruppel
jeremyruppel changed the base branch from graphite-base/26194 to main June 15, 2026 13:26
@jeremyruppel
jeremyruppel merged commit 1cdb7ed into main Jun 15, 2026
33 of 35 checks passed
@jeremyruppel
jeremyruppel deleted the jeremy/devex-274-be-author-initial-module-catalog-modulejson-tftmpl-for branch June 15, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants