Skip to content

Include updatedAt timestamp in MQTTTopicSchema#7246

Merged
hardillb merged 3 commits into
mainfrom
mqtt-scheme-agent-cache-update
May 21, 2026
Merged

Include updatedAt timestamp in MQTTTopicSchema#7246
hardillb merged 3 commits into
mainfrom
mqtt-scheme-agent-cache-update

Conversation

@hardillb
Copy link
Copy Markdown
Contributor

part of FlowFuse/mqtt-schema-agent#21

Description

This includes the last update time for a topic so the agent can use it to filter new uploads by only sending changed values.

It also adds a pre-handler to allow the agent token to download the existing topics

Related Issue(s)

FlowFuse/mqtt-schema-agent#21

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 added 2 commits May 12, 2026 10:49
part of FlowFuse/mqtt-schema-agent#21

This includes the last update time for a topic so the agent can
use it to filter new uploads by only sending changed values.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

❌ Patch coverage is 41.66667% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.59%. Comparing base (2fbd3c2) to head (71066db).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
forge/ee/routes/teamBroker/3rdPartyBroker.js 36.36% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7246      +/-   ##
==========================================
- Coverage   76.61%   76.59%   -0.03%     
==========================================
  Files         405      405              
  Lines       20602    20613      +11     
  Branches     4986     4991       +5     
==========================================
+ Hits        15784    15788       +4     
- Misses       4818     4825       +7     
Flag Coverage Δ
backend 76.59% <41.66%> (-0.03%) ⬇️

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

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

@hardillb hardillb enabled auto-merge (squash) May 21, 2026 13:34
@hardillb hardillb merged commit 749f04a into main May 21, 2026
29 of 30 checks passed
@hardillb hardillb deleted the mqtt-scheme-agent-cache-update branch May 21, 2026 13:53
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.

2 participants