René's URL Explorer Experiment


Title: fix(webapp): keep session runs off the legacy realtime streams backend by matt-aitken · Pull Request #4562 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix(webapp): keep session runs off the legacy realtime streams backend by matt-aitken · Pull Request #4562 · triggerdotdev/trigger.dev

X Title: fix(webapp): keep session runs off the legacy realtime streams backend by matt-aitken · Pull Request #4562 · triggerdotdev/trigger.dev

Description: Summary Runs created for a Session were triggered without a realtime streams version, so they fell through to the realtimeStreamsVersion column default of v1. A Session's own .in / .out channels are always v2, so any run-scoped streams.append() or streams.pipe() call made inside a session run wrote to a different backend than the session it belongs to, and stayed there for the life of the run. The API trigger routes were never affected. They call determineRealtimeStreamsVersion with the client's x-trigger-realtime-streams-version header and always pass an explicit value, so a current SDK asking for v2 gets it. Only the internal callers that build trigger options by hand were leaning on the column default. Fix triggerSessionRun resolves the version explicitly: const result = await service.call(session.taskIdentifier, environment, body, { triggerSource: "session", triggerAction: "trigger", realtimeStreamsVersion: determineRealtimeStreamsVersion("v2"), }); determineRealtimeStreamsVersion degrades to v1 when v2 streams are not configured, so self-hosted instances without them keep working rather than failing on every session run. This only changes newly created runs. A run already stamped v1 keeps that version for its lifetime by design, since readers resolve the backend from the same column and its existing streams have to stay readable. Scheduled runs reach the same column default through scheduleEngine.server.ts and are deliberately left alone here. That one is a policy question about REALTIME_STREAMS_DEFAULT_VERSION rather than an inconsistency inside a single feature, so it wants its own change.

Open Graph Description: Summary Runs created for a Session were triggered without a realtime streams version, so they fell through to the realtimeStreamsVersion column default of v1. A Session's own .in / .out channel...

