| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5c64382e-a088-f36a-310d-08572dbf6c70 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A788:109611:1069:15BD:6AFBD546 |
| html-safe-nonce | 38ddd7ced1a49d77bc9b2460a7c86d442a98494a1c878dc088c95d04844c8a19 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzg4OjEwOTYxMToxMDY5OjE1QkQ6NkFGQkQ1NDYiLCJ2aXNpdG9yX2lkIjoiMjkxNTk0NjE2NDgzMjE2MzE0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 473a7e1f393267ee15f8de97c909171b08003c98e23a900d0c36e7991e8f7fa5 |
| hovercard-subject-tag | pull_request:3848592208 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
| twitter:image | https://avatars.githubusercontent.com/u/534?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/534?s=400&v=4 |
| og:image:alt | Summary
Three related fixes for chat.headStart and continuation boots, found while investigating customer reports.
1. chat.headStart now works with hydrateMessages. The turn-0 handover splice only ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 820be804f18e1ef3940bd74a00d41d73d02e2b91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3907%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3907%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
| Reload | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
| triggerdotdev | https://github.com/triggerdotdev |
| trigger.dev | https://github.com/triggerdotdev/trigger.dev |
| Code | https://github.com/triggerdotdev/trigger.dev |
| Issues203 (203) | https://github.com/triggerdotdev/trigger.dev/issues |
| Pull requests67 (67) | https://github.com/triggerdotdev/trigger.dev/pulls |
| Discussions | https://github.com/triggerdotdev/trigger.dev/discussions |
| Actions | https://github.com/triggerdotdev/trigger.dev/actions |
| Projects | https://github.com/triggerdotdev/trigger.dev/projects |
| Security and quality39 (39) | https://github.com/triggerdotdev/trigger.dev/security |
| Insights | https://github.com/triggerdotdev/trigger.dev/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose |
| ericallam | https://github.com/ericallam |
| main | https://github.com/triggerdotdev/trigger.dev/tree/main |
| fix/chat-headstart-hydrate | https://github.com/triggerdotdev/trigger.dev/tree/fix/chat-headstart-hydrate |
|
Conversation
10
| https://github.com/triggerdotdev/trigger.dev/pull/3907 |
|
Commits
4
| https://github.com/triggerdotdev/trigger.dev/pull/3907/commits |
|
Checks
62
| https://github.com/triggerdotdev/trigger.dev/pull/3907/checks |
|
Files changed
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
|
fix(sdk,core): head-start handover correctness and continuation boot latency
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#top |
|
Show all changes
4 commits
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
|
f4e7fb2
fix(sdk): deliver the head-start handover partial when hydrateMessage…
ericallam Jun 11, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/3907/commits/f4e7fb27477590a753d72e827e389068819d6aeb |
|
ba8bab3
fix(sdk): preserve reasoning parts across the head-start handover
ericallam Jun 11, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/3907/commits/ba8bab39d0c126298d20f1c885d02a841413011b |
|
4a88e92
fix(sdk,core): stop continuation chat boots idle-waiting on the sessi…
ericallam Jun 11, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/3907/commits/4a88e921e0d50720b8ae357a6f54e2e82d57a537 |
|
9042df6
fix(sdk): retry the resume-cursor scan when the boot lookup fails tra…
ericallam Jun 11, 2026
| https://github.com/triggerdotdev/trigger.dev/pull/3907/commits/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4 |
|
Clear filters
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
|
chat-boot-cursor.md
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-58e0e6fd0d6fa2ee012050de47d49033625b39206e650c036b129ae737e9e9e3 |
|
chat-headstart-hydrate.md
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-622a1dae03a02716b5fbd764b559f7ed5d0b8ac964e3d5bc3fd7a0a017ed1a0f |
|
chat-headstart-reasoning.md
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-162e9141dac08460b21c9173d530ef1b085b11a5cad4eb6601d756cce63341ad |
|
api.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-c929980f61a97fbebd23b497e2303aa302e5365161fbea596997800df6a4c6c4 |
|
chatSnapshot.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-8208d71e468f9fab9c888724cc4cf34613b29cf0293b6a76fa0f4ba39b10bb63 |
|
ai.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
mock-chat-agent.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-d5b3e51c31466b619dfd277ca1526277dad3ff6d73a80fc63761c5d126afb73c |
|
chatHandover.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-ff1841c9aee3b33e838af89993f46858e1a1d10f9e45ac473196a7d69e232d11 |
|
mockChatAgent.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-57bae465d6d60ad1ba7ad0a3d65dbd8febd0b8ad573c71def72beff99a0f6687 |
|
replay-session-in.test.ts
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-d6327c125cb243c0a3461ac73303829e17217157ddb191e3f855e17340330f4b |
| .changeset/chat-boot-cursor.md | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-58e0e6fd0d6fa2ee012050de47d49033625b39206e650c036b129ae737e9e9e3 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4/.changeset/chat-boot-cursor.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3907/{{ revealButtonHref }} |
| .changeset/chat-headstart-hydrate.md | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-622a1dae03a02716b5fbd764b559f7ed5d0b8ac964e3d5bc3fd7a0a017ed1a0f |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4/.changeset/chat-headstart-hydrate.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3907/{{ revealButtonHref }} |
| .changeset/chat-headstart-reasoning.md | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-162e9141dac08460b21c9173d530ef1b085b11a5cad4eb6601d756cce63341ad |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4/.changeset/chat-headstart-reasoning.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3907/{{ revealButtonHref }} |
| packages/core/src/v3/schemas/api.ts | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-c929980f61a97fbebd23b497e2303aa302e5365161fbea596997800df6a4c6c4 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4/packages/core/src/v3/schemas/api.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3907/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-c929980f61a97fbebd23b497e2303aa302e5365161fbea596997800df6a4c6c4 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-c929980f61a97fbebd23b497e2303aa302e5365161fbea596997800df6a4c6c4 |
| packages/core/src/v3/sessionStreams/chatSnapshot.ts | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-8208d71e468f9fab9c888724cc4cf34613b29cf0293b6a76fa0f4ba39b10bb63 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4/packages/core/src/v3/sessionStreams/chatSnapshot.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3907/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-8208d71e468f9fab9c888724cc4cf34613b29cf0293b6a76fa0f4ba39b10bb63 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-8208d71e468f9fab9c888724cc4cf34613b29cf0293b6a76fa0f4ba39b10bb63 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-8208d71e468f9fab9c888724cc4cf34613b29cf0293b6a76fa0f4ba39b10bb63 |
| packages/trigger-sdk/src/v3/ai.ts | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4/packages/trigger-sdk/src/v3/ai.ts |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
| packages/trigger-sdk/src/v3/test/mock-chat-agent.ts | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-d5b3e51c31466b619dfd277ca1526277dad3ff6d73a80fc63761c5d126afb73c |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4/packages/trigger-sdk/src/v3/test/mock-chat-agent.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3907/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-d5b3e51c31466b619dfd277ca1526277dad3ff6d73a80fc63761c5d126afb73c |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-d5b3e51c31466b619dfd277ca1526277dad3ff6d73a80fc63761c5d126afb73c |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-d5b3e51c31466b619dfd277ca1526277dad3ff6d73a80fc63761c5d126afb73c |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-d5b3e51c31466b619dfd277ca1526277dad3ff6d73a80fc63761c5d126afb73c |
| packages/trigger-sdk/test/chatHandover.test.ts | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-ff1841c9aee3b33e838af89993f46858e1a1d10f9e45ac473196a7d69e232d11 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4/packages/trigger-sdk/test/chatHandover.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3907/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-ff1841c9aee3b33e838af89993f46858e1a1d10f9e45ac473196a7d69e232d11 |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-ff1841c9aee3b33e838af89993f46858e1a1d10f9e45ac473196a7d69e232d11 |
| packages/trigger-sdk/test/mockChatAgent.test.ts | https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-57bae465d6d60ad1ba7ad0a3d65dbd8febd0b8ad573c71def72beff99a0f6687 |
|
View file
| https://github.com/triggerdotdev/trigger.dev/blob/9042df6f2a8c80275f8d8f77b75c2b440b8f95c4/packages/trigger-sdk/test/mockChatAgent.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/triggerdotdev/trigger.dev/pull/3907/{{ revealButtonHref }} |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-57bae465d6d60ad1ba7ad0a3d65dbd8febd0b8ad573c71def72beff99a0f6687 |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
|
| https://github.com/triggerdotdev/trigger.dev/pull/3907/files#diff-57bae465d6d60ad1ba7ad0a3d65dbd8febd0b8ad573c71def72beff99a0f6687 |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
| Please reload this page | https://github.com/triggerdotdev/trigger.dev/pull/3907/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |