Skip to content

Enhance error handling in device editor tunnel by adding detailed error context#6798

Merged
hardillb merged 2 commits intomainfrom
trace-device-editor-opener-failure
Mar 4, 2026
Merged

Enhance error handling in device editor tunnel by adding detailed error context#6798
hardillb merged 2 commits intomainfrom
trace-device-editor-opener-failure

Conversation

@cstns
Copy link
Contributor

@cstns cstns commented Mar 4, 2026

Description

Polling for the tunnel status and enabling the editor tunnel is silently failing intermittently when attempting to open the immersive remote instance editor.

This PR is the first, temporary step in gathering more context on the matter by explicitly throwing a custom error that will be caught by our error tracker.

Related Issue(s)

part of #6797

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

@cstns cstns requested a review from hardillb March 4, 2026 15:51
@cstns cstns self-assigned this Mar 4, 2026
@codecov
Copy link

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.60%. Comparing base (c86841d) to head (0a9e69d).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6798   +/-   ##
=======================================
  Coverage   76.60%   76.60%           
=======================================
  Files         398      398           
  Lines       20122    20122           
  Branches     4844     4844           
=======================================
  Hits        15414    15414           
  Misses       4708     4708           
Flag Coverage Δ
backend 76.60% <ø> (ø)

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.

@cstns cstns marked this pull request as draft March 4, 2026 16:43
@cstns cstns marked this pull request as ready for review March 4, 2026 17:12
@hardillb hardillb merged commit 262a406 into main Mar 4, 2026
32 checks passed
@hardillb hardillb deleted the trace-device-editor-opener-failure branch March 4, 2026 20:18
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