Conversation
Entire-Checkpoint: af494d0087bc
PR SummaryLow Risk Overview Both Written by Cursor Bugbot for commit ee37431. Configure here. |
There was a problem hiding this comment.
Pull request overview
This PR performs a refactoring to eliminate code duplication by extracting common logic into a helper function. The changes extract identical code blocks from two functions (restoreSessionTranscriptFromStrategy and restoreSessionTranscriptFromShadow) that both handle session restoration with export data.
Changes:
- Extracted duplicated session restoration logic into new helper function
writeSessionWithExportData - Both caller functions now invoke this helper instead of duplicating the implementation
- Minor comment update for consistency
Entire-Checkpoint: af494d0087bc