Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Build and test the devcontainer in CI

Chiusa
#101 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
67/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, github-actions, go
Ambito
ci-cd, devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
1
Fork
1
Merge medio
5g 2h
PR unite (30g)
3

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TMHSDigital/subenum

Tutte le issue di TMHSDigital/subenum

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.