Add comprehensive FlatBuffers documentation page
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
まず、既存の FlatBuffers スキーマリファレンス、Python API リファレンス、および提案されている docs/wamp/flatbuffers.rst の場所を確認してください。参照されているディレクトリ autobahn/flatbuffers/、autobahn/wamp/flatbuffers/*.fbs、deps/flatbuffers と、hatch_build.py のビルドコマンドを確認してください。新しいページが、列挙されているランタイム、コンパイラ、スキーマ、同期、ビルド、トラブルシューティングのトピックをカバーし、関連するドキュメントセクションからリンクされていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
Create a dedicated documentation page explaining autobahn-python's FlatBuffers features, bundled flatc compiler, and
integration with the WAMP ecosystem.
Background
autobahn-python now includes significant FlatBuffers functionality that is not well-documented:
- Bundled
flatccompiler in binary wheels (since v25.12.x) - Vendored FlatBuffers runtime for serialization
- WAMP FlatBuffers schemas for efficient binary serialization
- Cross-project version synchronization with zlmdb
Currently, FlatBuffers information is scattered across:
Proposed Documentation Content
1. Overview Section
- What is FlatBuffers and why autobahn-python uses it
- Benefits: zero-copy access, efficient serialization, cross-language compatibility
- Use cases: WAMP binary serialization, high-performance messaging
2. Bundled flatc Compiler
- Feature: Wheels include a pre-compiled
flatcexecutable; source installs compile it fromdeps/flatbuffers - Usage: After
pip install autobahn, runflatc --version - Platform support: Linux (x86_64, aarch64), macOS (arm64), Windows (x86_64)
- ISA requirements: Need GLIBC 2.28+ (e.g., Ubuntu 20.04+, Debian 11+, RHEL 8+)
- Linux x86_64: manylinux_2_28 (GLIBC 2.28+)
- Linux aarch64: manylinux_2_28 (GLIBC 2.28+)
- Benefits: No need to install system-wide flatc, version matches vendored runtime
- Source builds: Require
cmaketo compile flatc from deps/flatbuffers during install
3. Vendored FlatBuffers Runtime
- Version tracking:
autobahn.flatbuffers.version()returns exact version tuple - Location:
autobahn/flatbuffers/(vendored from google/flatbuffers) - Includes reflection schema (
reflection.fbs,reflection.bfbs)
4. WAMP FlatBuffers Schemas
- Schema files location:
autobahn/wamp/flatbuffers/*.fbs - Available schemas:
wamp.fbs,session.fbs,auth.fbs,pubsub.fbs,rpc.fbs,roles.fbs,types.fbs - Binary schemas (
.bfbs) generated at wheel build time - Link to existing schema reference
documentation
5. Cross-Project Version Synchronization
- autobahn-python and zlmdb share the same FlatBuffers version
- Verification function:
autobahn.check_zlmdb_flatbuffers_version_in_sync() - Why this matters: cfxdb and Crossbar.io depend on both libraries
- Example usage:
import autobahn version = autobahn.check_zlmdb_flatbuffers_version_in_sync() print(f"FlatBuffers version: {version}") # e.g., (25, 9, 23, None, None)
- Development & Build Information
- FlatBuffers source: deps/flatbuffers git submodule (tracks google/flatbuffers)
- Build process: hatch_build.py compiles flatc during both wheel and source builds
- Updating vendored FlatBuffers: just bump-flatbuffers
- Testing bundled flatc: just test-bundled-flatc
- Troubleshooting
- "flatc not found after source install": Ensure cmake is installed before pip install
- Version mismatch with zlmdb: Update both packages to latest versions
- GLIBC errors on old Linux: Need GLIBC 2.28+ (e.g., Ubuntu 20.04+, Debian 11+, RHEL 8+)
Documentation Location
Suggested location: docs/wamp/flatbuffers.rst (or docs/flatbuffers.rst if scope extends beyond WAMP)
Should be linked from:
- Main documentation index
- WAMP serialization documentation
- Installation guide (mention bundled flatc)
Related
- #1817 - FlatBuffers vendoring verification
- #1821 - CI/CD and FlatBuffers sync with zlmdb
- #1822 - Synchronize CI/CD, FlatBuffers vendoring between autobahn-python and zlmdb
- crossbario/zlmdb#100 - Sync autobahn-python and zlmdb
Checklist
- I have searched existing issues to avoid duplicates
- I have described the problem clearly
- I have provided use cases
- I have considered alternatives
- I have assessed impact and breaking changes
- 主要言語
- Python
- スター
- 2.5k
- フォーク
- 769
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 15
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
crossbario/autobahn-python のほかの issue
-
CI-CD enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
crossbario/autobahn-python#1945 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug CI-CD
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
crossbario/autobahn-python#1932 ·
メンテナーはふだん 1 日以内に返信
-
CI-CD enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
crossbario/autobahn-python#1829 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
autobahn/__init__.py eagerly imports flatbuffers → numpy is loaded in every process (for v25.12.1 and later)対応中かも @oberstet が今日担当しました。 オープンenhancement websocket
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
crossbario/autobahn-python#1983 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
crossbario/autobahn-python#1963 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
crossbario/autobahn-python の issue をすべて見る
似ている issue
-
[Bug]: LangGraph Store sync put bypasses namespace validation対応中かも @ktz03 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
volcengine/OpenViking#6050 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Streamed /v1/chat/completions sends unredacted agent error text (keys) in the final chunk対応中かも @rodricksz4h5 が今日担当しました。 オープンarea/streaming comp/gateway P2 type/security
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NousResearch/hermes-agent#138245 ·
メンテナーはふだん 1 日以内に返信
-
[oblt-aw][autodoc] Update user onboarding guide for mandatory trigger CODEOWNERS step対応中かも @github-actions が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
correction metadata
難易度 2/5 1時間未満 初心者へのやさしさ 68/100
acl-org/acl-anthology#10378 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
cloudtrail_multi_region_enabled_logging_management_events fails when the advanced event selector has a custom name対応中かも @12YYCCYY16 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
prowler-cloud/prowler#13033 ·
メンテナーはふだん 1 日以内に返信