Imageomics / Imageomics/TaxonoPy

Trace command package version silent cache misses

Open
#29 0 comments 0 reactions 1 assignee View on GitHub

@thompsonmj is already working on this.

Since Feb 19, 2026.

enhancement
Dominant language
Python
Stars
19
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, `trace` silently swallows version-mismatch cache misses. This is conservative but opaque behavior.

`trace entry` looks for resolution attempts in the current version's cache namespace (`resolve_v{version}_{fingerprint}`). If the input was resolved under a different version, the namespace doesn't match and the load quietly returns nothing. The user gets `"No resolution attempts found for this entry group."`, which is the same message whether the entry never resolved, the cache was cleared, or there's a version mismatch.

Some preliminary options:

- Have `trace entry` report the current version of taxonopy.
- Scan `cache_base_dir` for `resolve_v*_{fingerprint}` directories and report which versions have cached data based on relevant input.
- Add a `--cache-version` flag to let the user point `trace` at an older namespace explicitly.
- Some combination: show the diagnostic by default, offer the flag for explicit cross-version access.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.