Add a `doctor` command
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- docker, node.js, typescript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 2.6k
- Fork
- 274
- Merge medio
- 1g 14h
- PR unite (30g)
- 44
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di testcontainers/testcontainers-node
-
enhancement minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
testcontainers/testcontainers-node#1539 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
testcontainers/testcontainers-node#1533 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
testcontainers/testcontainers-node#1531 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
testcontainers/testcontainers-node#1529 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
testcontainers/testcontainers-node#1528 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di testcontainers/testcontainers-node
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
juice-shop/juice-shop#3686 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
dsh-market/dsh-market#877 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
ScottKirvan/GOMAC#61 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
stellar/stellar-dev-skill#151 ·
I maintainer di solito rispondono entro 1 giorno