Repository navigation
docs: Avro schema docs shard from the doc attribute and idl2schemata (closes #9936) - #9972
Merged
Merged
Conversation
…loses #9936) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B
TrapsterDK
force-pushed
the
avro-docs-shard
branch
from
November 9, 2026 16:33
3b29f23 to
2f205eb
Compare
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.
Closes #9936.
avro_doc_shard(avro, package)reads thedocattribute of each.avscwith a new Rust extractor (tools/docs/avro/extract, serde_json)..avdlfiles first go through the pinned avro-tools (//config:tool_avro,idl2schemata) into a tree artifact, then the same extractor. Record -> class, field -> field, enum -> enum, symbol -> variant, fixed -> type alias, protocol -> interface, message -> method; ids start with the namespace. Enum symbols have no doc in Avro, so they are marked incomplete.Also:
docsaspect branch onAvroInfo.direct_srcs, fixture with an.avscand an.avdl, crate registered and locks repinned with Bazel,languages.bzldoc tool,docs.mdrow, generation README paragraph, regenerated support matrix.Tested:
//tools/docs/avro/...(extractor unit tests, shard test),//quality/testdata:real_docs_shards, support_matrix facts/generate tests.macro_rows_testfails with "BENCH is not a dict" (#9951). Nested-Bazel and consumer tests were not run.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hwESun1HL2eSVd1d5B