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

Stage 12 failure records keep only the exception class name

Chiusa
#790 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@anth-volk ci sta già lavorando.

Dal 13/10/2026.

  • #791 di @anth-volk — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start in the Stage 12 coordinator, worker and result-comparison handlers, where error_summary is set from type(error).__name__ and RuntimeError("Stage 12 report coordination failed") is raised. Check where a worker's saved cause is overwritten by the wait error. Pull request #791 is already open against this issue, so review it before starting. Done means the record keeps a redacted cause (type, stage, role, message) without secrets or input values, a worker-saved cause survives, and the exceptions returned to Modal are unchanged.

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

Descrizione

Problem

Stage 12 failure records don't say what went wrong. The coordinator, worker and result-comparison handlers store only type(error).__name__ in error_summary. They then raise RuntimeError("Stage 12 report coordination failed").

From 6 to 13 October 2026, 47 of the 153 production Stage 12 failures were recorded only as that generic coordination failure. Finding their causes meant replaying saved artifacts and reading retained Modal results. The causes turned out to be:

  • 42 a UK aggregate validation defect (#786)
  • 2 invalid reform parameter paths
  • 1 non-finite reform income
  • 1 congressional-district sample below the aggregation minimum
  • 1 database session limit

The coordinator can also overwrite a cause that a failed worker had already saved, replacing it with the class name of the wait error.

Expected

  • A failure record stores a bounded, redacted cause: the exception type, the failing or last finished stage, the simulation role, and the message.
  • Credentials, connection strings, tokens, signed URLs, validation input values and SQL parameters are never stored.
  • A cause saved by a worker is kept, not overwritten.
  • The exceptions returned to Modal are unchanged.
Lingua principale
Python
Stelle
1
Fork
1
Merge medio
1g 7h
PR unite (30g)
40

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 PolicyEngine/policyengine-sim-api

Tutte le issue di PolicyEngine/policyengine-sim-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.