Skip to content

Split live-status tracking into its own subscriber (and share one MQTT connection) - Part 2: Add LiveStatusSubscriber#7844

Open
n-lark wants to merge 3 commits into
7608-mqtt-shared-connectionfrom
7608-split-live-status
Open

Split live-status tracking into its own subscriber (and share one MQTT connection) - Part 2: Add LiveStatusSubscriber#7844
n-lark wants to merge 3 commits into
7608-mqtt-shared-connectionfrom
7608-split-live-status

Conversation

@n-lark

@n-lark n-lark commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Description

Gives live status its own LiveStatusSubscriber instead of bundling it into the team-channel subscriber, and has the two share one team MQTT connection (using the attach/detach from PR 1) rather than each needing its own.

Cut from #7843

See test plan: #7608 (comment)

Related Issue(s)

Resolves #7608

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

@n-lark
n-lark requested a review from cstns July 16, 2026 18:12
@n-lark n-lark self-assigned this Jul 16, 2026
@n-lark n-lark changed the title Split live-status into its own subscriber sharing the team MQTT conne… Split live-status tracking into its own subscriber (and share one MQTT connection) - Part 2: Add LiveStatusSubscriber Jul 16, 2026
Comment thread frontend/src/subscribers/team-subscriber.contract.ts
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.61%. Comparing base (e01772b) to head (91a07e2).

Additional details and impacted files
@@                     Coverage Diff                      @@
##           7608-mqtt-shared-connection    #7844   +/-   ##
============================================================
  Coverage                        75.61%   75.61%           
============================================================
  Files                              432      432           
  Lines                            23035    23035           
  Branches                          6107     6107           
============================================================
  Hits                             17417    17417           
  Misses                            5618     5618           
Flag Coverage Δ
backend 75.61% <ø> (ø)

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.

@cstns cstns left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. The only thing i'd like to touch base on is the naming issue I mentioned on the pr this is based off of.

Other than that, happy to merge

@n-lark
n-lark deployed to staging July 17, 2026 16:38 — with GitHub Actions Active
@n-lark
n-lark requested a review from cstns July 17, 2026 16:43
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