Build and test the devcontainer in CI
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 67/100
Hướng nghiên cứu
Read the existing workflow files and .devcontainer/devcontainer.json, then check the repository’s path-filter and scheduled workflow conventions. Add a SHA-pinned devcontainers/ci job that builds the devcontainer and runs make test and ./subenum -simulate example.com inside it; done when CI runs those checks on relevant changes and weekly.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Why it matters
The README's "Open in Codespaces" badge and the Labs page tell students and new contributors that the devcontainer gives them a working make test and ./subenum. Nothing checks that, so a broken image tag or postCreateCommand would only show up when someone opens a Codespace.
Evidence
.devcontainer/devcontainer.json(#75) usesmcr.microsoft.com/devcontainers/go:1.26-bookworm, and itspostCreateCommandinstalls golangci-lint v2.14.0 and builds the binary.- When it was added, only the image tag's existence and the commands themselves (run on Windows) were checked. Docker was not available, so the container was never built.
- CI builds the release Dockerfile but not the devcontainer.
Suggested approach
Add a CI job (path-filtered to .devcontainer/**, plus a weekly schedule) using devcontainers/ci. It should build the container and run make test and ./subenum -simulate example.com inside it. Pin the action by SHA, like the other workflows.
Done when
A CI job builds the devcontainer and runs the test suite and a simulate scan inside it.
- Ngôn ngữ chính
- Go
- Star
- 1
- Fork
- 1
- Merge trung bình
- 5 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 3
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
- 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 TMHSDigital/subenum
-
area: cli enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
TMHSDigital/subenum#136 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TMHSDigital/subenum#135 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: dns enhancement good first issue
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 90/100
TMHSDigital/subenum#134 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community marketing priority: low
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
TMHSDigital/subenum#132 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature priority: low
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
TMHSDigital/subenum#131 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TMHSDigital/subenum
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
vanderheijden86/b9s#20 ·
-
go-battery needs an ndsctl on PATH: TestPurchaseSessionGuardHoldsThroughTheOutcomeUnknownWindow fails on bare hosts (passes with stub)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenTollGate/tollgate-module-basic-go#726 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ux waiting for feedback
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
evcc-io/evcc#34527 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
phase:v3 type:harness
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày