René's URL Explorer Experiment


Title: fix: close stream after upstream ends to prevent client hang by octo-patch · Pull Request #186 · sqlchat/sqlchat · GitHub

Open Graph Title: fix: close stream after upstream ends to prevent client hang by octo-patch · Pull Request #186 · sqlchat/sqlchat

X Title: fix: close stream after upstream ends to prevent client hang by octo-patch · Pull Request #186 · sqlchat/sqlchat

Description: Chat-based SQL Client and Editor for the next decade - fix: close stream after upstream ends to prevent client hang by octo-patch · Pull Request #186 · sqlchat/sqlchat

Open Graph Description: Fixes #176 Problem When an LLM provider (e.g. Ollama) does not send a data: [DONE] sentinel at the end of the SSE stream, the ReadableStream created in src/pages/api/chat.ts was never explicitly cl...

X Description: Fixes #176 Problem When an LLM provider (e.g. Ollama) does not send a data: [DONE] sentinel at the end of the SSE stream, the ReadableStream created in src/pages/api/chat.ts was never explicitly cl...

Opengraph URL: https://github.com/sqlchat/sqlchat/pull/186

X: @github

direct link

Domain: redirect.github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c70f383b-3236-f727-6bc9-ae00e08ef262
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA10E:3ABDFB:5F67E5:827E93:6B0474E6
html-safe-noncee9dc079081d78572199cabb688f48cb824c38036f8c4057ee376f5f378c54ab3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTBFOjNBQkRGQjo1RjY3RTU6ODI3RTkzOjZCMDQ3NEU2IiwidmlzaXRvcl9pZCI6IjUwODY0NzQ0OTg1MTQxMjE5NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac38184635ee6a564600e5a7182e4c17939e7ce5b597d7eca9ab48a4b959fb163f
hovercard-subject-tagpull_request:3584858401
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/sqlchat/sqlchat/186/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e01f67d0bcdf83206799930e1d72ba20363c1a99d0120fb806fb820d2980ba83/sqlchat/sqlchat/pull/186
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e01f67d0bcdf83206799930e1d72ba20363c1a99d0120fb806fb820d2980ba83/sqlchat/sqlchat/pull/186
og:image:altFixes #176 Problem When an LLM provider (e.g. Ollama) does not send a data: [DONE] sentinel at the end of the SSE stream, the ReadableStream created in src/pages/api/chat.ts was never explicitly cl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameocto-patch
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
turbo-cache-controlno-cache
go-importgithub.com/sqlchat/sqlchat git https://github.com/sqlchat/sqlchat.git
octolytics-dimension-user_id128299021
octolytics-dimension-user_loginsqlchat
octolytics-dimension-repository_id614656648
octolytics-dimension-repository_nwosqlchat/sqlchat
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id614656648
octolytics-dimension-repository_network_root_nwosqlchat/sqlchat
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/sqlchat/sqlchat/pull/186#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlchat%2Fsqlchat%2Fpull%2F186
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlchat%2Fsqlchat%2Fpull%2F186
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=sqlchat%2Fsqlchat
Reloadhttps://redirect.github.com/sqlchat/sqlchat/pull/186
Reloadhttps://redirect.github.com/sqlchat/sqlchat/pull/186
Reloadhttps://redirect.github.com/sqlchat/sqlchat/pull/186
sqlchathttps://redirect.github.com/sqlchat
sqlchathttps://redirect.github.com/sqlchat/sqlchat
Codehttps://redirect.github.com/sqlchat/sqlchat
Issues23 (23)https://redirect.github.com/sqlchat/sqlchat/issues
Pull requests2 (2)https://redirect.github.com/sqlchat/sqlchat/pulls
Actionshttps://redirect.github.com/sqlchat/sqlchat/actions
Security and qualityhttps://redirect.github.com/sqlchat/sqlchat/security
Insightshttps://redirect.github.com/sqlchat/sqlchat/insights
https://redirect.github.com/sqlchat/sqlchat
octo-patchhttps://redirect.github.com/octo-patch
sqlchat:mainhttps://redirect.github.com/sqlchat/sqlchat/tree/main
octo-patch:fix/issue-176-stream-not-closinghttps://redirect.github.com/octo-patch/sqlchat/tree/fix/issue-176-stream-not-closing
Conversationhttps://redirect.github.com/sqlchat/sqlchat/pull/186
Commits1 (1)https://redirect.github.com/sqlchat/sqlchat/pull/186/commits
Checkshttps://redirect.github.com/sqlchat/sqlchat/pull/186/checks
Files changedhttps://redirect.github.com/sqlchat/sqlchat/pull/186/files
fix: close stream after upstream ends to prevent client hanghttps://redirect.github.com/sqlchat/sqlchat/pull/186#top
octo-patchhttps://redirect.github.com/octo-patch
sqlchat:mainhttps://redirect.github.com/sqlchat/sqlchat/tree/main
octo-patch:fix/issue-176-stream-not-closinghttps://redirect.github.com/octo-patch/sqlchat/tree/fix/issue-176-stream-not-closing
https://redirect.github.com/octo-patch
octo-patchhttps://redirect.github.com/octo-patch
Apr 26, 2026https://redirect.github.com/sqlchat/sqlchat/pull/186#issue-4329861854
#176https://github.com/sqlchat/sqlchat/issues/176
Please reload this pagehttps://redirect.github.com/sqlchat/sqlchat/pull/186
https://redirect.github.com/octo-patch
fix: close stream after upstream ends to prevent client hang (https://redirect.github.com/sqlchat/sqlchat/pull/186/commits/85d1f71b0f29563abd7657869a7be5a421e03630
fixeshttps://redirect.github.com/sqlchat/sqlchat/pull/186/commits/85d1f71b0f29563abd7657869a7be5a421e03630
s…https://github.com/sqlchat/sqlchat/issues/176
85d1f71https://redirect.github.com/sqlchat/sqlchat/pull/186/commits/85d1f71b0f29563abd7657869a7be5a421e03630
…qlchat#176https://github.com/sqlchat/sqlchat/issues/176
https://redirect.github.com/octo-patch
octo-patchhttps://redirect.github.com/octo-patch
boojackhttps://redirect.github.com/boojack
tianzhouhttps://redirect.github.com/tianzhou
code ownershttps://redirect.github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/CODEOWNERS#L2
April 26, 2026 02:44https://redirect.github.com/sqlchat/sqlchat/pull/186#event-24874607235
https://redirect.github.com/tianzhou
tianzhouhttps://redirect.github.com/tianzhou
Copilothttps://redirect.github.com/apps/copilot-pull-request-reviewer
April 26, 2026 10:01https://redirect.github.com/sqlchat/sqlchat/pull/186#event-24878061296
started reviewinghttps://github.com/sqlchat/sqlchat/sessions/82979ec6-35d8-48e5-b4ea-ece10a28c1b9
tianzhouhttps://redirect.github.com/tianzhou
April 26, 2026 10:01https://redirect.github.com/sqlchat/sqlchat/pull/186#event-24878065124
View session https://github.com/sqlchat/sqlchat/sessions/82979ec6-35d8-48e5-b4ea-ece10a28c1b9
https://redirect.github.com/apps/copilot-pull-request-reviewer
Copilothttps://redirect.github.com/apps/copilot-pull-request-reviewer
Apr 26, 2026 https://redirect.github.com/sqlchat/sqlchat/pull/186#pullrequestreview-4176791814
View reviewed changes https://redirect.github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630
Copilothttps://redirect.github.com/apps/copilot-pull-request-reviewer
https://redirect.github.com/sqlchat/sqlchat/pull/186#pullrequestreview-4176791814
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://redirect.github.com/sqlchat/sqlchat/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://redirect.github.com/sqlchat/sqlchat/pull/186
src/pages/api/chat.tshttps://redirect.github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630#diff-77e8eddb3460b35c44e1622cb72c6d0ec0096f3aaced92baec30f1d4a931aa01
Copilothttps://redirect.github.com/apps/copilot-pull-request-reviewer
Apr 26, 2026https://redirect.github.com/sqlchat/sqlchat/pull/186#discussion_r3143313680
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/sqlchat/sqlchat/pull/186
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
src/components/ConversationView/index.tsxhttps://redirect.github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630#diff-739903acacb476c7a32eb37f6e8dc084cd621d1497fd75f1a016452f1dbf4956
Copilothttps://redirect.github.com/apps/copilot-pull-request-reviewer
Apr 26, 2026https://redirect.github.com/sqlchat/sqlchat/pull/186#discussion_r3143313685
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/sqlchat/sqlchat/pull/186
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
src/components/ConversationView/index.tsxhttps://redirect.github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630#diff-739903acacb476c7a32eb37f6e8dc084cd621d1497fd75f1a016452f1dbf4956
Copilothttps://redirect.github.com/apps/copilot-pull-request-reviewer
Apr 26, 2026https://redirect.github.com/sqlchat/sqlchat/pull/186#discussion_r3143313687
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/sqlchat/sqlchat/pull/186
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://redirect.github.com/tianzhou
tianzhouhttps://redirect.github.com/tianzhou
Sep 17, 2026https://redirect.github.com/sqlchat/sqlchat/pull/186#event-31289095518
https://github.co/hiddenchars
https://redirect.github.com/sqlchat/sqlchat/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlchat%2Fsqlchat%2Fpull%2F186
Copilot code review https://redirect.github.com/apps/copilot-pull-request-reviewer
Copilot https://redirect.github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://redirect.github.com/sqlchat/sqlchat/pull/186/files/85d1f71b0f29563abd7657869a7be5a421e03630
https://redirect.github.com/tianzhou
tianzhou https://redirect.github.com/tianzhou
https://redirect.github.com/boojack
boojack https://redirect.github.com/boojack
Please reload this pagehttps://redirect.github.com/sqlchat/sqlchat/pull/186
sendMessageToCurrentConversation Fetch Function Not Returning Response https://github.com/sqlchat/sqlchat/issues/176
Please reload this pagehttps://redirect.github.com/sqlchat/sqlchat/pull/186
https://redirect.github.com/octo-patch
https://redirect.github.com/apps/copilot-pull-request-reviewer
https://redirect.github.com/tianzhou
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.