{"id":17237708,"url":"https://github.com/tizmagik/cf-worker-async-proxy-repro","last_synced_at":"2025-06-14T21:03:22.820Z","repository":{"id":253975381,"uuid":"845080882","full_name":"tizmagik/cf-worker-async-proxy-repro","owner":"tizmagik","description":"Reproduction of an issue discovered while using new Proxy() within an async call","archived":false,"fork":false,"pushed_at":"2024-09-13T14:25:47.000Z","size":72,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T21:03:03.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tizmagik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-20T14:42:30.000Z","updated_at":"2024-08-20T14:46:48.000Z","dependencies_parsed_at":"2024-08-20T18:06:28.553Z","dependency_job_id":"3b138b3b-7bb4-4fbe-93cb-36e505d9144e","html_url":"https://github.com/tizmagik/cf-worker-async-proxy-repro","commit_stats":null,"previous_names":["tizmagik/cf-worker-async-proxy-repro"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tizmagik/cf-worker-async-proxy-repro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizmagik%2Fcf-worker-async-proxy-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizmagik%2Fcf-worker-async-proxy-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizmagik%2Fcf-worker-async-proxy-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizmagik%2Fcf-worker-async-proxy-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tizmagik","download_url":"https://codeload.github.com/tizmagik/cf-worker-async-proxy-repro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tizmagik%2Fcf-worker-async-proxy-repro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259884417,"owners_count":22926440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T05:43:31.643Z","updated_at":"2025-06-14T21:03:22.794Z","avatar_url":"https://github.com/tizmagik.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CF Worker + Async Proxy Error Reproduction\n\nThis repository is a reproduction of an error that occurs when using Cloudflare Workers with an async proxy.\n\n## Error\n\nWhen using an async proxy in a Cloudflare Worker, the following error is thrown:\n\n```\nError: The script will never generate a response.\n    at async Object.fetch (file:///Users/jeremygayed/src/repro/node_modules/miniflare/dist/src/workers/core/entry.worker.js:1026:22)\n```\n\n## Reproduction\n\nTo reproduce the error, run the following commands:\n\n```bash\nnpm install\nnpm run start\n```\n\nTo toggle the error, switch between using `createAsyncRouter` and `createRouter`.\n\nJust by calling `createAsyncRouter` instead of `createRouter`, the error is shown -- even if you don't use the returned value.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftizmagik%2Fcf-worker-async-proxy-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftizmagik%2Fcf-worker-async-proxy-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftizmagik%2Fcf-worker-async-proxy-repro/lists"}