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

Build and test the devcontainer in CI

Đã đóng
#101 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ó
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
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, go
Lĩnh vực
ci-cd, devops

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ả

ci testing

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) uses mcr.microsoft.com/devcontainers/go:1.26-bookworm, and its postCreateCommand installs 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

Mở trong Codespaces

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.

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 TMHSDigital/subenum

Tất cả issue của TMHSDigital/subenum

Issue tương tự

Thêm issue về Go

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.