Clarify the envoy ↔ examples version/publish cycle and break-recovery runbook
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Start with MODULE.bazel and the examples CI configuration that sets ENVOY_VARIANT; inspect the current Envoy module pin and runtime image tag. Choose and document a released Envoy version, update both references to agree, then run the examples CI to confirm it builds against that release. The issue describes the intended publish and break-recovery cycle for documenting any needed guidance.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The cycle
The examples repo and envoy are in a module-publish cycle:
envoy-examples(this repo)bazel_deps onenvoy— a published envoy module version — to buildfilter-cc/wasm-ccagainst the ABI.- envoy's docs module
envoy-docs(docs/MODULE.bazel)bazel_deps onenvoy-examples(a released version) and overrides it to the local examples checkout in CI.
So publish order is tangled — envoy-docs → envoy-examples → envoy, and envoy-docs lives in envoy. Historically this was worked around by publishing an interim envoy mod, then examples, then pointing docs at it, which is error-prone.
Agreed approach (MO)
Each side deliberately tests a different envoy — complementary, not redundant:
- examples pins and tests the last published (released) envoy. The
envoydep inMODULE.bazelis bumped only when there's a specific reason. This verifies what examples actually ships, and decouples publishing (the depended-on envoy always already exists in the registry). - examples' own CI runs the examples against the released envoy image —
ENVOY_VARIANT(shared/envoyisFROM ${ENVOY_IMAGE}:${ENVOY_VARIANT}) points at a released tag, not:dev. Today everything defaults to dev, so examples are only ever tested against last-commit, never against the version they claim to support. - envoy keeps testing its own HEAD × current examples via
verify_examples(local override). This is advisory — it gates by going red, not by blocking PRs (the suite flakes), and that signal is good enough. It's the "did envoy dev just break an example" canary, and it belongs on the envoy side.
What to do when something breaks
envoy HEAD breaks an example (advisory red in envoy verify_examples):
- Fix the example here; envoy's verify picks it up via the local override automatically.
- Only publish an interim examples mod if the fix must exist as a registry version before the normal publish cadence (e.g. for a release).
- If an example is chronically unstable against envoy dev, disable it (precedent: oauth repeatedly broke; mcp was disabled).
examples needs a newer envoy (new feature / deliberate move):
- Bump the
envoydep inMODULE.bazel(and the runtime image) to the needed published version, noting the reason. - If that envoy isn't released yet, this is the interim-envoy path — publish envoy first, then examples.
Notes
- Dependabot can't bump the envoy bazel pin (it dies on the custom envoy bazel-registry), so it's manual.
- The docs build must use
--override_repository(not--override_module) for the example modules — bazel 9.3.2 rejects the latter (see #1635).
Changes to adopt this
-
MODULE.bazel:envoydep from dev snapshot → last released envoy. - examples CI: point
ENVOY_VARIANTat a released tag instead of:dev. - Decide the canonical released tag/version and keep the module pin and runtime image in agreement.
(bot assisted)
- Ngôn ngữ chính
- Shell
- Star
- 75
- Fork
- 39
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 31
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của envoyproxy/examples
-
Flaky example tests (tracking)Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
envoyproxy/examples#1629 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ci: Allocate example host ports dynamically instead of the static 1LLBN schemeCó thể làm lại được @phlax đã nhận 49 ngày trước và không có pull request nào đang mở. Đang mởenhancement
envoyproxy/examples#1516 · 1 reaction · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
envoyproxy/examples#1515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-transcoder sandbox: requirements for resubmissionCó thể làm lại được @phlax đã nhận 49 ngày trước và không có pull request nào đang mở. Đang mởenhancement
envoyproxy/examples#1499 · 3 bình luận · 1 reaction · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a `dynamic-mod-rust` example (Rust dynamic module HTTP filter)Có thể làm lại được @phlax đã nhận 65 ngày trước và không có pull request nào đang mở. Đang mởenhancement
envoyproxy/examples#1440 · 1 reaction · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của envoyproxy/examples
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github/gh-aw-firewall#12415 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
tldr-pages/tldr#25620 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update README: Sentieon version is now set in the conductor config, not the dxapp.json defaultĐang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
source:reader type:content-error
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
stephrobert/blog-roadmap#251 ·