Skip to content

Stop formatting worker arguments when starting a worker - #87

Merged
trissim merged 2 commits into
mainfrom
perf/worker-description-declaration-20261007
Oct 7, 2026
Merged

trissim merged 2 commits into
mainfrom
perf/worker-description-declaration-20261007

Conversation

@trissim

@trissim trissim commented Oct 7, 2026 •

Copy link
Copy Markdown

The @work decorator used to call repr on every argument to build a worker description at launch. It now uses the method's qualified name unless a description is given, and run_worker and Worker accept None for the description. The change is in _work_decorator.py, dom.py, worker.py and worker_manager.py, with two test files.

@trissim
trissim marked this pull request as ready for review October 7, 2026 04:16
Copilot AI balanced review requested due to automatic review settings October 7, 2026 04:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit 50aff4e into main Oct 7, 2026
3 of 22 checks passed
@trissim trissim changed the title Keep worker payload repr off the UI launch path Stop formatting worker arguments when starting a worker Oct 11, 2026
@trissim
trissim deleted the perf/worker-description-declaration-20261007 branch October 11, 2026 20:05
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