[testcontainers]: Emit hawkeye lifecycle events from testcontainer startup/teardown
Đá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
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- observability, testing
Hướng nghiên cứu
Bắt đầu bằng việc xác định các entry point khởi động và teardown của testcontainer, event bus của hawkeye, cùng các test audit-trail và policy-gate hiện có. Xác định bốn payload của các sự kiện vòng đời và dữ liệu tương quan của chúng trước khi lần theo cách tạo ra các kết quả coverage. Được xem là hoàn tất khi các sự kiện đáp ứng hành vi về timing, khả năng tồn tại sau crash, coverage-gating, audit-trail và blocking được liệt kê trong definition of done.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue: [testcontainers]: Emit hawkeye lifecycle events from testcontainer startup/teardown
Feature: testcontainers
Priority: high
Labels: testcontainers, hawkeye, high-priority, observability
Description
Testcontainers currently have no integration with hawkeye. When a test runs inside a daax testcontainer, hawkeye has no visibility into: which containers started, whether setup succeeded, test coverage produced, or teardown was clean. Hawkeye should receive structured lifecycle events from testcontainer execution so it can enforce quality gates and contribute to the agentic retrospective.
Intel driver: Sofy AI testing agents (sofy.ai, 2026-04-05) — "agents integrate directly into your pipelines and act as MCP agents communicating with other agents." AWS DevOps Agent GA — agent-level observability is becoming a first-class CI concern. Martin Fowler harness engineering — the harness needs to observe the entire test lifecycle.
What
Define hawkeye lifecycle event schema for testcontainers:
testcontainer.started— container ID, image, services, timestamptestcontainer.ready— readiness time, health check resultstestcontainer.test.run— test file, pass/fail, coverage deltatestcontainer.teardown— cleanup success/failure, resource cleanup confirmation
Emit these events via hawkeye's event bus during test execution.
Why
Without this visibility, hawkeye quality gates can't enforce test coverage requirements that span container-level integration tests. The retrospective loop also needs this data to correlate agent-written code with test outcomes.
Definition of Done
- Each lifecycle event is emitted to hawkeye event bus within 100ms of the underlying event
-
testcontainer.test.runevent includes coverage delta (not just pass/fail) - Hawkeye policy can gate on
coverage.delta < -5%(reject if coverage drops by more than 5 points) - Events are visible in hawkeye audit trail with container ID as correlation key
- Test: run a testcontainer that fails coverage gate → hawkeye blocks the agent's next action and emits actionable feedback
- Events survive testcontainer crash (emitted before teardown, not after)
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 daax-dev/daax-devtools
-
[testcontainers]: Implement container pooling with state reset for faster agent test iterationsCó thể đã có người làm @jpoley đã nhận 180 ngày trước. Đang mởmedium-priority performance testcontainers
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
-
[devcontainers]: Implement readiness probe + pre-flight check before agent executionCó thể đã có người làm @jpoley đã nhận 180 ngày trước. Đang mởdevcontainers medium-priority reliability
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
-
[devcontainers]: Define devcontainer spec extension for hawkeye policy injectionCó thể đã có người làm @jpoley đã nhận 180 ngày trước. Đang mởdevcontainers hawkeye high-priority
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
-
devcontainers high-priority
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của daax-dev/daax-devtools
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
homarr-labs/homarr#7191 ·
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 62/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 74/100
AvaProtocol/ava-sdk-js#276 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
useFragment does not require `variables` when the fragment's variables type has required fieldsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
apollographql/apollo-client#13493 ·
Maintainer thường phản hồi trong vòng 1 ngày