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

Normalize thread names #17804

Merged
merged 26 commits into from
Dec 8, 2024
Merged

Normalize thread names #17804

merged 26 commits into from
Dec 8, 2024

Conversation

lsiepel
Copy link
Contributor

@lsiepel lsiepel commented Nov 25, 2024

Normalize thread names:
OH-binding-<thingUID>
OH-binding-<thingUID>-<custom>
OH-binding-<bindingID>

Fixes: #8216

Signed-off-by: Leo Siepel <[email protected]>
Signed-off-by: Leo Siepel <[email protected]>
Signed-off-by: Leo Siepel <[email protected]>
Signed-off-by: Leo Siepel <[email protected]>
Signed-off-by: Leo Siepel <[email protected]>
Copy link
Contributor

@andrewfg andrewfg left a comment

Choose a reason for hiding this comment

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

LGTM for Hue

@andrewfg
Copy link
Contributor

andrewfg commented Dec 4, 2024

@lsiepel in addition to the bindings that you have so far included, you should perhaps also add bindings with classes that extend the Thread class => search phrase "extends Thread" . Or??

One such example is as follows..

andrewfg added a commit to andrewfg/openhab-addons that referenced this pull request Dec 4, 2024
@lsiepel
Copy link
Contributor Author

lsiepel commented Dec 4, 2024

@lsiepel in addition to the bindings that you have so far included, you should perhaps also add bindings with classes that extend the Thread class => search phrase "extends Thread" . Or??

One such example is as follows..

Thanks I searched for ‘new Thread’ if you have more ideas let me know, will look into your suggestion.

Signed-off-by: Leo Siepel <[email protected]>
@lsiepel
Copy link
Contributor Author

lsiepel commented Dec 4, 2024

@lsiepel in addition to the bindings that you have so far included, you should perhaps also add bindings with classes that extend the Thread class => search phrase "extends Thread" . Or??

One such example is as follows..

Had a look and there are 57 possible hits. It would take some more time and don;t want to extend the scope for this PR at this moment. Maybe after 4.3.0 i'll create a follow up PR.

Signed-off-by: Leo Siepel <[email protected]>
@andrewfg
Copy link
Contributor

andrewfg commented Dec 5, 2024

Maybe after 4.3.0 i'll create a follow up PR.

If you wish, I can do that.

Signed-off-by: Leo Siepel <[email protected]>
Signed-off-by: Leo Siepel <[email protected]>
@lsiepel lsiepel marked this pull request as ready for review December 5, 2024 19:39
@lsiepel lsiepel requested review from claell, steand and a team as code owners December 5, 2024 19:39
Copy link
Contributor

@andrewfg andrewfg left a comment

Choose a reason for hiding this comment

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

Some comments/questions..

Signed-off-by: Leo Siepel <[email protected]>
Signed-off-by: Leo Siepel <[email protected]>
Copy link
Contributor

@andrewfg andrewfg left a comment

Choose a reason for hiding this comment

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

I have checked them all now. LGTM

@andrewfg andrewfg added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Dec 6, 2024
@andrewfg
Copy link
Contributor

andrewfg commented Dec 6, 2024

@lsiepel the CI build is reporting "The Jenkins Controller is preparing for shutdown. No new builds can be started." .. it is not clear why that is the case .. but apart from that it all looks good to me.

Copy link
Contributor

@morph166955 morph166955 left a comment

Choose a reason for hiding this comment

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

LGTM for AndroidTV

@lsiepel
Copy link
Contributor Author

lsiepel commented Dec 6, 2024

@lsiepel the CI build is reporting "The Jenkins Controller is preparing for shutdown. No new builds can be started." .. it is not clear why that is the case .. but apart from that it all looks good to me.

Jenkins is having trouble for some time, not related to this PR. i just ignore it, as long as the regular java builds succeeds....

Copy link
Contributor

@hmerk hmerk left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@druciak druciak left a comment

Choose a reason for hiding this comment

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

LGTM for Satel

Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks for making this more consistent, and by that making it easier to monitor threads. I have added a few minor questions/remarks for consideration only.

lsiepel and others added 4 commits December 7, 2024 12:52
…binding/milight/internal/protocol/QueuedSend.java

Co-authored-by: Jacob Laursen <[email protected]>
Signed-off-by: lsiepel <[email protected]>
…/binding/yeelight/internal/lib/device/connection/WifiConnection.java

Co-authored-by: Jacob Laursen <[email protected]>
Signed-off-by: lsiepel <[email protected]>
Signed-off-by: Leo Siepel <[email protected]>
Copy link
Contributor

@jlaur jlaur 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!

Revert unneeded changes

Signed-off-by: Jacob Laursen <[email protected]>
@jlaur jlaur merged commit fb54c2b into openhab:main Dec 8, 2024
5 checks passed
@jlaur jlaur added this to the 4.3 milestone Dec 8, 2024
@lsiepel lsiepel deleted the various-threadnames branch December 8, 2024 07:51
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.

Normalize thread naming of threads in add-ons
6 participants