Skip to content

RSDK-10833 Added slow shutdown logs and TestSlowShutdownTicker test #5057

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

Merged
merged 7 commits into from
Jun 17, 2025

Conversation

bkaravan
Copy link
Member

SlowStartupLogger is now renamed to SlowLogger, and is used to measure shutdown time as well. In particular, it is added to closeModule and closeResource, since these are the most important and used pieces by the clients.

To check this functionality, TestSlowShutdownTicker test was created to capture the logs that are output when resources/modules are taking a while to cleanly shutdown.

@bkaravan bkaravan requested review from benjirewis and cheukt June 16, 2025 19:31
@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Jun 16, 2025
Copy link
Member

@benjirewis benjirewis left a comment

Choose a reason for hiding this comment

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

Pretty much LGTM assuming tests pass. Just a couple nits.

Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jun 16, 2025
Co-authored-by: Benjamin Rewis <32186188+benjirewis@users.noreply.github.com>
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jun 16, 2025
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jun 17, 2025
Copy link
Member

@cheukt cheukt left a comment

Choose a reason for hiding this comment

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

LGTM!

@bkaravan bkaravan requested a review from benjirewis June 17, 2025 14:27
Copy link
Member

@benjirewis benjirewis left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks.

@bkaravan bkaravan merged commit e49514b into viamrobotics:main Jun 17, 2025
32 of 34 checks passed
@bkaravan bkaravan deleted the slowShutdown branch June 17, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants