feat: NWB export backend (schema + handler + cronjobs)#89
Draft
tabedzki wants to merge 1 commit into
Draft
Conversation
This introduces the previously-uncommitted NWB export pipeline that had only existed as untracked files in a developer working tree. It adds: - nwb_production schema (NwbExportJob / NwbExportModality / status and log tables) plus nwb_production_utils and nwb_export_enums helpers. - NwbExportHandler state machine (automatic_job/nwb_export_handler.py) that drives jobs through the export lifecycle. - Cronjob workers (cronjob_nwb_export.py and cronjob_nwb_export_enhanced.py) that invoke the handler. - The nwb_export package (config, credentials, DANDI upload/eligibility/retry, modality service, readiness check, error capture, output validation). - Operational scripts (run_nwb_export.py, migrate_nwb_production_schema.py), a production demo notebook, the tests/nwb_export suite, and the specs/001-nwb-export-handler design docs. Committed as-is to establish a baseline; schema reconciliation follows in a stacked PR. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
Introduces the NWB export pipeline that previously existed only as untracked files in a developer working tree — it had never been committed to any branch. This PR commits that backend as-is to establish a baseline.
Includes:
nwb_productionschema:NwbExportJob,NwbExportModality, status and log tables, plusnwb_production_utilsandnwb_export_enums.NwbExportHandlerstate machine (automatic_job/nwb_export_handler.py).cronjob_nwb_export.pyandcronjob_nwb_export_enhanced.py.nwb_export/package (config, credentials, DANDI upload/eligibility/retry, modality service, readiness check, error capture, output validation).run_nwb_export.py,migrate_nwb_production_schema.py), demo notebook,tests/nwb_export/suite, andspecs/001-nwb-export-handler/design docs.Reviewer caveats
master.fix: reconcile NWB export handler to deployed schema).Part of BrainCOGS/tech_calendar_streamlit#70
🤖 Generated with Claude Code