Skip to content

fix(crawler): usa fetch compatibile con undici - #99

Merged
max23468 merged 1 commit into
mainfrom
codex/refactor-core-debt
Aug 6, 2026
Merged

fix(crawler): usa fetch compatibile con undici#99
max23468 merged 1 commit into
mainfrom
codex/refactor-core-debt

Conversation

@max23468

@max23468 max23468 commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Cosa cambia

  • usa fetch e Agent dalla stessa installazione di undici
  • aggiunge una regressione locale che esercita il dispatcher reale senza dipendere da Internet

Perché

Il client mescolava il fetch integrato di Node con un Agent di undici 8. Le due implementazioni non condividono il protocollo interno del dispatcher e ogni scan falliva con UND_ERR_INVALID_ARG: invalid onRequestStart method.

Impatto

Ripristina gli scan reali preservando DNS pinning, controllo SSRF, budget, redirect, limiti e riuso delle connessioni.

Verifiche

  • npm run check
  • npm run test:coverage
  • npm run sentinel -- scan --dry-run sui tre monitor configurati

@max23468
max23468 merged commit 559bd19 into main Aug 6, 2026
10 checks passed
@max23468
max23468 deleted the codex/refactor-core-debt branch August 6, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant