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: ⚠️ 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 updates) live on a separate branch and ship together in an upcoming @trigger.dev/sdk prerelease. Until that prerelease is published, this surface is reachable only via direct HTTP. What this gives Trigger.dev users A new first-class primitive, Session, for durable, task-bound, bidirectional I/O that outlives any single run. Sessions are the run manager for chat.agent going forward, and they unblock anything else that needs "one identifier, many runs over time" with a stable channel pair the client can write to and subscribe to. Use cases unblocked Chat agents that persist across many runs. One session per chat (keyed on your own chatId via externalId), turns 1..N attach to the same Session, the UI subscribes once and keeps receiving output as new runs take over. Approval loops and long-running tasks with user feedback. The task waits on .in, the client writes to .in, the server enforces no-writes-after-close. Workflow progress streams that live past the run. Subscribe to .out after the task finishes to replay history. Resume-next-day flows. A session is a durable row, not a transient stream. Send a message a day later and the server triggers a fresh run on the same session. How it works (Session-as-run-manager) A Session row is task-bound (taskIdentifier + triggerConfig are required) and owns its current run via currentRunId + currentRunVersion for optimistic claim. Three trigger paths: Session create — POST /api/v1/sessions creates the row and triggers the first run synchronously. Append-time probe — POST /realtime/v1/sessions/:session/in/append checks if the current run is alive; if it has terminated (idle exit, crash, etc.), the server triggers a new run before processing the append. End-and-continue handoff — POST /api/v1/sessions/:session/end-and-continue, called by the running agent, triggers a fresh run and atomically swaps currentRunId. Used by chat.requestUpgrade() for version handoffs. Every triggered run is recorded in the SessionRun audit table with a reason (initial, continuation, upgrade, manual). Public API surface Control plane POST /api/v1/sessions — create. Idempotent on (env, externalId). Triggers the first run, returns the session and a session-scoped public access token. Returns 409 if the upserted row is already closed. GET /api/v1/sessions/:session — retrieve by friendlyId (session_abc...) or by your own externalId (server disambiguates by prefix). GET /api/v1/sessions — list with filters (type, tag, taskIdentifier, externalId, derived status ACTIVE/CLOSED/EXPIRED, created-at range) and cursor pagination. Backed by ClickHouse. PATCH /api/v1/sessions/:session — update tags / metadata / externalId. POST /api/v1/sessions/:session/close — terminate. Idempotent, hard-blocks new server-brokered writes. POST /api/v1/sessions/:session/end-and-continue — agent-only handoff to a fresh run. Realtime PUT /realtime/v1/sessions/:session/:io — initialize a channel. Returns S2 credentials in headers so high-throughput clients can write direct to S2. GET /realtime/v1/sessions/:session/:io — SSE subscribe. Supports Last-Event-ID resume and an opt-in X-Peek-Settled: 1 header that fast-closes the stream when the upstream is already settled (trigger:turn-complete), eliminating long-poll wait on reconnect-on-reload paths. POST /realtime/v1/sessions/:session/:io/append — server-side appends. POST /api/v1/runs/:runFriendlyId/session-streams/wait — runs wait on a session stream as a waitpoint, with a race-check to avoid suspending if data already landed. Auth scopes sessions is a new resource type. read:sessions:{id}, write:sessions:{id}, admin:sessions:{id} flow through the existing JWT validator. Session-scoped public access tokens minted by the server replace browser-held trigger-task tokens for chat-style flows — the browser never sees a run identifier or a run-scoped token in steady state. What's coming after this PR SDK + chat.agent migration: separate branch, separate PR, ships in the next @trigger.dev/sdk prerelease alongside this server deploy. Customers using the prerelease chat.agent will follow the upgrade guide. Dashboard surfaces: dedicated agent list, agent playground, agent view on the run dashboard. Tracking separately. Implementation notes Postgres Session table: scalar scoping columns (projectId, runtimeEnvironmentId, environmentType, organizationId) without FKs, matching the January TaskRun FK-removal decision. Point-lookup indexes only — list queries go to ClickHouse. Terminal markers (closedAt, expiresAt) are write-once. ClickHouse sessions_v1: ReplacingMergeTree, partitioned by month, ordered by (org_id, project_id, environment_id, created_at, session_id). Tags indexed via tokenbf_v1 skip index. SessionsReplicationService: mirrors RunsReplicationService exactly — leader-locked logical replication consumer, ConcurrentFlushScheduler, retry with exponential backoff + jitter, identical metric shape. Dedicated slot + publication so the two consume independently. S2 keys: sessions/{addressingKey}/{out|in}. The existing runs/{runId}/{streamId} key format for run-scoped streams is untouched. Optimistic claim: ensureRunForSession triggers a run upfront (cheap to cancel if it loses the race), then attempts an updateMany keyed on currentRunVersion. Loser cancels its triggered run and reuses the winner's. No DB lock held across the trigger. What did NOT change Run-scoped streams.pipe / streams.input and the existing /realtime/v1/streams/{runId}/... routes are unchanged. Sessions are net-new — not a reshaping of the current streams API. Deploy notes Set SESSION_REPLICATION_CLICKHOUSE_URL and SESSION_REPLICATION_ENABLED=1 to enable the replication consumer. The Session table needs REPLICA IDENTITY FULL set on the prod source DB before the publication is created (same one-time DDL we did for TaskRun). Required for delete events to carry full column values. Cross-form authorization on the GET /api/v1/sessions/:session loader (a JWT minted for either form authorizes both URL forms). Action routes are URL-form-specific, matching how the SDK mints PATs. Verification Webapp typecheck clean (10/10). apps/webapp/test/sessionsReplicationService.test.ts — round-trip tests for insert/update/delete through Postgres logical replication into ClickHouse via testcontainers. Live end-to-end against local dev: create + retrieve (both forms) + update + close, .out.initialize + .out.append x2 + .in.send + .out.subscribe over SSE, list with all filter combinations + pagination, end-and-continue swap, X-Peek-Settled fast-close (verified in browser via reconnect-on-reload and via curl). Replicated row lands in ClickHouse within ~1s. Multi-round Devin + CodeRabbit review feedback addressed (read-after-write paths use prisma writer, info-leak on auth-routes masked as 403, peek-settled discriminator parsing fix, etc.). Test plan pnpm run typecheck --filter webapp pnpm run test --filter webapp ./test/sessionsReplicationService.test.ts --run Start the webapp with SESSION_REPLICATION_CLICKHOUSE_URL and SESSION_REPLICATION_ENABLED=1. Confirm the slot and publication auto-create on boot. POST /api/v1/sessions and verify the row replicates to trigger_dev.sessions_v1 within a couple of seconds. POST /api/v1/sessions/:id/close, then confirm POST /realtime/v1/sessions/:id/out/append returns 400. Reuse a closed session's externalId on POST /api/v1/sessions and confirm 409. GET /realtime/v1/sessions/:id/out with X-Peek-Settled: 1 after a turn completes and confirm X-Session-Settled: true response header + immediate close.

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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:989f63bb-eae2-40be-e5af-aec5202fe4f0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB8E:263ABA:82436E:BA0AD3:6AFAFDC2
html-safe-noncea6a12289ca09224ec819a799309c4cc1af04b798f938f72d70eb58ae906ca165
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjhFOjI2M0FCQTo4MjQzNkU6QkEwQUQzOjZBRkFGREMyIiwidmlzaXRvcl9pZCI6Ijc3OTYxNjM4MjUwNTIwODk3OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac962ad3d6e21c0dad3898554c77386dfa87990738f6747d5b452932af46f49f56
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/3417/files
twitter:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
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:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54f7a6886649661c85eee945cca0773566bfb4065370e0429b7c8f7204184650
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
releasecf8450eb633ec589502c42ff6f4072e40db65da3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/3417/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3417%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%2F3417%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/3417/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3417/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3417/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
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
Conversation 151 https://github.com/triggerdotdev/trigger.dev/pull/3417
Commits 23 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits
Checks 46 https://github.com/triggerdotdev/trigger.dev/pull/3417/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/3417/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3417/files
feat: Sessions - bidirectional durable agent streams https://github.com/triggerdotdev/trigger.dev/pull/3417/files#top
Show all changes 23 commits https://github.com/triggerdotdev/trigger.dev/pull/3417/files
edded41 feat(webapp,clickhouse,database,core): Session primitive (server side) ericallam Apr 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/edded41cc30de62ca1a22ce2de4b0bf52f1adae0
f6149c9 code review fixes ericallam Apr 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/f6149c9f77602972e0a832d67bba82dce04f9304
a724f9c fix(core): reject externalId starting with 'session_' on Session crea… ericallam Apr 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/a724f9c8dd01e75c8877cc0af65d99f277269239
fceabc1 fix(webapp): allow JWT + CORS on sessions list endpoint ericallam Apr 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/fceabc1ef863801ddceced8bfe5e6b54c01c4cf1
2f8903a fix(webapp): tighten sessions create + list auth ericallam Apr 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/2f8903a8401d7c7b7ced967e4cc3a8e142cfc3a1
aaab958 feat(webapp,core): Session channel waitpoints — server side ericallam Apr 23, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/aaab95816d7a35327085b833fef98f88d1b55cd2
4f2c0e7 fix(webapp): CORS + allowJWT on public session create + append preflight ericallam Apr 23, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/4f2c0e7a11a45719c59e20abb8c6db1f2afc8c70
84d3db1 fix(webapp): address #3417 PR review feedback ericallam Apr 23, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/84d3db1c05a5d53874431ed15e4fd4b0cf2ceb4f
b6e642f fix(webapp): correct backward pagination slice on session list ericallam Apr 23, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/b6e642f057f219a5b5de0272e76178d9052f61a7
4453a45 feat(webapp): session.out wait=0 + X-Session-Settled on settled tail ericallam Apr 24, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/4453a45b5f86abbc4951ea1574b94622f62b06e6
71f02ce x-peek-settled header ericallam Apr 25, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/71f02ce783df959ed370e210abcf3141f2f31097
427541c feat(webapp,db,core): Sessions become run manager ericallam Apr 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/427541c26cc59cb4ec5d925c87b475604015e0ed
a349d02 fix(webapp): address #3417 PR review feedback ericallam Apr 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/a349d020e63fbf60daef5c26de46d9dc837dfb66
c397160 fix(webapp): address #3417 PR review feedback (round 2) ericallam Apr 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/c3971602c174e96c4a976dd027d043d6d40dfa72
4b15c7d chore(server-changes): consolidate sessions PR into one entry ericallam Apr 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/4b15c7d6b1738803a9e1f0e89f536f8217318e73
c0e87bf fix(webapp): use prisma writer for read-after-write of triggered run … ericallam Apr 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/c0e87bf12ce3fce47e00c6a1171e3aeb014897d5
e5f9dd1 fix(webapp): use prisma writer for post-race re-read of session row i… ericallam Apr 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/e5f9dd175b993171cfde2e237c3aa73e7902e9b1
554940d fix(webapp): parse stringified chunk envelope in peek-settled fast path ericallam Apr 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/554940d9dbbaf13257e3c234287a67c421d4cb68
cf67175 fix(webapp): use prisma writer for cancelLostRaceRun's just-triggered… ericallam Apr 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/cf67175f033a6b5e8f67d902f8cbdd743ea22fec
faf7888 fix(webapp): reject create on closed sessions with 409 ericallam Apr 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/faf7888135aa94cb4d78f5a21b4a92bb1ffbbad2
1a880fd fix(webapp): hardcode v2 for session-streams wait race-check ericallam Apr 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/1a880fd045e9b7d6441dfb8b545c4a7ec4f14260
0caa55a fix(webapp): mask 404 as 403 when findResource returns null on author… ericallam Apr 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/0caa55afa7ab9858eae7f30cfc1f09ff131eba57
188fa43 fix(webapp): only mask 404 as 403 when authorization fails ericallam Apr 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3417/commits/188fa43694201a8a4068b7461cacb173b2f9aeb9
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/3417/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3417/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3417/files
session-primitive.md https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-ec50add4f1b5bdaccba300323dc2284c74c396eb0c1b87f38a9955f33d8ef530
session-primitive.md https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-77de6a1bef57ca0ffb9af5f76bde722ab4d17000c9f377cdcf80c759b0640255
entry.server.tsx https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-32e3e680f29eb98d74e9807ba47f82ee702ae33f603597da9221f016eb403e8c
env.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-f8823615ef72da3494e74de9e62b2fa31315ed9360f17bc06ab943f4dc25f4fd
api.v1.runs.$runFriendlyId.session-streams.wait.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-8bc18806e0938b5429eaa9323aebbb5193c2a9ea6a6ffcaf3bbca7f0e71299aa
api.v1.sessions.$session.close.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-ac6b9609842f44f5ef03f7f74378007e8d6d3bfed88b196b9b9c7a20ae2677f7
api.v1.sessions.$session.end-and-continue.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-b82303a2e40c34f29eaf0baa2a6b31590573daf82e0282793e1bda714662739c
api.v1.sessions.$session.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-8d81170991a7a18563c1c1f76500565f9e62c4b19ba08c1301da35ce949bc2e8
api.v1.sessions.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-a2644e4d9c5775939a1ba789d72c8434c6f960cb1bc726d7a7750d86de99fd8d
realtime.v1.sessions.$session.$io.append.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-0f31cb7c5d193a771c2af6f814361f451a16e428a50c2711c569e8320cde1c05
realtime.v1.sessions.$session.$io.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-ebe04b1ce3436061fd8ba3587218efe6fc92742e2901faad98a70cc8e95621f8
realtime.v1.streams.$runId.$target.$streamId.append.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-720a8563be9733b2b0106d62a36a92c69e3b16bcc7143c8db34843727919908d
authorization.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-33733b1386fab0a163ea8523c4a5f1dfade37d82aaa9ff63d49bf85247780a01
mintSessionToken.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-cb3adb1d86525ea30d28cfedbf398c962862f624d2ddcdd7da761ead990dc98f
s2realtimeStreams.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-f62c67f5d371932bf6e6a036ddeaa65df31d997dd5855ae1d0125f3e73c7a445
sessionRunManager.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-41cb5d36c09c8d3dfda89c0b8885ca9f708ae247e6f6e2f2504d7ebdc0622c9a
sessions.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-8f1a50346518b30ad0d81ed748e21ca7a5c74a09e8c011837150f7c5a7a4324f
types.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-2bd383c3954f8c955c0993843692d513ba876b97d2cc018f35cd31ebe93c8ef7
apiBuilder.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-71eecbdfe401ee1746d2dc7cff713635f0d676ed9b38d2f2ef3e90b06297dc25
sessionStreamWaitpointCache.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-c83c264aacbd369666d1ff7bd329c9e2b48e6f6a419317cb5af7a635096327f5
sessionsReplicationInstance.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-a60de8b8733f38ace44765f6d3da11e27647035453f5d9974e5e5863079b15c6
sessionsReplicationService.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-d415ef2d762396e674ef2b0dc0eed80c43acc4f3fe1f2c0fb85c3958d3a7f582
clickhouseSessionsRepository.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-050bf58fcdfb441387f3266edaaedaa33059b7b8f99c1693c9ddba5b300f02ab
sessionsRepository.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-fceebca23b9d27fe7ece0c08ba277d2fa8bc2af7cd9d88d536a7c81f69841d31
adminWorker.server.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-90737046862f02c824074e80c962e5e499c0e20ebd6d34d8fd25503459c2043a
sessionsReplicationService.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-ef9cff525718937cb51f047b7359739fb26e1b39b41f3acbbb99c8ff972e3831
030_create_sessions_v1.sql https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-a5d2d166faf3faff98b5ecfc30026caeca08dd4ce9de774531cc5d0aa11a9f54
index.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-2e6d3213fef546d9f2caf30976ed88b793b2da8ec70f079a4701db7686f00564
sessions.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-3571d811796382f5237f6b0625b0751aa0d1652cbc6b8947d4690ce5083b12bd
migration.sql https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-be8a6cc15a2203cc96a6fdcf434daac50150ffd9d6bff6568978e0200ea0edd7
migration.sql https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-02019c1b11ed01633af2885810812fa43effa1f99f45a5a2dfba57720fa23765
migration.sql https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-ba21a516c1f78dcbb2bd882980ec88e9b41d14956520c960c44b969bcc815321
schema.prisma https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-6b8eefc1da429865c9493bbac9d2c4d00d1cfe2f2231f6474b9692f13b88e419
friendlyId.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-7ae9f93683cfc78e13d1f1421d7f7ecea6200178e5cbf53980839cceeb992617
api.ts https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-c929980f61a97fbebd23b497e2303aa302e5365161fbea596997800df6a4c6c4
.changeset/session-primitive.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-ec50add4f1b5bdaccba300323dc2284c74c396eb0c1b87f38a9955f33d8ef530
View file https://github.com/triggerdotdev/trigger.dev/blob/188fa43694201a8a4068b7461cacb173b2f9aeb9/.changeset/session-primitive.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3417/{{ revealButtonHref }}
.server-changes/session-primitive.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-77de6a1bef57ca0ffb9af5f76bde722ab4d17000c9f377cdcf80c759b0640255
View file https://github.com/triggerdotdev/trigger.dev/blob/188fa43694201a8a4068b7461cacb173b2f9aeb9/.server-changes/session-primitive.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3417/{{ revealButtonHref }}
apps/webapp/app/entry.server.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-32e3e680f29eb98d74e9807ba47f82ee702ae33f603597da9221f016eb403e8c
View file https://github.com/triggerdotdev/trigger.dev/blob/188fa43694201a8a4068b7461cacb173b2f9aeb9/apps/webapp/app/entry.server.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3417/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-32e3e680f29eb98d74e9807ba47f82ee702ae33f603597da9221f016eb403e8c
https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-32e3e680f29eb98d74e9807ba47f82ee702ae33f603597da9221f016eb403e8c
apps/webapp/app/env.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-f8823615ef72da3494e74de9e62b2fa31315ed9360f17bc06ab943f4dc25f4fd
View file https://github.com/triggerdotdev/trigger.dev/blob/188fa43694201a8a4068b7461cacb173b2f9aeb9/apps/webapp/app/env.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3417/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-f8823615ef72da3494e74de9e62b2fa31315ed9360f17bc06ab943f4dc25f4fd
https://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-f8823615ef72da3494e74de9e62b2fa31315ed9360f17bc06ab943f4dc25f4fd
apps/webapp/app/routes/api.v1.runs.$runFriendlyId.session-streams.wait.tshttps://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-8bc18806e0938b5429eaa9323aebbb5193c2a9ea6a6ffcaf3bbca7f0e71299aa
View file https://github.com/triggerdotdev/trigger.dev/blob/188fa43694201a8a4068b7461cacb173b2f9aeb9/apps/webapp/app/routes/api.v1.runs.%24runFriendlyId.session-streams.wait.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3417/{{ revealButtonHref }}
apps/webapp/app/routes/api.v1.sessions.$session.close.tshttps://github.com/triggerdotdev/trigger.dev/pull/3417/files#diff-ac6b9609842f44f5ef03f7f74378007e8d6d3bfed88b196b9b9c7a20ae2677f7
View file https://github.com/triggerdotdev/trigger.dev/blob/188fa43694201a8a4068b7461cacb173b2f9aeb9/apps/webapp/app/routes/api.v1.sessions.%24session.close.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3417/{{ revealButtonHref }}
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3417/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3417/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3417/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.