Skip to content

cli: merge dx codegen into dx env - #5262

Merged
TrapsterDK merged 1 commit into
mainfrom
issue-5232-env-codegen
Nov 2, 2026
Merged

TrapsterDK merged 1 commit into
mainfrom
issue-5232-env-codegen

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Closes #5232

  • dx env runs one Bazel build with the env and codegen aspects and selects both setup sides. With one exact label it also builds the codegen shards that depend on it.
  • dx codegen is deleted (registry, grammar, dispatch, completion, watch, upgrade hints, devcontainer scaffold, CI check).
  • One page: docs/cli/commands/env.md (renamed from environment-codegen.md), now holding the codegen pairs from generate.md.
  • dx generate stays. It runs Gazelle alone and has diff output, which neither env nor check give.

Tests: //cli/plan:dx_plan_test, //cli/cli:dx_cli_test, //cli/adopt:dx_adopt_test and startup_consistency_test pass for everything this PR touches. Failures that are already on main and unrelated: codegen_expand openapi ordering, about 20 dx_cli_test cases (umbrella/affected/init), dx_adopt_test module pins, clippy in slots.rs/update_consumer.rs, unused test-only items in notice_codes.rs, and the docs site's dangling module-families.md link.

🤖 Generated with Claude Code

https://claude.ai/code/session_011u9TXHDZrfmzFQ2WT8QAKK

dx env now collects managed tools, env values and generated source in one
Bazel build and selects both sides of the setup. dx codegen is deleted.
One doc page, docs/cli/commands/env.md, covers it, including the codegen
pairs moved out of generate.md. dx generate stays: it runs Gazelle alone
and has diff output, which env and check do not give.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011u9TXHDZrfmzFQ2WT8QAKK
@TrapsterDK
TrapsterDK force-pushed the issue-5232-env-codegen branch from 1d7297d to 5b6b794 Compare November 2, 2026 21:32
@TrapsterDK
TrapsterDK merged commit 1a6d4a5 into main Nov 2, 2026
3 of 38 checks passed
@TrapsterDK
TrapsterDK deleted the issue-5232-env-codegen branch November 2, 2026 21:33
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.

cli: merge dx env and dx codegen into one command

1 participant