Skip to content

Assets stuck in Pending validation state #1479

@jjnesbitt

Description

@jjnesbitt

The most recent example of this is #1473, but this has been occurring for a while. For some reason, assets find themselves stuck in a Pending state, never being updated. The only place this is updated is the validate_asset_metadata function, which is run within a task, and that is only ever called at the end of the calculate_sha256 task.

I'm not sure exactly what the cause of the disconnect is, nor if it's feasible to address consistently. One thing we could do to make sure assets are eventually validated is to run a scheduled task which would run validate_asset_metadata on any PENDING assets.

Metadata

Metadata

Labels

bugSomething isn't workingmetadataIssues of dandiset/asset metadata handlingreleasedThis issue/pull request has been released.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions