Repository navigation
Closed
7 / 77 of 7 issues completedDescription
Goal
Imports of arbitrarily large OpenNeuro datasets complete unattended, idempotently, with no orphaned state, no archive blowups, and downloadable output — all inside CI (no external server).
Background
Forensics of the 2026-06-14 batch import (on004395 9TB, on007523/524 MEG, on005385, on005752): 0 of 5 completed cleanly, each failing at a different deterministic-timeout stage with no rollback/resume. Full writeup: .context/research-openneuro-import-forensics.md. Plan: .context/plan-import-robustness.md.
Key verified facts:
- Server-side S3 copy works (
aws s3 cp s3://openneuro.org/... s3://nemar/..., cross-account/cross-region, signed read of OpenNeuro public bucket) — bytes never touch the runner. The oldcurl | aws s3 cp -client-stream is what blew the 6h runner cap on 9TB. - Version-DOI webhook times out deterministically at 60s for high-file-count datasets (file-count-bound, not bytes) —
readRepoMetadatarecursive tree + EZID + dispatch on the request path. - Archive generation 60-min cap + slow streaming cancels mid-size datasets; >100GB zips impractical (data.nemar.org
bytes_urlis a stable, range-resumable direct-download alternative). - Validate-stage reads annexed datasets as "0 annexed files" and blocks them at
enriched(confirmed on007523).
Phases
- Server-side, resumable, sharded transfer (kills on004395 6h-cap)
- Version-DOI / manifest path that can't time out (+ complete on005385/on005752)
-
100GB archive policy (skip + steer to wget/curl)
- Validate-stage git-annex blind spot (annex sizes -> reach
validated) - Idempotency / rollback / completion-tracking + admin status view
- Duplicate-enrichment dispatch + git-push race
- Prescreen advisory (non-blocking, non-red CI)
Cross-repo: nemar-cli (CLI+backend) + nemarDatasets/.github (workflows) + website. Integration branch: dev.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 7 sub-issues
Activity
Phase 1: Server-side, resumable, sharded import transfer (#757)
Merge pull request #765 from nemarOrg/feature/issue-749-epic-import-r…
archive: reset retry_count on skipped (cross-epic #736/#749) (#767)
Merge pull request #766 from nemarOrg/dev
neuromechanist commentedon Jun 17, 2026
Shipped to prod in v0.8.53 (2026-06-16). All 7 phases (#750-756) delivered: server-side sharded transfer, async version-DOI, >100GB archive-skip, git-annex pre-screen fix, import state machine + quarantine/rollback, enrichment-race fix, advisory pre-screen. Released via dev->main (#766, regular merge); prod auto-deployed (migrations 0040-0045 + Worker), npm v0.8.53 published. Cross-repo workflows live (nemarDatasets/.github #50-55). Cross-epic review caught + fixed one #736/#749 seam (archive retry_count reset on skip, #767). This release also landed the previously-held #736 D/B/E on prod.