Skip to content

Guard against nil History in AppendRawHistoryNodes - #10309

Merged
yiminc merged 2 commits into
temporalio:mainfrom
mykaul:fix-nil-history-guard
Aug 19, 2026
Merged

Guard against nil History in AppendRawHistoryNodes#10309
yiminc merged 2 commits into
temporalio:mainfrom
mykaul:fix-nil-history-guard

Conversation

@mykaul

@mykaul mykaul commented May 18, 2026

Copy link
Copy Markdown
Contributor

Add nil check for request.History before accessing request.History.Data in serializeAppendRawHistoryNodesRequest to prevent a panic when the caller passes a nil DataBlob.

@mykaul
mykaul requested review from a team as code owners May 18, 2026 11:57
@mykaul
mykaul marked this pull request as draft May 18, 2026 12:00
Add nil check for request.History before accessing request.History.Data
to prevent a panic when the caller passes a nil DataBlob.
@mykaul
mykaul force-pushed the fix-nil-history-guard branch from a5d40af to 890495e Compare May 18, 2026 12:00
@mykaul
mykaul marked this pull request as ready for review May 18, 2026 12:01
@mykaul

mykaul commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

Can this be reviewed? I've hit it few times for some reason.

@prathyushpv prathyushpv added the reliability-2026 Reliability related changes label Aug 19, 2026
@prathyushpv
prathyushpv requested a review from a team August 19, 2026 00:20
@yiminc
yiminc merged commit 732f7b4 into temporalio:main Aug 19, 2026
90 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reliability-2026 Reliability related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants