Repository navigation
prebuilt: api_spec preflight and oapi driver run as dx subcommands (part of #13154) - #13423
Merged
Merged
Conversation
…art of #13154) The api_spec preflight and the oapi-codegen driver become one library crate linked into dx; the rules call `dx api_spec_preflight` and `dx oapi_codegen` from @dx_prebuilt//:dx. cargo-bazel-lock.json regenerated with CARGO_BAZEL_REPIN=workspace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #13154.
api_spec/private/codegen: preflight and oapi-codegen driver are onerust_library(api_spec_codegen), linked into dx.dx api_spec_preflightanddx oapi_codegenregistered incli/cli/src/multicall.rs;api_spec/private/codegen.bzlruns them from@dx_prebuilt//:dx.cargo-bazel-lock.jsonregenerated with Bazel (CARGO_BAZEL_REPIN=workspace).Tests run locally:
bazel test //api_spec/private/codegen:all //api_spec/tests:all //cli/cli:dx_cli_test: all pass except//api_spec/tests:client_ts_test_typecheck_test, which fails on--isolatedDeclarationserrors in redocly's generatedclient.ts(output this PR does not change).tools/dx check --affected: generate fails in untouched files (d/private/fuzz,erlang/tests/conformance/lock,cli/os_sys).Remaining for #13154:
file, needs an argv[0] alias🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K