Skip to content

fix: centralize taxonomy download#1857

Merged
raphael0202 merged 1 commit intomainfrom
improve-taxonomy-handling
Feb 23, 2026
Merged

fix: centralize taxonomy download#1857
raphael0202 merged 1 commit intomainfrom
improve-taxonomy-handling

Conversation

@raphael0202
Copy link
Collaborator

Instead of possibly downloading taxonomies everytime we call get_taxonomy, now we check every 2 hours whether there is a new version of the taxonomy available using the scheduler.
Besides, I added a CLI command to manually download all taxonomies.

Instead of possibly downloading taxonomies everytime we call
get_taxonomy, now we check every 2 hours whether there is a new version
of the taxonomy available using the scheduler.
Besides, I added a CLI command to manually download all taxonomies.
@raphael0202 raphael0202 requested a review from a team as a code owner February 23, 2026 14:52
@raphael0202 raphael0202 merged commit 768848d into main Feb 23, 2026
8 checks passed
@raphael0202 raphael0202 deleted the improve-taxonomy-handling branch February 23, 2026 14:54
@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

❌ Patch coverage is 29.41176% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.13%. Comparing base (c257711) to head (c329cd3).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
robotoff/taxonomy.py 25.00% 6 Missing ⚠️
robotoff/cli/main.py 28.57% 5 Missing ⚠️
robotoff/scheduler/__init__.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1857      +/-   ##
==========================================
- Coverage   60.16%   60.13%   -0.03%     
==========================================
  Files          87       87              
  Lines        9493     9504      +11     
==========================================
+ Hits         5711     5715       +4     
- Misses       3782     3789       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

raphael0202 pushed a commit that referenced this pull request Feb 23, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.85.6](v1.85.5...v1.85.6)
(2026-02-23)


### Bug Fixes

* centralize taxonomy download
([#1857](#1857))
([768848d](768848d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant