Skip to content

Show warning for unsupported minimum debug version#2722

Merged
worksofliam merged 7 commits intomasterfrom
feature/debug_version_check
Jun 11, 2025
Merged

Show warning for unsupported minimum debug version#2722
worksofliam merged 7 commits intomasterfrom
feature/debug_version_check

Conversation

@worksofliam
Copy link
Copy Markdown
Member

Implement a warning message when the debug service version is below the minimum required version, prompting users to update the debug service PTF.

Closes #2719

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 10, 2025

👋 A new build is available for this PR based on f9b6ae9.

Copy link
Copy Markdown
Member

@sebjulliand sebjulliand left a comment

Choose a reason for hiding this comment

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

The change by itself is OK.
But do we really want to bother users with a message about upgrading the debugger every time they connect, especially if they can't do anything about it? 😅

I'm thinking we could show the message, and offer two actions: Remind me (show the message next time the user connects), Dismiss (don't show the message ever again). The action taken should be stored in the global storage so it doesn't get synced.

What do you think?

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam had a problem deploying to testing_environment June 10, 2025 13:45 — with GitHub Actions Failure
@worksofliam
Copy link
Copy Markdown
Member Author

@sebjulliand Great idea. Take another look and let me know what you think.

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam had a problem deploying to testing_environment June 10, 2025 13:48 — with GitHub Actions Failure
Copy link
Copy Markdown
Member

@sebjulliand sebjulliand left a comment

Choose a reason for hiding this comment

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

One small change (maybe) and we'll be good to go.

Comment thread src/debug/index.ts Outdated
Co-authored-by: Sébastien Julliand <sebjulliand@gmail.com>
@worksofliam worksofliam had a problem deploying to testing_environment June 10, 2025 14:41 — with GitHub Actions Failure
@worksofliam worksofliam requested a review from sebjulliand June 10, 2025 14:41
Comment thread src/debug/index.ts Outdated
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam had a problem deploying to testing_environment June 10, 2025 20:01 — with GitHub Actions Failure
@worksofliam worksofliam requested a review from sebjulliand June 10, 2025 20:01
@worksofliam
Copy link
Copy Markdown
Member Author

@sebjulliand One more time! 😄

Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
@sebjulliand sebjulliand had a problem deploying to testing_environment June 11, 2025 08:13 — with GitHub Actions Failure
@sebjulliand
Copy link
Copy Markdown
Member

I made a change so that the warning only shows if the debug service is actually installed. We don't want to bother people with no debug service 😅
And I fixed the message that was showing [Object object] instead of the actual version.
Have a look and merge whenever you want.

@worksofliam worksofliam merged commit 88074fa into master Jun 11, 2025
4 of 5 checks passed
@sebjulliand sebjulliand deleted the feature/debug_version_check branch October 23, 2025 20:20
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.

Display upgrade message if user has v2 debug service

2 participants