Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
triggerdotdev
/
trigger.dev
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
1.4k
Star
15.9k
Code
Issues
345
Pull requests
70
Discussions
Actions
Projects
Security and quality
26
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
fix(sdk): preserve partial assistant message on chat stream failure
- #4348
#4348
Merged
matt-aitken
merged 14 commits into
main
triggerdotdev/trigger.dev:main
from
fix/chat-preserve-partial-on-stream-failure
triggerdotdev/trigger.dev:fix/chat-preserve-partial-on-stream-failure
Copy head branch name to clipboard
Jul 24, 2026
Conversation
Commits
14
(14)
Checks
Files changed
Merged
fix(sdk): preserve partial assistant message on chat stream failure
#4348
matt-aitken
merged 14 commits into
main
triggerdotdev/trigger.dev:main
from
fix/chat-preserve-partial-on-stream-failure
triggerdotdev/trigger.dev:fix/chat-preserve-partial-on-stream-failure
Copy head branch name to clipboard
Commits
Commits on Jul 23, 2026
fix(sdk): preserve partial assistant message on chat stream failure
Show description for 8152444
matt-aitken
committed
8152444
View commit details
Copy full SHA for 8152444
Browse repository at this point
fix(sdk): persist recovered partial to accumulator and snapshot on error
Show description for dc63a6e
matt-aitken
committed
dc63a6e
View commit details
Copy full SHA for dc63a6e
Browse repository at this point
fix(sdk): mirror success-path accumulation on chat.agent error path
Show description for 1fe685c
matt-aitken
committed
1fe685c
View commit details
Copy full SHA for 1fe685c
Browse repository at this point
fix(sdk): don't overwrite a committed response when a post-response step throws
Show description for b6ea02f
matt-aitken
committed
b6ea02f
View commit details
Copy full SHA for b6ea02f
Browse repository at this point
fix(sdk): include the recovered partial in the error event's newMessages
Show description for a225c36
matt-aitken
committed
a225c36
View commit details
Copy full SHA for a225c36
Browse repository at this point
fix(sdk): harden error-path partial recovery against fragment clobber and desync
Show description for 882364a
matt-aitken
committed
882364a
View commit details
Copy full SHA for 882364a
Browse repository at this point
fix(sdk): preserve stream backpressure when tapping chat chunks
Show description for ec33b97
matt-aitken
committed
ec33b97
View commit details
Copy full SHA for ec33b97
Browse repository at this point
fix(sdk): clean incomplete parts from the recovered error partial
Show description for 6aeb2b9
matt-aitken
committed
6aeb2b9
View commit details
Copy full SHA for 6aeb2b9
Browse repository at this point
perf(sdk): release the chat chunk buffer once the response is committed
Show description for ecfede6
matt-aitken
committed
ecfede6
View commit details
Copy full SHA for ecfede6
Browse repository at this point
fix(sdk): preserve compaction and avoid double-persist on the error path
Show description for 1916507
matt-aitken
committed
1916507
View commit details
Copy full SHA for 1916507
Browse repository at this point
fix(sdk): include the errored user message in the error event's newMessages
Show description for b5c37ee
matt-aitken
committed
b5c37ee
View commit details
Copy full SHA for b5c37ee
Browse repository at this point
fix(sdk): fold queued response data parts into the managed error partial
Show description for aaa51a3
matt-aitken
committed
aaa51a3
View commit details
Copy full SHA for aaa51a3
Browse repository at this point
fix(sdk): satisfy the package build's stricter null-narrowing on the error partial
Show description for 0316b05
matt-aitken
committed
0316b05
View commit details
Copy full SHA for 0316b05
Browse repository at this point
Commits on Jul 24, 2026
chore(sdk): strip explanatory comments and trim the changeset
Show description for 65fc6d2
matt-aitken
committed
65fc6d2
View commit details
Copy full SHA for 65fc6d2
Browse repository at this point
You can’t perform that action at this time.