refactor(data): make dataviewer storage non-blocking - #1566
Draft
Alexandre Gattiker (algattik) wants to merge 1 commit into
Draft
Alexandre Gattiker (algattik) wants to merge 1 commit into
Alexandre Gattiker (algattik) wants to merge 1 commit into
Conversation
- move storage I/O off the event loop and unify adapter behavior - persist annotation payloads across frontend and backend boundaries - use mirrored dependency locks and harden local service startup Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: e1b95c18-4d4e-42e3-9d45-873695d8de2f ♻️ - Generated by Copilot
Alexandre Gattiker (algattik)
requested a review
from a team
as a code owner
September 18, 2026 15:47
Contributor
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1566 +/- ##
==========================================
- Coverage 88.10% 88.09% -0.02%
==========================================
Files 279 279
Lines 23203 23231 +28
Branches 3153 3203 +50
==========================================
+ Hits 20444 20466 +22
- Misses 2071 2075 +4
- Partials 688 690 +2
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
Alexandre Gattiker (algattik)
marked this pull request as draft
September 18, 2026 18:28
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.
Description
Moved blocking storage work off the FastAPI event loop, made Azure transfers asynchronous and resource-safe, and aligned storage adapter behavior. Fixed annotation serialization and save sequencing so language instructions persist after reload. Hardened the local launcher to detect failed child processes, preserve exit status, and reject occupied ports.
Closes #120
Type of Change
Component(s) Affected
infrastructure/terraform/prerequisites/- Azure subscription setupinfrastructure/terraform/- Terraform infrastructureinfrastructure/setup/- OSMO control plane / Helmworkflows/- Training and evaluation workflowstraining/- Training pipelines and scriptsdocs/- Documentationdata-management/viewer/- Dataset analysis backend and frontendTesting Performed
planreviewed (no unexpected changes)applytested in dev environmentsmoke_test_azure.py)The manual plan covered deterministic local and Azure datasets, annotation CRUD and reload persistence, path validation, Hugging Face fallback, Azure discovery and synchronization, chunked upload/download and ranged streaming, event-loop responsiveness, SDK retry recovery/exhaustion, and browser annotation/export workflows.
Documentation Impact
Bug Fix Checklist
Checklist