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

[testcontainers]: Emit hawkeye lifecycle events from testcontainer startup/teardown

Đang mở
#8 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@jpoley đang làm issue này rồi.

Từ ngày 18/4/2026.

  • #11 của @jpoley — đang mở

Đá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ả

hawkeye high-priority observability testcontainers

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, timestamp
  • testcontainer.ready — readiness time, health check results
  • testcontainer.test.run — test file, pass/fail, coverage delta
  • testcontainer.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.run event 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

  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 daax-dev/daax-devtools

Tất cả issue của daax-dev/daax-devtools

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.