real-debrid-downloader/src/main
Sucukdeluxe 5309f8dd69 Diagnose: Vollstaendiges Conversion-Trace-Logging (conversion.log) fuer haengende/langsame Link-Umwandlung
Bewusst NUR Diagnose, KEINE Verhaltensaenderung — damit das naechste
Support-Bundle das echte aktuelle Verhalten zeigt und der naechste Fix
die Ursache trifft statt zu raten (live belegt: "Unrestrict Timeout nach
60s" R53/R64, API-"Token error, please log-in" kuehlt beide Accounts ab).

Neues Modul conversion-trace.ts: AsyncLocalStorage-Trace, der einen
unrestrict-Versuch ueber alle Schichten begleitet und EINEN strukturierten
Block pro Versuch nach conversion.log schreibt (Datei-Infra wie
account-rotation-log: Rotation bei 5 MB, 14 Tage Retention; im Support-
Bundle). tracePhase ist no-op ohne aktiven Trace — additiv, null Risiko.

Instrumentiert wird die Kern-Blindstelle der bisherigen Logs:
- download-manager Boundary: runWithConversionTrace + Slot-Belegung
  (conv/dl/active/max) + Caller-Timeout-Attribution (was lief, als die 60s
  feuerten).
- Provider-Kette (debrid): chain-try/ok/failed/aborted — zeigt, ob der
  Web->API-Failover ueberhaupt feuert oder vom globalen Abbruch gekappt wird.
- Mega-Rotation: mega-account mit workMs + outcome (ok/failed/fatal/aborted)
  + Cooldown je Account.
- API-Token-Lifecycle: token cached/pending-join/fresh-login + connectMs,
  getLink response_code/text — klaert die Herkunft von "Token error".
- Mega-Web runExclusive: web-queue mit queueWaitMs UND workMs getrennt —
  klaert, ob die 60s Warten in der Queue oder echte langsame Arbeit sind.

Test conversion-trace.test.ts (Formatter + ALS-Kontext-Propagation).
838/838 gruen, tsc unveraendert (6 Baseline), Build ok.
2026-06-17 02:52:44 +02:00
..
account-check.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
account-rotation-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
all-debrid-web.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
app-controller.ts Diagnose: Vollstaendiges Conversion-Trace-Logging (conversion.log) fuer haengende/langsame Link-Umwandlung 2026-06-17 02:52:44 +02:00
audit-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
backup-crypto.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
backup-payload.ts Backup: nur Settings als Default + 4 Selektions/Flicker-Bugfixes 2026-06-07 04:40:54 +02:00
bestdebrid-web.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
cleanup.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
constants.ts UI Phase 2: Einstellungen-Tab neu strukturiert (Untergruppen + Erklaertexte) + konfigurierbarer Verlauf (Obergrenze + Zeitlimit) 2026-06-15 00:49:19 +02:00
container.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
conversion-trace.ts Diagnose: Vollstaendiges Conversion-Trace-Logging (conversion.log) fuer haengende/langsame Link-Umwandlung 2026-06-17 02:52:44 +02:00
debrid.ts Diagnose: Vollstaendiges Conversion-Trace-Logging (conversion.log) fuer haengende/langsame Link-Umwandlung 2026-06-17 02:52:44 +02:00
debug-server.ts Add extended diagnostics logging 2026-06-07 17:00:06 +02:00
debug-setup.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
desktop-rename-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
download-completion.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
download-manager.ts Diagnose: Vollstaendiges Conversion-Trace-Logging (conversion.log) fuer haengende/langsame Link-Umwandlung 2026-06-17 02:52:44 +02:00
error-ring.ts Add extended diagnostics logging 2026-06-07 17:00:06 +02:00
extractor.ts Fix: verschachtelte Entpack-Fortschritte wurden bei jedem Lauf verworfen 2026-06-08 22:47:34 +02:00
fs-error.ts Add extended diagnostics logging 2026-06-07 17:00:06 +02:00
integrity.ts Release v1.4.31 with full bug-audit hardening 2026-03-01 00:33:26 +01:00
item-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
link-export.ts Add package and item link export 2026-03-09 04:11:18 +01:00
link-parser.ts Add package and item link export 2026-03-09 04:11:18 +01:00
log-timestamp.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
logger.ts Fix: Logger-Flush konnte ungeschriebene Zeilen verlieren (Race mit 1MB-Cap) 2026-06-08 22:33:11 +02:00
main.ts Fix: Run-Lebenszyklus — Stop-Summary, Scheduler-Race, ehrliche Run-Ende-Meldung, Boot-Re-Arm 2026-06-10 00:34:31 +02:00
mega-public-api.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
mega-web-fallback.ts Diagnose: Vollstaendiges Conversion-Trace-Logging (conversion.log) fuer haengende/langsame Link-Umwandlung 2026-06-17 02:52:44 +02:00
notify.ts Fix: Webhook-Zustellung haertbar — Discord-Rate-Limit, Retries, Kappung, Logging 2026-06-10 00:17:57 +02:00
package-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
realdebrid-web.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
realdebrid.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
rename-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
session-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
startup-health-check.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
storage.ts UI Phase 2: Einstellungen-Tab neu strukturiert (Untergruppen + Erklaertexte) + konfigurierbarer Verlauf (Obergrenze + Zeitlimit) 2026-06-15 00:49:19 +02:00
support-bundle.ts Diagnose: Vollstaendiges Conversion-Trace-Logging (conversion.log) fuer haengende/langsame Link-Umwandlung 2026-06-17 02:52:44 +02:00
support-data.ts Fix: Webhook-Settings — Backup-Maskierung + Support-Bundle-Diagnose 2026-06-10 00:35:54 +02:00
trace-log.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
update.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00
utils.ts Harden type safety and recovery guards 2026-03-10 05:54:19 +01:00
video-processor.ts Fix: zu weite Deutsch-Erkennung konnte falsche Tonspur behalten 2026-06-08 22:31:34 +02:00
windows-host-diagnostics.ts chore: remove all source code comments and internal artifacts 2026-06-06 04:53:54 +02:00