devcontainers / devcontainers/cli

Wrap lifecycle hooks and other operations in `start`/`stop` log messages

Aperta
#129 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
feature-request
Lingua principale
TypeScript
Stelle
3k
Fork
457
Merge medio
13h 17m
PR unite (30g)
6

Descrizione

Recently Codespaces has gotten several reports where the root cause was difficult to debug. It would be useful if the logs emitted from the CLI clearly mark the start and end of a lifecycle script - perhaps like the following:

```
--- starting to execute 'postCreateCommand' script 'foo'

... foo output...

--- 'postCreateCommand' script 'foo' exited code 0
```

This would be particularly helpful in cases where `foo` does not emit any logs.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by tracing where the CLI executes lifecycle scripts and where it currently emits related logs. Define the start and completion messages for scripts such as postCreateCommand, including the command name and exit code, then verify that silent scripts are clearly bounded in the CLI output.

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

Valutazione

Stack tecnologico
typescript
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.