This repo contains a ~minimal reproduction of what seems to me like a bug: workers for platform workers can be dispatched to from a regular worker but not from a DO.
- upload the wfp worker
wrangler dispatch-namespace create wfp-do-bug- set
account_idandapi_tokeninwfp/upload.sh cd wfp && ./upload.sh
- upload the regular worker and DO:
cd ..- set
account_idinwrangler.toml wrangler publish
- notice that we can call into the WfP worker from our worker:
curl <URL>/workershows:hello from the wpf worker! - notice that we CANNOT call into the WfP worker from our DO:
curl <URL>/doshows:wpf fetch from within the DO threw: internal error
Expected behavior: it does not throw and instead shows hellow from the wpf worker!