-
Notifications
You must be signed in to change notification settings - Fork 516
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
Assign ~thread.thid with thread_id value #2261
Assign ~thread.thid with thread_id value #2261
Conversation
The previous assignment was using a value from a field that had not been assigned yet. Signed-off-by: Jason Sherman <[email protected]>
Signed-off-by: Jason Sherman <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new dev dependency is interesting. I usually just use the random package directly, telling it to select values from ascii (or something like that). But I'm happy with this change.
I can remove the dev dependency, I really only added it to kick off the tests again (failed in GH) as I do not have access to manually restart the checks. |
I’d say remove the dependency. We don’t want them lightly added. And until you are a maintainer, please just get me to re-kickoff the tests. I can do that. |
Should we be updating |
Signed-off-by: Jason Sherman <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
It was always being set AFTER being used to set |
The previous assignment used a value from a field that had not been assigned yet. So, use the correct
thread_id
value for thethid
.Fixes #2259
The fix originally discussed in #2259 is too aggressive and after reviewing the code it is clear that there can be empty
~thread
and they are expected to be dealt with by the receiver. In this case, we were attempting to set thethid
but just using an unassigned value.