X Description: Summary Runs created for a Session were triggered without a realtime streams version, so they fell through to the realtimeStreamsVersion column default of v1. A Session's own .in / .out cha...

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

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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:119093a8-af49-270e-bc97-93c49ddb78d6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id800C:191C90:72F6E:A1BB9:6AFAF691
html-safe-noncef7e4d15eda5b4407cf9dd807ed6b85c5251dc0bb112e2e0d2cf9a60cab58e9fe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDBDOjE5MUM5MDo3MkY2RTpBMUJCOTo2QUZBRjY5MSIsInZpc2l0b3JfaWQiOiI2ODcwODMyNTI1NzkxMTMxMjgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace7405e57784848a84fd5e0389a39d7a412caef607d682dd07fe503ebcd05171b
hovercard-subject-tagpull_request:4249383773
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/4562/files
twitter:imagehttps://avatars.githubusercontent.com/u/10635986?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10635986?s=400&v=4
og:image:altSummary Runs created for a Session were triggered without a realtime streams version, so they fell through to the realtimeStreamsVersion column default of v1. A Session's own .in / .out channel...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea85e96a83bed7871993e6b1ffda24105928eee17
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4562/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4562%2Ffiles
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%2F4562%2Ffiles
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%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
matt-aitkenhttps://github.com/matt-aitken
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
fix/session-run-streams-versionhttps://github.com/triggerdotdev/trigger.dev/tree/fix/session-run-streams-version
Conversation 14 https://github.com/triggerdotdev/trigger.dev/pull/4562
Commits 4 https://github.com/triggerdotdev/trigger.dev/pull/4562/commits
Checks 44 https://github.com/triggerdotdev/trigger.dev/pull/4562/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/4562/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
fix(webapp): keep session runs off the legacy realtime streams backend https://github.com/triggerdotdev/trigger.dev/pull/4562/files#top
Show all changes 4 commits https://github.com/triggerdotdev/trigger.dev/pull/4562/files
1464758 fix(webapp): keep session runs off the legacy realtime streams backend matt-aitken Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4562/commits/1464758bbeea0f052bae378a7da8c8652b96aa02
1826f9a test(webapp): prove session runs route run-scoped streams to S2 matt-aitken Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4562/commits/1826f9a73a7751c965433d3522a9d40da8b97125
31d490a test(webapp): exercise the real frame size in the streams-backend e2e matt-aitken Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4562/commits/31d490a323027fd24d0929226bbc0a60856ca95b
9a88526 test(webapp): use a neutral stream id in the streams-backend e2e matt-aitken Aug 11, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4562/commits/9a885267a0d369c6f39c91d6b96a3d3a70e71702
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/4562/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
session-run-streams-version.md https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-da3d3f72ab8d9bf10b9b894dbb8f9cc05b317f1133cb11a4a4f006deb4239f3c
sessionRunManager.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-41cb5d36c09c8d3dfda89c0b8885ca9f708ae247e6f6e2f2504d7ebdc0622c9a
realtimeServices.replicaLag.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-5a9a5e7f2262c56af1dc0ebdbde55ff58a90bc52ed885e5b8634ff495488fc80
sessionRunStreamsBackend.e2e.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-b102cdd7610ba4f7240d8ab71603202ea9ef4cffde20450a8a2e2223f74f73d8
webapp.ts https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-02b733f764fec8b80694ac718d6463ea1a25de0ba2d188bd6fc451222c2f8113
.server-changes/session-run-streams-version.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-da3d3f72ab8d9bf10b9b894dbb8f9cc05b317f1133cb11a4a4f006deb4239f3c
View file https://github.com/triggerdotdev/trigger.dev/blob/9a885267a0d369c6f39c91d6b96a3d3a70e71702/.server-changes/session-run-streams-version.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4562/{{ revealButtonHref }}
apps/webapp/app/services/realtime/sessionRunManager.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-41cb5d36c09c8d3dfda89c0b8885ca9f708ae247e6f6e2f2504d7ebdc0622c9a
View file https://github.com/triggerdotdev/trigger.dev/blob/9a885267a0d369c6f39c91d6b96a3d3a70e71702/apps/webapp/app/services/realtime/sessionRunManager.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4562/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-41cb5d36c09c8d3dfda89c0b8885ca9f708ae247e6f6e2f2504d7ebdc0622c9a
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-41cb5d36c09c8d3dfda89c0b8885ca9f708ae247e6f6e2f2504d7ebdc0622c9a
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-41cb5d36c09c8d3dfda89c0b8885ca9f708ae247e6f6e2f2504d7ebdc0622c9a
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-41cb5d36c09c8d3dfda89c0b8885ca9f708ae247e6f6e2f2504d7ebdc0622c9a
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-41cb5d36c09c8d3dfda89c0b8885ca9f708ae247e6f6e2f2504d7ebdc0622c9a
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-41cb5d36c09c8d3dfda89c0b8885ca9f708ae247e6f6e2f2504d7ebdc0622c9a
apps/webapp/test/realtimeServices.replicaLag.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-5a9a5e7f2262c56af1dc0ebdbde55ff58a90bc52ed885e5b8634ff495488fc80
View file https://github.com/triggerdotdev/trigger.dev/blob/9a885267a0d369c6f39c91d6b96a3d3a70e71702/apps/webapp/test/realtimeServices.replicaLag.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4562/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-5a9a5e7f2262c56af1dc0ebdbde55ff58a90bc52ed885e5b8634ff495488fc80
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-5a9a5e7f2262c56af1dc0ebdbde55ff58a90bc52ed885e5b8634ff495488fc80
apps/webapp/test/sessionRunStreamsBackend.e2e.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-b102cdd7610ba4f7240d8ab71603202ea9ef4cffde20450a8a2e2223f74f73d8
View file https://github.com/triggerdotdev/trigger.dev/blob/9a885267a0d369c6f39c91d6b96a3d3a70e71702/apps/webapp/test/sessionRunStreamsBackend.e2e.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4562/{{ revealButtonHref }}
internal-packages/testcontainers/src/webapp.tshttps://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-02b733f764fec8b80694ac718d6463ea1a25de0ba2d188bd6fc451222c2f8113
View file https://github.com/triggerdotdev/trigger.dev/blob/9a885267a0d369c6f39c91d6b96a3d3a70e71702/internal-packages/testcontainers/src/webapp.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4562/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-02b733f764fec8b80694ac718d6463ea1a25de0ba2d188bd6fc451222c2f8113
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-02b733f764fec8b80694ac718d6463ea1a25de0ba2d188bd6fc451222c2f8113
https://github.com/triggerdotdev/trigger.dev/pull/4562/files#diff-02b733f764fec8b80694ac718d6463ea1a25de0ba2d188bd6fc451222c2f8113
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4562/files
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.