Upgrade puppeteer for HTTPResponse.stream() and measure it on non-HTML navigations
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
- 55/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, node.js
Direzione di ricerca
The issue names the Puppeteer dependencies in packages/browserless, agent, and ai, and asks for a test against a local server. First check the current package manifests and test setup, then verify which Puppeteer release provides HTTPResponse.stream(). Measure received versus served bytes and whether streaming rejects for each listed navigation type; release browserless after recording the results.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
claude --dangerously-skip-permissions --resume f585c3fe-624a-4f4c-9b28-edf7962e7046
—
Blocked on upstream: https://github.com/puppeteer/puppeteer/issues/7863
Puppeteer is adding HTTPResponse.stream(): Promise<ReadableStream<Uint8Array>>, built on the experimental CDP method Network.streamResourceContent (approved by OrKoN in the issue thread). It returns the data buffered so far and then streams the rest until loading finishes. It must be called from the response event, before loading finishes; after that it rejects. It is CDP only (BiDi throws UnsupportedOperation).
Tasks
-
Bump
puppeteer(currently"25"inpackages/browserless,agent,ai) to the first release that shipsresponse.stream(). -
Measure, in a test against a local server, whether
stream()returns the body when the main-frame navigation is:application/pdfserved from a URL without.pdf(PDF viewer case)content-disposition: attachment(download case,gotoends innet::ERR_ABORTED)- an image or media type
- a normal
text/htmldocument (baseline)
Record per case: body bytes received vs. bytes served, and whether
stream()rejected. This result decides whether microlinkhq/html-get can use it (see the linked html-get issue). -
Release browserless so html-get and the API can pick it up.
Out of scope
page.pdf() / page.screenshot() output streaming. response.stream() covers network response bodies only. PDF output streaming is already available through page.createPDFStream(), and Page.captureScreenshot has no stream mode.
- Lingua principale
- JavaScript
- Stelle
- 1.8k
- Fork
- 90
- Merge medio
- 5h 42m
- PR unite (30g)
- 40
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 microlinkhq/browserless
-
goto: consent banner text stays in the HTML after autoconsent and becomes the page descriptionForse già presa @Kikobeats l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
microlinkhq/browserless#1069 ·
I maintainer di solito rispondono entro 1 giorno
-
cursor emulation supportAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
microlinkhq/browserless#284 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[screenshot] mobile overlayAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
microlinkhq/browserless#59 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
microlinkhq/browserless#58 ·
I maintainer di solito rispondono entro 1 giorno
-
Enable data saverAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
microlinkhq/browserless#25 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microlinkhq/browserless
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
tencent-connect/dsh-qqbot#148 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Javis603/token-monitor#1861 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno