Skip to content

Validate cache keys earlier#396

Merged
Oddant1 merged 2 commits into
qiime2:devfrom
Oddant1:validate-cache-keys-earlier
May 12, 2026
Merged

Validate cache keys earlier#396
Oddant1 merged 2 commits into
qiime2:devfrom
Oddant1:validate-cache-keys-earlier

Conversation

@Oddant1
Copy link
Copy Markdown
Member

@Oddant1 Oddant1 commented May 9, 2026

closes rachis-org/rachis#931

The issue was specific to cache-import and cache-load. Key validation wasn't happening until _cache.save, which those tools run after importing or loading an Artifact. That import or load can take quite some time for a large Artifact. It's better to just validate the key up top and then let _cache.save validate it again.

This shouldn't matter in other cases where nothing potentially non-trivial is happening before the save to cache.

@github-project-automation github-project-automation Bot moved this to Needs Triage in QIIME 2 - Triage 🚑 May 9, 2026
@Oddant1 Oddant1 merged commit b268108 into qiime2:dev May 12, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

validate cache keys earlier

2 participants