Gate backend parity in CI and releases and document supported capabilities

Đang mở
#10,338 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, github-actions, typescript

Hướng nghiên cứu

Start with the listed Cloud Hypervisor workflow files and the architecture, filesystem-sharing, and integration-testing docs. Read #10341 and the merged contract and shared-core changes to understand the accepted matrix and existing checks; then map which backend cells have evidence and which remain unsupported or unverified. Done means the CI and release gates, reports, and docs meet the acceptance criteria without treating missing evidence or skipped required cells as success.

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

Mô tả

Goal

Make parity regressions across Docker, NVX, and Cloud Hypervisor visible and enforceable in routine development and release acceptance. Part of #10335, step 6.

Scope

  • Use the merged #10347 contract and #10342 shared-core extraction as the baseline. Neither supplies Docker host-executor migration, NVX enclave support, general/private Cloud Hypervisor enclave acceptance, or a full live conformance certificate.
  • Run shared deterministic contract/harness checks on relevant PRs and Docker integration routinely.
  • Run privileged VM checks on explicitly eligible runners under existing approval and provenance rules; run the complete reviewed three-backend matrix before release.
  • Ensure shared-core, entrypoint, schema, broker, networking, storage, and harness changes select all affected backend jobs, not just the backend named in a path.
  • Publish comparable backend/workload/scenario/outcome/cleanup reports and retain protected diagnostic evidence safely.
  • Make unavailable prerequisites, unsupported capabilities, and not-validated cases explicit; required supported cells must not silently skip to green.
  • Keep routine fixture-based checks separate from explicitly authorized credential-bearing real-provider acceptance. Never expose secrets to untrusted PR workloads.
  • Update existing architecture, configuration, filesystem-sharing, integration-testing, and backend documentation to reflect verified capabilities, host restrictions, execution ownership, and recovery behavior.
  • Preserve preview and acceptance gates until real evidence supports promotion; do not equate passing unit tests or successful boot with isolation acceptance.
  • Maintain separate capability status (implemented/gated/unsupported/unverified) and validation outcome/evidence kind. Only reviewed supported cells may be required to pass; record unsupported target cells as outstanding parity work, not skipped successes. Exercise named Cloud Hypervisor public-fixture/release-conformance predicates without widening them or claiming private-repository acceptance.
  • Record the actual backend, role/combination, host, artifact identity and applicable gate. A warning-emitting Cloud Hypervisor primary-only unsupported-host fallback is characterized behavior, but its Docker result cannot satisfy a Cloud Hypervisor release cell. Enclave and NVX fallback remains forbidden; artifact-trust failures remain fatal.
  • Document the current accounting/storage gaps accurately: disclosure/executor counters are in-memory, tool-call persistence is best-effort, and Docker aggregate writable-output acceptance remains unverified until #10340 supplies evidence. Do not advertise durable non-refilling budgets or aggregate enforcement from mocked policy/per-file/tmpfs checks.

Starting points

  • /home/runner/work/gh-aw-firewall/gh-aw-firewall/.github/workflows/test-cloud-hypervisor-enclaves.yml
  • /home/runner/work/gh-aw-firewall/gh-aw-firewall/.github/workflows/test-cloud-hypervisor.yml
  • /home/runner/work/gh-aw-firewall/gh-aw-firewall/docs/enclaves-architecture.md
  • /home/runner/work/gh-aw-firewall/gh-aw-firewall/docs/filesystem-sharing-contract.md
  • /home/runner/work/gh-aw-firewall/gh-aw-firewall/docs/INTEGRATION-TESTS.md

Acceptance criteria

  • Relevant PRs run deterministic checks and required eligible integration checks with backend-complete change selection.
  • Release acceptance requires passing supported Docker/NVX/Cloud Hypervisor matrix cells and verified cleanup.
  • A single report makes backend-specific failures and missing validation obvious.
  • Gating tests prevent silent skips, missing required scenarios, and unapproved privileged/secret-bearing execution.
  • Documentation matches observed support and explicitly distinguishes functional/policy parity from isolation strength.
  • Existing generated-workflow compilation/post-processing conventions are followed where agentic workflow sources change.
  • Reports and gates preserve the contract's support/evidence distinctions and intentional resource/image/GitHub capability differences; missing live identity/resource/recovery evidence remains visible.

Dependencies

The contract (#10339 via #10347) and shared core (#10336 via #10342) are merged. Begin deterministic CI and reporting incrementally with #10341; add backend acceptance as #10340 and #10337 deliver it. Final target-parity release gating depends on those migrations and #10341's accepted matrix, not on treating currently unsupported/unverified cells as already enabled. Any promotion or change to the characterized fallback/accounting behavior must be explicit and reviewed.

Ngôn ngữ chính
TypeScript
Star
169
Fork
89
Merge trung bình
5 giờ 18 phút
Pull request đã merge (30 ngày)
450

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 github/gh-aw-firewall

Tất cả issue của github/gh-aw-firewall

Issue tương tự

Thêm issue về TypeScript

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.