Add a `doctor` command
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/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, node.js, typescript
Hướng nghiên cứu
Start with the package manifest at packages/testcontainers/package.json and the bug report template at .github/ISSUE_TEMPLATE/bug_report.md. Read the work in #1571 for per-strategy rejection reasons and coordinate with #1569 on effective configuration. Done means the new npx testcontainers doctor command prints the listed runtime, configuration, registry, Ryuk, Compose, Node, and platform details, and the bug report template asks for its output.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens
Diagnosing an environment problem means reading debug logs. The bug report template asks for the full DEBUG=testcontainers* output plus the OS, runtime, Node version and test runner, typed in by hand. There is no single place that shows what Testcontainers detected.
Expected
A command that prints a diagnosis that can be pasted into an issue:
npx testcontainers doctor
- the runtime strategy chosen, and why the others were rejected
- host, socket path, host IPs, runtime name and version
- which configuration is in effect, from environment variables and
.testcontainers.properties - whether registry credentials were found for the default registry
- whether Ryuk can be started and reached
- whether Docker Compose is available, and its version
- Node version and platform
The bug report template then asks for this output.
Where
- a new
binentry inpackages/testcontainers/package.json .github/ISSUE_TEMPLATE/bug_report.md
Notes
- The package has no
bintoday. - The same data could be exposed as a function for use in a test setup file.
Dependencies
- Blocked by #1571: it prints the per-strategy reasons that issue collects.
- Coordinate with #1569: for reporting the effective configuration.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.6k
- Fork
- 274
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 44
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- 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 testcontainers/testcontainers-node
-
enhancement minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
testcontainers/testcontainers-node#1539 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
testcontainers/testcontainers-node#1533 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
testcontainers/testcontainers-node#1531 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
testcontainers/testcontainers-node#1529 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
testcontainers/testcontainers-node#1528 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của testcontainers/testcontainers-node
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/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
Maintainer thường phản hồi trong vòng 1 ngày
-
bug category:ai category:devices effort:s
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
LanternOps/breeze#8943 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
area:reliability difficulty:easy help wanted points:100 Stellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Divinity-Labs/Lens#341 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày