Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Build and test the devcontainer in CI

Fechada
#101 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
67/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
docker, github-actions, go
Domínio
ci-cd, devops

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Go
Estrelas
1
Forks
1
Merge médio
5d 2h
PRs com merge (30d)
3

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de TMHSDigital/subenum

Todas as issues de TMHSDigital/subenum

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.