Skip to content

chore(docs): remove local worker, use shared bug-reports-worker#223

Merged
polaz merged 1 commit intomainfrom
chore/#222-remove-local-worker
Jan 25, 2026
Merged

chore(docs): remove local worker, use shared bug-reports-worker#223
polaz merged 1 commit intomainfrom
chore/#222-remove-local-worker

Conversation

@polaz
Copy link
Copy Markdown
Member

@polaz polaz commented Jan 25, 2026

Summary

The bug report worker has been moved to a shared repository: structured-world/bug-reports-worker

This worker now handles all sw.foundation documentation sites:

  • gitlab-mcp.sw.foundation
  • privacy.sw.foundation

Changes

  • Remove docs/worker/ directory (now in separate repo)
  • Remove associated test file

Closes #222

The bug report worker has been moved to structured-world/bug-reports-worker
which handles all sw.foundation documentation sites.

Closes #222
Copilot AI review requested due to automatic review settings January 25, 2026 18:31
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.ts that 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.

@polaz polaz merged commit 277da07 into main Jan 25, 2026
26 checks passed
@polaz polaz deleted the chore/#222-remove-local-worker branch January 25, 2026 18:45
polaz added a commit that referenced this pull request Jan 25, 2026
The docs/worker directory was removed in PR #223,
but the deploy-worker job remained in the workflow.

Fixes #226
polaz added a commit that referenced this pull request Jan 25, 2026
The docs/worker directory was removed in PR #223,
but the deploy-worker job remained in the workflow.

Fixes #226
sw-release-bot bot pushed a commit that referenced this pull request Jan 25, 2026
## [6.48.1](v6.48.0...v6.48.1) (2026-01-25)

### Bug Fixes

* **ci:** remove deleted worker deploy job ([#227](#227)) ([f33f3ba](f33f3ba)), closes [#223](#223) [#226](#226)
* **docs:** track SPA navigation in Google Analytics ([#221](#221)) ([252f0be](252f0be)), closes [#220](#220)
@sw-release-bot
Copy link
Copy Markdown

🎉 This PR is included in version 6.48.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove local worker, use shared bug-reports-worker

2 participants