René's URL Explorer Experiment


Title: feat: Sessions - bidirectional durable agent streams by ericallam · Pull Request #3417 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat: Sessions - bidirectional durable agent streams by ericallam · Pull Request #3417 · triggerdotdev/trigger.dev

X Title: feat: Sessions - bidirectional durable agent streams by ericallam · Pull Request #3417 · triggerdotdev/trigger.dev

Description: Trigger.dev – build and deploy durable AI agents and workflows - feat: Sessions - bidirectional durable agent streams by ericallam · Pull Request #3417 · triggerdotdev/trigger.dev

Open Graph Description: ⚠️ Not released yet. This PR is the server-side foundation only. The SDK changes that customers will actually use (chat.agent migration, chat.createStartSessionAction, useTriggerChatTransport updat...

X Description: ⚠️ Not released yet. This PR is the server-side foundation only. The SDK changes that customers will actually use (chat.agent migration, chat.createStartSessionAction, useTriggerChatTransport updat...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:3e707ba1-70c7-1b72-92bc-3b9fcc9ea80a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F3E:E48A9:2DD644:41F3AB:6AFB1567
html-safe-nonce7438018a38db8f89e16a4be68ed1cfe6a5277e02b53272f0527fdb26bb187594
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjNFOkU0OEE5OjJERDY0NDo0MUYzQUI6NkFGQjE1NjciLCJ2aXNpdG9yX2lkIjoiNjkwMzM4NDE3MzEyMTgzNjM5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac04dbbe42980dacb61751300155d13dc14d304878dd5ad6b2a78e836d2332270d
hovercard-subject-tagpull_request:3556456946
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/3417/commits
twitter:imagehttps://opengraph.githubassets.com/726f187ed9add20143ed290770112c5d568f8f651ba9d8b1c11d602fa6255c5c/triggerdotdev/trigger.dev/pull/3417
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/726f187ed9add20143ed290770112c5d568f8f651ba9d8b1c11d602fa6255c5c/triggerdotdev/trigger.dev/pull/3417
og:image:alt⚠️ Not released yet. This PR is the server-side foundation only. The SDK changes that customers will actually use (chat.agent migration, chat.createStartSessionAction, useTriggerChatTransport updat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericallam
hostnamegithub.com
expected-hostnamegithub.com
None4275ec98d19a530a209480d02854be81de24ad5a05b648333242fc516bfb573c
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
releaseba13208acc32a4e7a4a3b54cb2f0dea6001ba5f8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3417%2Fcommits
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%2F3417%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits
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
feature/tri-8627-session-primitive-server-side-schema-routes-clickhousehttps://github.com/triggerdotdev/trigger.dev/tree/feature/tri-8627-session-primitive-server-side-schema-routes-clickhouse
Conversationhttps://github.com/triggerdotdev/trigger.dev/pull/3417
Commits23 (23)https://github.com/triggerdotdev/trigger.dev/pull/3417/commits
Checkshttps://github.com/triggerdotdev/trigger.dev/pull/3417/checks
Files changedhttps://github.com/triggerdotdev/trigger.dev/pull/3417/files
feat: Sessions - bidirectional durable agent streamshttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits#top
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
feature/tri-8627-session-primitive-server-side-schema-routes-clickhousehttps://github.com/triggerdotdev/trigger.dev/tree/feature/tri-8627-session-primitive-server-side-schema-routes-clickhouse
feat(webapp,clickhouse,database,core): Session primitive (server side)https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/edded41cc30de62ca1a22ce2de4b0bf52f1adae0
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
edded41https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/edded41cc30de62ca1a22ce2de4b0bf52f1adae0
https://github.com/triggerdotdev/trigger.dev/tree/edded41cc30de62ca1a22ce2de4b0bf52f1adae0
code review fixeshttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/f6149c9f77602972e0a832d67bba82dce04f9304
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
f6149c9https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/f6149c9f77602972e0a832d67bba82dce04f9304
https://github.com/triggerdotdev/trigger.dev/tree/f6149c9f77602972e0a832d67bba82dce04f9304
fix(core): reject externalId starting with 'session_' on Session create/updatehttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/a724f9c8dd01e75c8877cc0af65d99f277269239
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
a724f9chttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/a724f9c8dd01e75c8877cc0af65d99f277269239
https://github.com/triggerdotdev/trigger.dev/tree/a724f9c8dd01e75c8877cc0af65d99f277269239
fix(webapp): allow JWT + CORS on sessions list endpointhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/fceabc1ef863801ddceced8bfe5e6b54c01c4cf1
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
fceabc1https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/fceabc1ef863801ddceced8bfe5e6b54c01c4cf1
https://github.com/triggerdotdev/trigger.dev/tree/fceabc1ef863801ddceced8bfe5e6b54c01c4cf1
fix(webapp): tighten sessions create + list authhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/2f8903a8401d7c7b7ced967e4cc3a8e142cfc3a1
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
2f8903ahttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/2f8903a8401d7c7b7ced967e4cc3a8e142cfc3a1
https://github.com/triggerdotdev/trigger.dev/tree/2f8903a8401d7c7b7ced967e4cc3a8e142cfc3a1
feat(webapp,core): Session channel waitpoints — server sidehttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/aaab95816d7a35327085b833fef98f88d1b55cd2
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
aaab958https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/aaab95816d7a35327085b833fef98f88d1b55cd2
https://github.com/triggerdotdev/trigger.dev/tree/aaab95816d7a35327085b833fef98f88d1b55cd2
fix(webapp): CORS + allowJWT on public session create + append preflighthttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/4f2c0e7a11a45719c59e20abb8c6db1f2afc8c70
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
4f2c0e7https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/4f2c0e7a11a45719c59e20abb8c6db1f2afc8c70
https://github.com/triggerdotdev/trigger.dev/tree/4f2c0e7a11a45719c59e20abb8c6db1f2afc8c70
fix(webapp): address #3417 PR review feedbackhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/84d3db1c05a5d53874431ed15e4fd4b0cf2ceb4f
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
84d3db1https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/84d3db1c05a5d53874431ed15e4fd4b0cf2ceb4f
https://github.com/triggerdotdev/trigger.dev/tree/84d3db1c05a5d53874431ed15e4fd4b0cf2ceb4f
fix(webapp): correct backward pagination slice on session listhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/b6e642f057f219a5b5de0272e76178d9052f61a7
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
b6e642fhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/b6e642f057f219a5b5de0272e76178d9052f61a7
https://github.com/triggerdotdev/trigger.dev/tree/b6e642f057f219a5b5de0272e76178d9052f61a7
feat(webapp): session.out wait=0 + X-Session-Settled on settled tailhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/4453a45b5f86abbc4951ea1574b94622f62b06e6
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
4453a45https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/4453a45b5f86abbc4951ea1574b94622f62b06e6
https://github.com/triggerdotdev/trigger.dev/tree/4453a45b5f86abbc4951ea1574b94622f62b06e6
x-peek-settled headerhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/71f02ce783df959ed370e210abcf3141f2f31097
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
71f02cehttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/71f02ce783df959ed370e210abcf3141f2f31097
https://github.com/triggerdotdev/trigger.dev/tree/71f02ce783df959ed370e210abcf3141f2f31097
feat(webapp,db,core): Sessions become run managerhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/427541c26cc59cb4ec5d925c87b475604015e0ed
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
427541chttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/427541c26cc59cb4ec5d925c87b475604015e0ed
https://github.com/triggerdotdev/trigger.dev/tree/427541c26cc59cb4ec5d925c87b475604015e0ed
fix(webapp): address #3417 PR review feedbackhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/a349d020e63fbf60daef5c26de46d9dc837dfb66
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
a349d02https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/a349d020e63fbf60daef5c26de46d9dc837dfb66
https://github.com/triggerdotdev/trigger.dev/tree/a349d020e63fbf60daef5c26de46d9dc837dfb66
fix(webapp): address #3417 PR review feedback (round 2)https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/c3971602c174e96c4a976dd027d043d6d40dfa72
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
c397160https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/c3971602c174e96c4a976dd027d043d6d40dfa72
https://github.com/triggerdotdev/trigger.dev/tree/c3971602c174e96c4a976dd027d043d6d40dfa72
chore(server-changes): consolidate sessions PR into one entryhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/4b15c7d6b1738803a9e1f0e89f536f8217318e73
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
4b15c7dhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/4b15c7d6b1738803a9e1f0e89f536f8217318e73
https://github.com/triggerdotdev/trigger.dev/tree/4b15c7d6b1738803a9e1f0e89f536f8217318e73
fix(webapp): use prisma writer for read-after-write of triggered run friendlyIdhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/c0e87bf12ce3fce47e00c6a1171e3aeb014897d5
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
c0e87bfhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/c0e87bf12ce3fce47e00c6a1171e3aeb014897d5
https://github.com/triggerdotdev/trigger.dev/tree/c0e87bf12ce3fce47e00c6a1171e3aeb014897d5
fix(webapp): use prisma writer for post-race re-read of session row in sessionRunManagerhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/e5f9dd175b993171cfde2e237c3aa73e7902e9b1
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
e5f9dd1https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/e5f9dd175b993171cfde2e237c3aa73e7902e9b1
https://github.com/triggerdotdev/trigger.dev/tree/e5f9dd175b993171cfde2e237c3aa73e7902e9b1
fix(webapp): parse stringified chunk envelope in peek-settled fast pathhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/554940d9dbbaf13257e3c234287a67c421d4cb68
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
554940dhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/554940d9dbbaf13257e3c234287a67c421d4cb68
https://github.com/triggerdotdev/trigger.dev/tree/554940d9dbbaf13257e3c234287a67c421d4cb68
fix(webapp): use prisma writer for cancelLostRaceRun's just-triggered run lookuphttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/cf67175f033a6b5e8f67d902f8cbdd743ea22fec
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
cf67175https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/cf67175f033a6b5e8f67d902f8cbdd743ea22fec
https://github.com/triggerdotdev/trigger.dev/tree/cf67175f033a6b5e8f67d902f8cbdd743ea22fec
fix(webapp): reject create on closed sessions with 409https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/faf7888135aa94cb4d78f5a21b4a92bb1ffbbad2
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
faf7888https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/faf7888135aa94cb4d78f5a21b4a92bb1ffbbad2
https://github.com/triggerdotdev/trigger.dev/tree/faf7888135aa94cb4d78f5a21b4a92bb1ffbbad2
fix(webapp): hardcode v2 for session-streams wait race-checkhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/1a880fd045e9b7d6441dfb8b545c4a7ec4f14260
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
1a880fdhttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/1a880fd045e9b7d6441dfb8b545c4a7ec4f14260
https://github.com/triggerdotdev/trigger.dev/tree/1a880fd045e9b7d6441dfb8b545c4a7ec4f14260
fix(webapp): mask 404 as 403 when findResource returns null on authorized routeshttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/0caa55afa7ab9858eae7f30cfc1f09ff131eba57
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
0caa55ahttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/0caa55afa7ab9858eae7f30cfc1f09ff131eba57
https://github.com/triggerdotdev/trigger.dev/tree/0caa55afa7ab9858eae7f30cfc1f09ff131eba57
fix(webapp): only mask 404 as 403 when authorization failshttps://github.com/triggerdotdev/trigger.dev/pull/3417/commits/188fa43694201a8a4068b7461cacb173b2f9aeb9
https://github.com/ericallam
ericallamhttps://github.com/triggerdotdev/trigger.dev/commits?author=ericallam
188fa43https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/188fa43694201a8a4068b7461cacb173b2f9aeb9
https://github.com/triggerdotdev/trigger.dev/tree/188fa43694201a8a4068b7461cacb173b2f9aeb9
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.