chore(docs): remove local worker, use shared bug-reports-worker#223
chore(docs): remove local worker, use shared bug-reports-worker#223
Conversation
The bug report worker has been moved to structured-world/bug-reports-worker which handles all sw.foundation documentation sites. Closes #222
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
This PR removes the local Cloudflare bug-report worker and its tests now that bug reporting is handled by the shared structured-world/bug-reports-worker repository.
Changes:
- Delete the local docs bug-report Cloudflare Worker implementation under
docs/worker/. - Remove the associated unit test
tests/unit/docs/report-bug-handler.test.tsthat targeted the local worker.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
tests/unit/docs/report-bug-handler.test.ts |
Removes unit tests tied to the now-deleted local Cloudflare bug-report worker. |
docs/worker/wrangler.toml |
Removes the local Wrangler configuration used to deploy the docs bug-report worker. |
docs/worker/tsconfig.json |
Removes the TypeScript configuration specific to the local docs worker. |
docs/worker/src/index.ts |
Deletes the entire local Cloudflare worker implementation for /api/report-bug, delegating this responsibility to the shared worker repo. |
docs/worker/package.json |
Removes the Node/TypeScript tooling configuration for the local worker project. |
Note: The GitHub Pages docs workflow (.github/workflows/docs.yml) still defines a deploy-worker job with workingDirectory: docs/worker, which will fail after this directory removal; that workflow job should be updated or removed in this PR to keep CI green.
|
🎉 This PR is included in version 6.48.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
The bug report worker has been moved to a shared repository:
structured-world/bug-reports-workerThis worker now handles all sw.foundation documentation sites:
Changes
docs/worker/directory (now in separate repo)Closes #222