Skip to content

Housekeeping job to Cache latest Node versions from catalogues - #7772

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

Housekeeping job to Cache latest Node versions from catalogues#7772
hardillb wants to merge 24 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 50.00000% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.06%. Comparing base (ce96279) to head (e6a0dc1).

Files with missing lines Patch % Lines
forge/ee/lib/bom/tasks/cache-catalogues.js 14.28% 24 Missing ⚠️
forge/db/models/StorageSettings.js 76.92% 3 Missing ⚠️
forge/db/models/NodeREDNodeVersions.js 77.77% 2 Missing ⚠️
...igrations/20260729-01-add-node-red-node-version.js 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7772      +/-   ##
==========================================
- Coverage   76.13%   76.06%   -0.07%     
==========================================
  Files         439      443       +4     
  Lines       23548    23608      +60     
  Branches     6272     6279       +7     
==========================================
+ Hits        17928    17958      +30     
- Misses       5620     5650      +30     
Flag Coverage Δ
backend 76.06% <50.00%> (-0.07%) ⬇️

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.

@hardillb
hardillb marked this pull request as ready for review July 27, 2026 15:41
@hardillb
hardillb marked this pull request as draft July 27, 2026 15:41
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