Worklets should share more code with Workers. Right now, there is a lot of copy+paste because the paint api must be run on the main thread until offscreen canvas 2d ships.
Closing old bugs assigned to me