Skip to content

feat: runtime connection traffic lights#8507

Merged
briangregoryholmes merged 5 commits intomainfrom
bgh/update-runtime-connection-indicator
Dec 16, 2025
Merged

feat: runtime connection traffic lights#8507
briangregoryholmes merged 5 commits intomainfrom
bgh/update-runtime-connection-indicator

Conversation

@briangregoryholmes
Copy link
Contributor

@briangregoryholmes briangregoryholmes commented Dec 15, 2025

This PR updates the UI elements used to display the status of the connection to the underlying file and resource watcher endpoints (a proxy for connection to the runtime as a whole).

Instead of displaying a banner, there is a new RuntimeTrafficLights component placed next to the version in the sidebar footer.

Screenshot 2025-12-15 at 11 54 03 AM

In the normal process of starting the application, this indicator should display as green for five seconds before subsequently being hidden.

If the user fails to interact with the page for 2 minutes, this indicator will turn red and display a tooltip with the same copy that was previously in the banner.

If the watchers are attempting to reconnect, the indicator will turn yellow.

  • Fixes an issue where asynchronous errors were being thrown incorrectly
  • Uses the MAX_RETRIES constant to control when full page fail state should be displayed

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@briangregoryholmes briangregoryholmes self-assigned this Dec 15, 2025
@briangregoryholmes briangregoryholmes changed the title feat: update runtime connection ui indicator feat: runtime connection traffic lights Dec 15, 2025
Copy link
Contributor

@ericpgreen2 ericpgreen2 left a comment

Choose a reason for hiding this comment

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

LGTM!

@briangregoryholmes briangregoryholmes merged commit ff9f310 into main Dec 16, 2025
10 checks passed
@briangregoryholmes briangregoryholmes deleted the bgh/update-runtime-connection-indicator branch December 16, 2025 03:47
k-anshul pushed a commit that referenced this pull request Dec 18, 2025
* update runtime connection ui indicator

* cleanup

* remove log

* use pulse instead

* remove log
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