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

Handle uvx tool-resolver propagation failures in release smoke retries

Aperta Adatta ai principianti
#200 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à
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
86/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
release

Direzione di ricerca

Parti da scripts/pypi_uvx_ready.py, dove il classificatore accetta solo il codice di uscita 2 con l'intestazione No solution found when resolving dependencies:; estendilo per accettare il codice di uscita 1 più l'intestazione del risolutore degli strumenti No solution found when resolving tool dependencies: solo quando la stringa fissa dircue==<version> è il requisito insoddisfacibile, stdout è vuoto e non compaiono segnali di errore hash/output dell'eseguibile. Trova i test esistenti del classificatore che verificano la firma precedente e aggiungi una regression per la combinazione esatta codice di uscita/intestazione dell'issue, oltre a un test a livello smoke in cui la convalida del catalogo passa, il tentativo uno viene conservato come riprovabile e un nuovo tentativo due ha successo; mantieni i test negativi per errori exit-1 non correlati e per l'output dell'eseguibile. Completato significa che il ciclo di retry limitato riprova la variante ARM64 di uvx senza estendere i retry a errori arbitrari né rieseguire il job di pubblicazione.

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

Descrizione

The 1.5.0 publishing run exposed a gap in the fresh-cache uvx smoke harness's propagation handling. Public catalog checks and uv sync succeeded, but one Linux ARM64 uvx attempt briefly reported that the pinned version was unavailable. Rerunning only the installation job succeeded; the published wheel bytes were unchanged, and all five native installation jobs are now green.

Evidence: publishing run, first-attempt artifact pypi-uvx-ubuntu-24.04-arm.

The captured command returned exit code 1, with empty stdout and this stderr:

× No solution found when resolving tool dependencies:
╰─▶ Because there is no version of dircue==1.5.0 and you require
    dircue==1.5.0, we can conclude that your requirements are unsatisfiable.

scripts/pypi_uvx_ready.py currently recognizes only exit code 2 and the header No solution found when resolving dependencies:. Its existing classifier tests cover that older signature, so the bounded retry loop did not handle this tool-resolver variant.

Extend the classifier and tests to handle the verified tool-resolver signature conservatively. Keep exact pinned-version matching, empty stdout, bounded attempts/deadline, fresh caches, and the existing exclusions for hash failures, differing versions, and output suggesting the executable ran. The diagnostic is a resolver text heuristic, not proof that execution never began.

Add a regression using this exact exit-code/header combination and a smoke-level test where catalog validation succeeds, the first attempt is retained as a retryable failure, and a second fresh attempt succeeds. Retain negative tests for unrelated exit-1 errors and executable output. Do not broaden retries to arbitrary command failures or rerun the publication job.

This affects release verification reliability, not the installed dircue executable or the 1.5.0 wheel contents.

Lingua principale
Go
Stelle
0
Fork
0
Merge medio
5h 8m
PR unite (30g)
54

Preparare l'ambiente

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 war-and-code/dircue

Tutte le issue di war-and-code/dircue

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.