feat: dynamic endpoint resolution via CDN-backed regions registry#179
Conversation
OMpawar-21
commented
Jun 19, 2026
- Added Endpoint class — resolves service URLs from regions.json with 3-tier cache (memory → disk → CDN)
- Added ContentstackRegionMap — bridges ContentstackRegion enum to registry region IDs
- Added GCP_EU to ContentstackRegion enum
- Replaced hardcoded regionCode() and HostURL in Config.BaseUrl with Endpoint lookup
- Replaced refresh-region.cs with refresh-region.py to prevent MSBuild from compiling the script as source
- Added build/contentstack.csharp.targets to auto-deliver refresh-region.py on first consumer build
- Added Assets/regions.json to .gitignore
- Added EndpointTest.cs
Update sca-scan.yml
update: added skill files
…upport Add preview_timestamp/release_id support, fingerprint-based caching, and Fork() method for isolated timeline contexts. Enables viewing historical content states and parallel timeline comparisons.
- Implement Timeline Preview API integration tests with real preview_timestamp and release_id scenarios - Add authentication flow tests for Management Token vs Preview Token scenarios - Create enhanced mock infrastructure for Timeline Preview API simulation - Fix permissive error handling in existing integration tests with specific error assertions - Add performance and load testing for Timeline Preview operations - Implement cache validation tests against live API responses - Create comprehensive error scenario tests including HTTP status mapping New test suites: - TimelinePreviewApiTests: Core Timeline API functionality - TimelineAuthenticationTests: Authentication flow validation - TimelineCacheValidationTests: Cache behavior and fingerprinting - TimelinePreviewErrorTests: Comprehensive error handling - TimelinePreviewPerformanceTest: Performance benchmarking - LivePreviewLoadTest: Concurrent operation testing Test coverage includes: - Timeline queries with preview_timestamp and release_id headers - Fork isolation for concurrent timeline states - Cache hit performance validation (3x+ speedup) - Memory leak detection and prevention - Network error handling and graceful degradation - Authentication token validation scenarios - HTTP status code mapping to SDK exceptions Fixes integration test reliability by replacing broad exception catching with specific error assertions and proper test isolation.
feat(1254): Add comprehensive Timeline Preview integration test coverage
Fix/back merge
DX | 27-04-2026 | Release
…cess DX-6163: new release process
chore: dependency override
Master to Development back merge
- Added Endpoint class — resolves service URLs from regions.json with 3-tier cache (memory → disk → CDN) - Added ContentstackRegionMap — bridges ContentstackRegion enum to registry region IDs - Added GCP_EU to ContentstackRegion enum - Replaced hardcoded regionCode() and HostURL in Config.BaseUrl with Endpoint lookup - Replaced refresh-region.cs with refresh-region.py to prevent MSBuild from compiling the script as source - Added build/contentstack.csharp.targets to auto-deliver refresh-region.py on first consumer build - Added Assets/regions.json to .gitignore - Added EndpointTest.cs
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |

