Skip to content

script: shorten script thread name#41033

Merged
jschwe merged 1 commit intoservo:mainfrom
webbeef:shorter-script-thread-name
Dec 3, 2025
Merged

script: shorten script thread name#41033
jschwe merged 1 commit intoservo:mainfrom
webbeef:shorter-script-thread-name

Conversation

@webbeef
Copy link
Copy Markdown
Contributor

@webbeef webbeef commented Dec 3, 2025

On Linux thread names are limited to 15 characters: that caused all the script threads to be named 'ScriptScriptEve' and show up with the same name in tooling.

That changes turns the name to 'Script#{script id}' instead.

Testing: No test coverage for that very internal detail.

On Linux thread names are limited to 15 characters: that caused all the script
threads to be named 'ScriptScriptEve' and show up with the same name in tooling.

That changes turns the name to 'Script#{script id}' instead.

Signed-off-by: webbeef <[email protected]>
@webbeef webbeef requested a review from gterzian as a code owner December 3, 2025 17:47
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Dec 3, 2025
Copy link
Copy Markdown
Member

@jschwe jschwe left a comment

Choose a reason for hiding this comment

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

Personally I'm fine with this, but perhaps it would be best to announce on zulip, since perhaps people might have scripts which would need to be updated if the thread name changes (benchmark / profiling related)

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Dec 3, 2025
@webbeef
Copy link
Copy Markdown
Contributor Author

webbeef commented Dec 3, 2025

Personally I'm fine with this, but perhaps it would be best to announce on zulip, since perhaps people might have scripts which would need to be updated if the thread name changes (benchmark / profiling related)

The thread name used to be short, but was changed recently in 08aad55 . I noticed it when doing profiling, so that mostly revert to previous state.

@jschwe
Copy link
Copy Markdown
Member

jschwe commented Dec 3, 2025

Thanks for clarifying!

@jschwe jschwe added this pull request to the merge queue Dec 3, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Dec 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 3, 2025
@servo-highfive servo-highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Dec 3, 2025
@jschwe jschwe added this pull request to the merge queue Dec 3, 2025
@servo-highfive servo-highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Dec 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 3, 2025
@servo-highfive servo-highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Dec 3, 2025
@jschwe jschwe added this pull request to the merge queue Dec 3, 2025
@servo-highfive servo-highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Dec 3, 2025
Merged via the queue into servo:main with commit 27a776b Dec 3, 2025
44 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Dec 3, 2025
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.

3 participants