Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

BReg docs: the WASM upgrade step points at a compatibility member that explain no longer emits

Đang mở Phù hợp với người mới
#2,233 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
88/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, wasm
Lĩnh vực
documentation

Hướng nghiên cứu

Đọc products/breg/wasm-action-handlers.md, đặc biệt là phần giới thiệu, bước 4 của “Upgrade” và phần “Build support”; so sánh cách diễn đạt với products/breg/contracts/explain/ActionsExplanation.schema.json. Cập nhật phần giới thiệu và bước nâng cấp để mô tả hành vi hiện tại, đồng thời trỏ đến vị trí thực tế có nêu yêu cầu máy chủ tối thiểu. Hoàn tất khi hướng dẫn không còn nhắc đến thành viên compatibility được phát ra hoặc hợp đồng tương thích đã lỗi thời.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:breg documentation

products/breg/wasm-action-handlers.md, step 4 of "Upgrade" (line 109), tells an author to
"record the minimum server requirement (the compatibility member states it)". Nothing emits a
compatibility member today. bregctl explain actions describes a WASM Function under
plan.function with kind, sourceModule, abi, writes, refusals, id, entrypoint,
capabilities, boundInputs and source, and
products/breg/contracts/explain/ActionsExplanation.schema.json allows no other member
(additionalProperties: false). The guide's own "Build support" section already describes the
current behavior: a build without the wasm feature refuses a WASM-bearing package at admission
or rederivation. The guide's introduction (line 4) still says it covers "the server-compatibility
contract", which that section replaced.

Repro: run bregctl explain actions --format json on any project whose Action plan names a
runtime: wasm Function, and search the output for compatibility. There is none.

Expected: the upgrade step says where the minimum server requirement is recorded, or drops the
reference. For example: "Author wasm-handler packages with the SDK. A server that predates WASM
support, or a build without the wasm feature, refuses the package during load, before an
invocation or attempt audit can exist." The introduction names the "Build support" section
instead of a compatibility contract.

Likely fix: edit products/breg/wasm-action-handlers.md lines 4 and 108 to 111. If a minimum
server version is still meant to be published, say where (release notes or the package
metadata) rather than naming an explain member. Close or narrow #1278's first item to the
handler members that exist.

Tests: none beyond the docs checks; the explain contract test already holds the schema.

Ngôn ngữ chính
Rust
Star
2
Fork
0
Merge trung bình
10 giờ 32 phút
Pull request đã merge (30 ngày)
269

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của registrystack/registry-stack

Tất cả issue của registrystack/registry-stack

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.