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

Detect lack of internet

Aperta
#684 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
cli, networking

Direzione di ricerca

The issue names no files or tests. Start by reproducing tea -S without an internet connection and trace the current network-error path; done means users see a clear offline message and retry guidance instead of the generic panic screen and issue-report prompt.

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

Descrizione

enhancement

ATM if you try to do any internet bound command line tea -S and there's no internet connection tea will report its usual error screen:

panic: spilt tea. we’re sorry and we’ll fix it… but you have to report the bug!
    https://github.com/teaxyz/cli/issues/new?title=panic%3Aerror+sending+request+for+url+(https%3A%2F%2Fgithub.com%2Fteaxyz%2Fpantry%2Farchive%2Frefs%2Fheads%2Fmain.tar.gz)%3A+error+trying+to+connect%3A+dns+error%3A+failed+to+lookup+address+information%3A+nodename+nor+servname+provided%2C+or+not+known

TypeError: error sending request for url (https://github.com/teaxyz/pantry/archive/refs/heads/main.tar.gz): error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known
    at async mainFetch (ext:deno_fetch/26_fetch.js:266:12)
    at async fetch (ext:deno_fetch/26_fetch.js:490:7)
    ...

While any dev parsing this might easily realize what the issue is, it does invite the user to create an issue on Github. For a regular user it would save them and the tea team time by letting the user know the network is down and they should try again later.

Lingua principale
Rust
Stelle
9.9k
Fork
1.4k
Merge medio
1g 17h
PR unite (30g)
1

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 pkgxdev/pkgx

Tutte le issue di pkgxdev/pkgx

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.