Skip to content

Report disconnects separately#74

Merged
benjjs merged 1 commit into
mainfrom
benjamin.johnsonstaub/report-disconnect-status
Nov 5, 2025
Merged

Report disconnects separately#74
benjjs merged 1 commit into
mainfrom
benjamin.johnsonstaub/report-disconnect-status

Conversation

@benjjs
Copy link
Copy Markdown
Collaborator

@benjjs benjjs commented Nov 3, 2025

Motivation

We want to treat disconnects, either manual or timeouts, separately from errors.

Summary

Report a new "DISCONNECTED" status instead of ERROR when we time out or when the user SIGINTS their script. The corresponding changes to the ui are here: https://github.com/DataDog/web-ui/pull/244848.

This should not be merged until the web-ui changes are live in all DCs. Otherwise, the UI will not know what to do with this status and disconnects will cause silent failures.

Testing

Open onboarding flow in sandbox, run against local shell. Try disconnecting:
Screenshot 2025-11-03 at 3 23 48 PM
It shows as a disconnect and not an error.

@benjjs benjjs requested review from gpalmz and tedkahwaji November 3, 2025 20:52
@benjjs benjjs requested a review from a team as a code owner November 3, 2025 20:53
@benjjs benjjs force-pushed the benjamin.johnsonstaub/report-disconnect-status branch from 98e6fbd to 7150574 Compare November 5, 2025 15:00
@benjjs benjjs merged commit 7183649 into main Nov 5, 2025
2 checks passed
@benjjs benjjs deleted the benjamin.johnsonstaub/report-disconnect-status branch November 5, 2025 16:04
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