Skip to content

phritz/wfp-do-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  1. upload the wfp worker
    1. wrangler dispatch-namespace create wfp-do-bug
    2. set account_id and api_token in wfp/upload.sh
    3. cd wfp && ./upload.sh
  2. upload the regular worker and DO:
    1. cd ..
    2. set account_id in wrangler.toml
    3. wrangler publish
  3. notice that we can call into the WfP worker from our worker: curl <URL>/worker shows:
    hello from the wpf worker!
    
  4. notice that we CANNOT call into the WfP worker from our DO: curl <URL>/do shows:
    wpf fetch from within the DO threw: internal error
    

Expected behavior: it does not throw and instead shows hellow from the wpf worker!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors