René's URL Explorer Experiment


Title: fix(sdk): stop chat.createSession wedging on stop and erroring on continuation boots by ericallam · Pull Request #3920 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix(sdk): stop chat.createSession wedging on stop and erroring on continuation boots by ericallam · Pull Request #3920 · triggerdotdev/trigger.dev

X Title: fix(sdk): stop chat.createSession wedging on stop and erroring on continuation boots by ericallam · Pull Request #3920 · triggerdotdev/trigger.dev

Description: Trigger.dev – build and deploy durable AI agents and workflows - fix(sdk): stop chat.createSession wedging on stop and erroring on continuation boots by ericallam · Pull Request #3920 · triggerdotdev/trigger.dev

Open Graph Description: Summary Two chat.createSession() bugs that break chats at its abstraction level: Stopping a generation wedged the run forever. turn.complete() bare-awaited the AI SDK's totalUsage promise, wh...

X Description: Summary Two chat.createSession() bugs that break chats at its abstraction level: Stopping a generation wedged the run forever. turn.complete() bare-awaited the AI SDK's totalUsage promise...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/3920

X: @github

direct link

Domain: github.com

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:3afd777f-7e9e-5a12-dbd1-ab3b9134b7ff
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA4AA:D61D9:17831:1F68B:6AFBD7DD
html-safe-noncec0ba641904df220cf3b92568d07c8c40877fc9e6c13847258e1f927873ff7c32
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEFBOkQ2MUQ5OjE3ODMxOjFGNjhCOjZBRkJEN0REIiwidmlzaXRvcl9pZCI6IjY1MzMyNzQ3MzM3MTI3NTg3NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac560a362bd2c113b94dfe3350b2c08fde0f118a0fa80bee4b900073b918b84e44
hovercard-subject-tagpull_request:3854350955
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/triggerdotdev/trigger.dev/3920/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/820f578021be089145aa4765a4480ce4d3ce93756ef11656c7ec3be86b2818f7/triggerdotdev/trigger.dev/pull/3920
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/820f578021be089145aa4765a4480ce4d3ce93756ef11656c7ec3be86b2818f7/triggerdotdev/trigger.dev/pull/3920
og:image:altSummary Two chat.createSession() bugs that break chats at its abstraction level: Stopping a generation wedged the run forever. turn.complete() bare-awaited the AI SDK's totalUsage promise, wh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericallam
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-cache
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
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
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/3920#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3920
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3920
Sign uphttps://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=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3920
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3920
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3920
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
https://github.com/triggerdotdev/trigger.dev
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
fix/create-session-stop-and-continuationhttps://github.com/triggerdotdev/trigger.dev/tree/fix/create-session-stop-and-continuation
Conversationhttps://github.com/triggerdotdev/trigger.dev/pull/3920
Commits1 (1)https://github.com/triggerdotdev/trigger.dev/pull/3920/commits
Checkshttps://github.com/triggerdotdev/trigger.dev/pull/3920/checks
Files changedhttps://github.com/triggerdotdev/trigger.dev/pull/3920/files
fix(sdk): stop chat.createSession wedging on stop and erroring on continuation bootshttps://github.com/triggerdotdev/trigger.dev/pull/3920#top
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
fix/create-session-stop-and-continuationhttps://github.com/triggerdotdev/trigger.dev/tree/fix/create-session-stop-and-continuation
https://github.com/ericallam
ericallamhttps://github.com/ericallam
Jun 12, 2026https://github.com/triggerdotdev/trigger.dev/pull/3920#issue-4648891384
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3920
https://github.com/ericallam
fix(sdk): stop chat.createSession wedging on stop and erroring on con…https://github.com/triggerdotdev/trigger.dev/pull/3920/commits/d1b7738bee17312a32c636dd243061f239397154
d1b7738https://github.com/triggerdotdev/trigger.dev/pull/3920/commits/d1b7738bee17312a32c636dd243061f239397154
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jun 12, 2026https://github.com/triggerdotdev/trigger.dev/pull/3920#issuecomment-4690902714
d1b7738https://github.com/triggerdotdev/trigger.dev/commit/d1b7738bee17312a32c636dd243061f239397154
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/triggerdotdev/trigger.dev/new/fix/create-session-stop-and-continuation?filename=.changeset/fancy-hornets-fry.md&value=---%0A%22%40trigger.dev%2Fsdk%22%3A%20patch%0A---%0A%0Afix(sdk)%3A%20stop%20chat.createSession%20wedging%20on%20stop%20and%20erroring%20on%20continuation%20boots%0A
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3920
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 12, 2026https://github.com/triggerdotdev/trigger.dev/pull/3920#issuecomment-4690904074
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3920
https://app.coderabbit.ai/change-stack/triggerdotdev/trigger.dev/pull/3920?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
78b7136https://github.com/triggerdotdev/trigger.dev/commit/78b7136bf72a5e4e405e8791b40918688cd2b556
d1b7738https://github.com/triggerdotdev/trigger.dev/commit/d1b7738bee17312a32c636dd243061f239397154
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=triggerdotdev/trigger.dev&utm_content=3920
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3920
https://github.com/ericallam
ericallamhttps://github.com/ericallam
June 12, 2026 11:46https://github.com/triggerdotdev/trigger.dev/pull/3920#event-26673164309
https://github.com/apps/devin-ai-integration
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
Jun 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3920#pullrequestreview-4485375911
View reviewed changes https://github.com/triggerdotdev/trigger.dev/pull/3920/files/d1b7738bee17312a32c636dd243061f239397154
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
https://github.com/triggerdotdev/trigger.dev/pull/3920#pullrequestreview-4485375911
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://app.devin.ai/review/triggerdotdev/trigger.dev/pull/3920
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3920
packages/trigger-sdk/src/v3/ai.tshttps://github.com/triggerdotdev/trigger.dev/pull/3920/files/d1b7738bee17312a32c636dd243061f239397154#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3920
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
Jun 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3920#pullrequestreview-4485883076
View reviewed changes https://github.com/triggerdotdev/trigger.dev/pull/3920/files/d1b7738bee17312a32c636dd243061f239397154
https://github.com/ericallam
ericallamhttps://github.com/ericallam
4783419https://github.com/triggerdotdev/trigger.dev/commit/47834198fc813ed14cc1d29b460c95bde8430caa
Jun 12, 2026https://github.com/triggerdotdev/trigger.dev/pull/3920#event-26676325752
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3920
https://github.com/ericallam
ericallamhttps://github.com/ericallam
June 12, 2026 13:07https://github.com/triggerdotdev/trigger.dev/pull/3920#event-26676327369
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3920#ref-pullrequest-4614802929
chore: release v4.5.0-rc.6 #3870 https://github.com/triggerdotdev/trigger.dev/pull/3870
ericallamhttps://github.com/ericallam
Jun 12, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3920#ref-commit-5fab8ca
https://github.com/apps/github-actions
chore: release v4.5.0-rc.6 (https://github.com/triggerdotdev/trigger.dev/commit/5fab8cafcf84782983cb1a43fe2ff53fab33782b
#3870https://github.com/triggerdotdev/trigger.dev/pull/3870
)https://github.com/triggerdotdev/trigger.dev/commit/5fab8cafcf84782983cb1a43fe2ff53fab33782b
5fab8cahttps://github.com/triggerdotdev/trigger.dev/commit/5fab8cafcf84782983cb1a43fe2ff53fab33782b
#3872https://github.com/triggerdotdev/trigger.dev/pull/3872
#3872https://github.com/triggerdotdev/trigger.dev/pull/3872
#3865https://github.com/triggerdotdev/trigger.dev/pull/3865
#3865https://github.com/triggerdotdev/trigger.dev/pull/3865
#3868https://github.com/triggerdotdev/trigger.dev/pull/3868
#3868https://github.com/triggerdotdev/trigger.dev/pull/3868
#3891https://github.com/triggerdotdev/trigger.dev/pull/3891
#3891https://github.com/triggerdotdev/trigger.dev/pull/3891
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3887https://github.com/triggerdotdev/trigger.dev/pull/3887
#3887https://github.com/triggerdotdev/trigger.dev/pull/3887
#3880https://github.com/triggerdotdev/trigger.dev/pull/3880
#3880https://github.com/triggerdotdev/trigger.dev/pull/3880
#3920https://github.com/triggerdotdev/trigger.dev/pull/3920
#3920https://github.com/triggerdotdev/trigger.dev/pull/3920
#3872https://github.com/triggerdotdev/trigger.dev/pull/3872
#3872https://github.com/triggerdotdev/trigger.dev/pull/3872
#3865https://github.com/triggerdotdev/trigger.dev/pull/3865
#3865https://github.com/triggerdotdev/trigger.dev/pull/3865
#3868https://github.com/triggerdotdev/trigger.dev/pull/3868
#3868https://github.com/triggerdotdev/trigger.dev/pull/3868
#3891https://github.com/triggerdotdev/trigger.dev/pull/3891
#3891https://github.com/triggerdotdev/trigger.dev/pull/3891
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3887https://github.com/triggerdotdev/trigger.dev/pull/3887
#3887https://github.com/triggerdotdev/trigger.dev/pull/3887
#3865https://github.com/triggerdotdev/trigger.dev/pull/3865
#3865https://github.com/triggerdotdev/trigger.dev/pull/3865
#3880https://github.com/triggerdotdev/trigger.dev/pull/3880
#3880https://github.com/triggerdotdev/trigger.dev/pull/3880
#3891https://github.com/triggerdotdev/trigger.dev/pull/3891
#3891https://github.com/triggerdotdev/trigger.dev/pull/3891
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3907https://github.com/triggerdotdev/trigger.dev/pull/3907
#3920https://github.com/triggerdotdev/trigger.dev/pull/3920
#3920https://github.com/triggerdotdev/trigger.dev/pull/3920
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3920
https://github.com/apps/devin-ai-integration
devin-ai-integration[bot] https://github.com/apps/devin-ai-integration
https://github.com/triggerdotdev/trigger.dev/pull/3920/files/d1b7738bee17312a32c636dd243061f239397154
https://github.com/matt-aitken
matt-aitken https://github.com/matt-aitken
https://github.com/triggerdotdev/trigger.dev/pull/3920/files/d1b7738bee17312a32c636dd243061f239397154
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3920
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3920
https://github.com/ericallam
https://github.com/matt-aitken
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

Viewport: width=device-width


URLs of crawlers that visited me.