[nanocore] Internal Gateway transport failures keep no cause on the capability attempt or in the log
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
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- observability
Direzione di ricerca
Start with apps/nanocore/src/internal-agents/gateway-provider.ts, where transport failures are classified after provider handoff. Trace how capability attempts and App logs record failure details, then check existing failure kinds and redaction rules. Done when bounded, redacted causes and available HTTP status are retained in both places, common transport causes use suitable existing kinds, and retries remain unchanged.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Observed
On a fresh v0.1.0-rc.2 installation, one administration conversation was refused after 1.5 seconds with the public Turn error provider_call_failed and the message Administration could not complete this bounded run.
The App log line was internal_gateway_call_failed with phase transport and failureKind unknown, with no HTTP status. The capability record shows one primary attempt on the configured subscription route, outputBegan false and terminalResult failed.
Later calls on the same logical model, route and provider profile completed, so this was a single transient failure, not a configuration error. The operator still could not tell whether the provider, the network or NanoCore failed, because no cause was kept.
Cause
phase becomes transport after provider handoff in apps/nanocore/src/internal-agents/gateway-provider.ts, and failureKind defaults to unknown when the thrown error has no classified provider failure kind and no HTTP status. Nothing else from the thrown error is retained.
Suggested fix
- Retain a redacted, bounded cause on the capability attempt and in the log: the error class or code (for example a network error code, an aborted stream, or a provider SDK error name), and the HTTP status when one exists. Never retain request bodies, headers or credentials.
- Map common transport causes (connection reset, DNS failure, TLS failure, timeout before output) to existing failure kinds where they fit, so that an operator can tell a provider outage from an internal defect.
- This is diagnosability only. External provider behavior stays accepted as external, and no retry behavior changes.
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 1
- Merge medio
- 4h 45m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né 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 lingkaix/openkit
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutoverApertadoc-audit enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di lingkaix/openkit
Issue simili
-
Report: &TV InternationalApertacheck:passed streams:remove
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
bug priority-p1
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
beginner blocked
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
hiero-ledger/hiero-sdk-js#4670 ·
I maintainer di solito rispondono entro 1 giorno
-
[Exploratory] Expense - 2 selected drop-down is shown twice when selecting hold from more option.ApertaMonthly Not a priority
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Expensify/App#106080 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno