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
feat: add checkpoint initialization timeout settings and warnings
- Added new localization strings for checkpoint initialization timeout messages in multiple languages.
- Implemented checkpoint initialization timeout feature in settings, allowing users to configure the timeout duration (10-60 seconds).
- Updated the ShadowCheckpointService to handle long initialization times and provide appropriate warnings.
- Enhanced the chat component to display checkpoint initialization warnings based on the new timeout settings.
- Modified the CheckpointWarning component to accept custom warning messages.
- Updated tests to cover new checkpoint timeout functionality and ensure proper integration.
Copy file name to clipboardExpand all lines: src/i18n/locales/en/common.json
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@
30
30
"checkpoint_failed": "Failed to restore checkpoint.",
31
31
"git_not_installed": "Git is required for the checkpoints feature. Please install Git to enable checkpoints.",
32
32
"nested_git_repos_warning": "Checkpoints are disabled because a nested git repository was detected at: {{path}}. To use checkpoints, please remove or relocate this nested git repository.",
33
+
"wait_checkpoint_long_time": "Checkpoint initialization is taking longer than expected. This may indicate a large repository or slow Git operations.",
34
+
"init_checkpoint_fail_long_time": "Checkpoint initialization failed after taking long time. Checkpoints have been disabled for this task. You can disable checkpoints entirely or increase the timeout in settings.",
33
35
"no_workspace": "Please open a project folder first",
34
36
"update_support_prompt": "Failed to update support prompt",
35
37
"reset_support_prompt": "Failed to reset support prompt",
0 commit comments