Skip to content

Add ability to push local (to the server) files#91

Draft
Yannicked wants to merge 49 commits into
iterorganization:developfrom
Yannicked:feature/v1.3-local-push-clean
Draft

Add ability to push local (to the server) files#91
Yannicked wants to merge 49 commits into
iterorganization:developfrom
Yannicked:feature/v1.3-local-push-clean

Conversation

@Yannicked

@Yannicked Yannicked commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Depends on #83, #88 and #90

Yannicked added 30 commits May 12, 2026 15:03
…3 chain

complete_ingestion_task opened a DB session via get_db() but never closed
it, leaking a connection on every ingestion (it is the terminal task of the
v1.3 chain). Wrap its body in try/finally so the session is always closed,
matching copy_files_task and validate_imas_task.

validate_imas_task was a stub that always set VALIDATED without validating,
and the v1.3 ingestion chain never ran it, so v1.3 silently ignored
validation.auto_validate / error_on_fail that v1/v1.1/v1.2 honor. The task
now runs the same schema Validator v1.2 uses, sets VALIDATION_FAILED and
(when error_on_fail) re-raises to abort the chain before COMPLETED. The v1.3
endpoint inserts the validation step into the chain when auto_validate is set.
to_model_with_path passed the SQLAlchemy URI TypeDecorator (imported from
.types) to sha1_checksum instead of a simdb.uri.URI, so sha1_checksum raised
AttributeError on uri.scheme for any IMAS file. Construct the URI via the
urilib.URI parser, matching from_data / from_data_model.
@olivhoenen olivhoenen linked an issue Jul 1, 2026 that may be closed by this pull request
@Yannicked Yannicked force-pushed the feature/v1.3-local-push-clean branch from 9318115 to 30d7ec1 Compare July 15, 2026 07:43
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.

Update CLI To Support New Upload Workflow

3 participants