Merged
Conversation
Merge pull request #95 from contentstack/development
…ements Fixes multiple critical issues in DataSync Manager: 1. Error 141 Smart Checkpoint Recovery - Automatically updates checkpoint with recovery metadata on invalid token - Forces init=true on restart for seamless recovery - Tracks recovery_count and preserves previous_token for debugging - Prevents manual intervention requirements 2. getConfig TypeError Resolution - Fixes "getConfig is not a function" error in RTE/Markdown asset plugin - Implements lazy-loading to resolve circular dependency issues - Enables successful sync of entries with embedded assets 3. API Timeout Increase - Increases timeout from 30s to 60s for large stack syncs - Improves reliability on slow networks and enterprise environments 4. Checkpoint Path Cleanup - Removes buggy fallback path logic - Eliminates "File not found" errors - Cleans up unused imports Validated Fixes: - ✅ getConfig TypeError fully tested with RTE entries - ✅ Timeout increase active and verified - ✅ Checkpoint handling improved - ✅ 30+ minute stability test passed Version: 2.4.0-beta.0 → 2.4.0-beta.1
- Remove over-engineered checkpoint manipulation in core/index.ts - Fix req.path mutation bug preventing Error 141 recovery in api.ts - Resolve circular dependency in helper.js with lazy-loading - Update error messages for better clarity
- Implement delayed retry mechanism for Error 141 recovery in api.ts - Expand retryable error codes to include various network errors - Update logging for better clarity on retry attempts - Reset sync_token in core/index.ts for fresh sync initiation
…out-improvements Fix/error 141 getconfig timeout improvements
aman19K
approved these changes
Feb 16, 2026
AniketDev7
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.