JSON demo keeps streaming after leaving the page
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Find the /partial-json-parser demo and trace where its completion request is started. Check how the page lifecycle is handled when SvelteKit unmounts the page, then verify that leaving cancels the request and returning starts a fresh one. The issue reports an open SSE connection after navigation; linked pull request #335 is already open.
Written by the indexing model from the issue text.
Description
Start a response on /partial-json-parser, then navigate away with SvelteKit's client router (for example, browser Back). The page is destroyed, but the completion request continues until the response finishes.
Reproduced in the production build with a local OpenAI-compatible SSE fixture: the server had sent 4 chunks before navigation and 15 afterward, with the connection still open. The request has no abort signal.
Cancel the request when the demo is unmounted; returning to the page should start a new response normally.
- Dominant language
- Svelte
- Stars
- 2
- Forks
- 0
- Avg merge
- 18h 1m
- Merged PRs (30d)
- 18
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from promplate/site
-
Highlighted comments fall below the minimum text contrastPossibly taken @CNSeniorious000 claimed this 18 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
promplate/site#315 · 1 comment ·
Maintainers usually reply within 1 day
-
Monaco word completion stalls because its worker fails to loadPossibly taken @CNSeniorious000 claimed this 4 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 66/100
promplate/site#350 · 1 comment ·
Maintainers usually reply within 1 day
-
Avoid separate external font requests on the docs homepagePossibly taken @CNSeniorious000 claimed this 4 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
promplate/site#348 · 1 comment ·
Maintainers usually reply within 1 day
-
Prerendered share-image metadata uses a placeholder originPossibly taken @CNSeniorious000 claimed this 5 days ago. Open
Difficulty 1/5 1-3 hours Newbie friendliness 35/100
promplate/site#346 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Share-image preview builds invalid URLsPossibly taken @CNSeniorious000 claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
promplate/site#344 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
Selected chart highlights only its values, not its series names and category labelsPossibly taken @Higgs32584 claimed this today. Openbug priority: low ui
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
storytold/gridcraft#4390 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
OscillateLabsLLC/ovos-gui-visage#52 ·
Maintainers usually reply within 1 day
-
bug bugfix priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
pollen-robotics/reachy-mini-desktop-app#341 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
saadeghi/daisyui#4870 · 2 comments ·
Maintainers usually reply within 7 days