Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(app-shell-odd): Utilize robot-server unsubscribe flags #14724

Merged
merged 6 commits into from
Mar 25, 2024

Conversation

mjhuff
Copy link
Contributor

@mjhuff mjhuff commented Mar 25, 2024

Closes EXEC-319

Overview

This is the app-shell-odd equivalent of #14648. It's similar to the app-shell logic, but significantly simpler, since we don't have to manage multiple robots, worry about localhost port blocking, and multiple IPs per robot. The real change lies in the initial connect and final disconnect on app shutdown. Otherwise, the changes are primarily in the ConnectionStore. Because the app no longer utilizes unsubscribe actions in any capacity, we can safely remove those references.

Test Plan

  • Smoke test the ODD, ensuring MQTT works.
  • After the end of the protocol (or at the beginning of a new protocol run, I don't remember which), you should see a log message about unsubscribing from the old protocol run.

Risk assessment

medium-ish, like the desktop app refactor.

@mjhuff mjhuff requested review from sfoster1 and a team March 25, 2024 15:15
@mjhuff mjhuff requested review from a team as code owners March 25, 2024 15:15
@mjhuff mjhuff requested review from shlokamin and removed request for a team and shlokamin March 25, 2024 15:15
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@mjhuff mjhuff merged commit 97e6f0d into edge Mar 25, 2024
26 checks passed
@mjhuff mjhuff deleted the app-shell-odd_refactor-mqtt-unsubscribe branch March 25, 2024 15:54
@mjhuff mjhuff restored the app-shell-odd_refactor-mqtt-unsubscribe branch March 25, 2024 15:54
@mjhuff mjhuff deleted the app-shell-odd_refactor-mqtt-unsubscribe branch March 25, 2024 15:54
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
Closes EXEC-319

This is the app-shell-odd equivalent of the app-shell refactor, #14648. It's similar to the app-shell logic, but significantly simpler, since we don't have to manage multiple robots, worry about localhost port blocking, and multiple IPs per robot. The real change lies in the initial connect and final disconnect on app shutdown. Otherwise, the changes are primarily in the ConnectionStore. Because the app no longer utilizes unsubscribe actions in any capacity, we can safely remove those references.
Carlos-fernandez pushed a commit that referenced this pull request Jun 3, 2024
Closes EXEC-319

This is the app-shell-odd equivalent of the app-shell refactor, #14648. It's similar to the app-shell logic, but significantly simpler, since we don't have to manage multiple robots, worry about localhost port blocking, and multiple IPs per robot. The real change lies in the initial connect and final disconnect on app shutdown. Otherwise, the changes are primarily in the ConnectionStore. Because the app no longer utilizes unsubscribe actions in any capacity, we can safely remove those references.
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