okay i'm back with another dynamic worker loaders question. last time i mistakenly posted a reference to a deliberately triggered internal error for a script with a syntax error, but i've confirmed the issues i'm seeing in preview/prod are not caused by syntax errors in the underlying script. if i replay scripts that fail, they always succeed.
after some tinkering today, pretty sure the issue stems from executing scripts either concurrently or executing multiple scripts quickly in succession. here is one of the errors i got:
i really need more debug information than the internal errors to pinpoint what precisely is going wrong though! if there's any way to track this down in the dashboard it'd help me out a ton
(for more context, i'm using something inspired by the code-mode pattern - these scripts are making use of a proxy (service binding) to make calls to a durable object that makes calls to an mcp server. an instance of the proxy is created with special props, and i'm worried there is something funky going on with that service binding wrt concurrent calls)
((also, everything works fine locally, i only see errors after deploying))