Skip to content

feat(sync): upload Ego Portal E2 conversion outputs - #219

Merged
shark0F0497 merged 1 commit into
main-v2from
feat/sync-e2-conversion-outputs
Aug 28, 2026
Merged

feat(sync): upload Ego Portal E2 conversion outputs#219
shark0F0497 merged 1 commit into
main-v2from
feat/sync-e2-conversion-outputs

Conversation

@shark0F0497

Copy link
Copy Markdown
Collaborator

Summary

  • add E2 conversion source snapshots to the existing Sync Worker
  • resolve approved e2_multimodal_conversion output MCAP and calibration metadata
  • upload the E2 Job-generated calibration.json as a Hilbert ParamFile first
  • reuse READY ParamFiles and persist ParamFile state in the sync snapshot
  • register E2 output MCAP with ParamFileMotionStoreID
  • block MCAP upload whenever E2 calibration registration or upload is incomplete
  • keep original, Stereo Split, and depth-normalization sync behavior unchanged
  • validate E2 calibration object identity and SHA-256 metadata

Upload order

1. Register/recover Hilbert ParamFile
2. Upload calibration.json
3. FinishParamFileUpload
4. Register RawData with ParamFileMotionStoreID
5. Upload output_bag.mcap
6. FinishRawDataUpload

Validation

  • gofmt -w internal/services/sync_source_snapshot.go internal/services/sync_worker.go
  • go test ./internal/services/...
  • go test ./...
  • git diff --check

Design alignment

The E2 calibration.json is produced only by the E2 conversion Job. The Sync Worker reads and uploads that verified derivative output; it does not query or reuse Stereo Split/camera calibration records and never falls back to the original tar.

@shark0F0497
shark0F0497 merged commit 088c929 into main-v2 Aug 28, 2026
4 checks passed
@shark0F0497
shark0F0497 deleted the feat/sync-e2-conversion-outputs branch August 28, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant