Skip to content

Housekeeping job to Cache latest Node versions from catalogues#7772

Draft
hardillb wants to merge 3 commits into
mainfrom
cache-catalogue-versions
Draft

Housekeeping job to Cache latest Node versions from catalogues#7772
hardillb wants to merge 3 commits into
mainfrom
cache-catalogue-versions

Conversation

@hardillb

@hardillb hardillb commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

fixes #7735

Description

Wakes up once a day (and 90 seconds after startup) to pull known catalogues and create a list of the latest node versions.

Currently stores the data in Redis/memory cache

Related Issue(s)

#7735

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

@hardillb hardillb self-assigned this Jul 8, 2026
@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 27.58621% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.33%. Comparing base (3a61885) to head (a30fe05).

Files with missing lines Patch % Lines
forge/ee/lib/bom/tasks/cache-catalogues.js 16.00% 21 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7772      +/-   ##
==========================================
- Coverage   75.38%   75.33%   -0.06%     
==========================================
  Files         428      430       +2     
  Lines       22539    22568      +29     
  Branches     5944     5949       +5     
==========================================
+ Hits        16992    17001       +9     
- Misses       5547     5567      +20     
Flag Coverage Δ
backend 75.33% <27.58%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

Create housekeeping task to cache latest versions from catalogue files

1 participant