feat: add asynchronous schema tracking export with ZIP segments and job status API#140
Merged
devlead merged 2 commits intoWCOMAB:mainfrom Apr 30, 2026
Merged
Conversation
…ob status API
Introduce end-to-end export of change-tracking data for a configured sync
table: full rows for inserts/updates and primary keys for deletes, written
as streamed JSON-in-ZIP to blob storage with Azure Table coordination and
queue-based orchestration.
HTTP (Function auth):
- POST .../schema/tracking/{tableId}/export with author, referenceId, purpose;
persists blobs and exportjobs row, returns 202 with Location to status.
- GET .../export/status/{*correlationId} for job detail (optional result SAS
when result.json exists) or list when correlation segment is empty.
Workers and storage:
- Queues: exportjob dispatch; exportjob-{updated,inserted,deleted} segments;
matching -done completion queues and -error dead-letter style correlation
messages on segment failure.
- Blobs: export container (request.json, job.json, response/*.zip, result.json).
- Tables: exportjobs partition area_jobId_tableId (sanitized), row key v7 GUID.
Implementation:
- SchemaTrackingExportService for create, list, status, dispatch, segment
processing, optimistic ETag merges, finalize with 7-day read SAS URIs.
- SchemaTrackingExportStreamingZip streams SqlDataReader into one ZIP entry.
- SqlStatementExtensions: CHANGETABLE segment SELECTs; Guid.CreateVersion7 for
new identifiers where applicable.
Also: README schema tracking export section; Azure.Data.Tables dependency;
Directory.Packages.props bumps (Functions worker, OpenTelemetry, SqlClient,
Cronos, etc.).
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.
Introduce end-to-end export of change-tracking data for a configured sync table: full rows for inserts/updates and primary keys for deletes, written as streamed JSON-in-ZIP to blob storage with Azure Table coordination and queue-based orchestration.
HTTP (Function auth):
Workers and storage:
Implementation:
Also: README schema tracking export section; Azure.Data.Tables dependency; Directory.Packages.props bumps (Functions worker, OpenTelemetry, SqlClient, Cronos, etc.).