Repository navigation
Flag a worker behind the script on the page itself (6.9.0) - #17
Conversation
The redeploy warning lived only inside the Cloud sync panel, so a worker left on 6.6.0 went unnoticed. A "Redeploy worker" pill now appears in the on-page dock; tapping it shows both versions and the deploy command. Longer toasts stay up long enough to read. Document that nothing in the repository deploys the worker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KtBArBFtPSqnpnrUyAopd8
The worker deploys from main through Cloudflare's Git integration, not by hand, so the warning and docs no longer tell you to run wrangler. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KtBArBFtPSqnpnrUyAopd8
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fa4d58da91
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
|
|
||
| function describeWorkerBehind() { | ||
| return `Your sync worker is ${remoteWorkerVersion}, behind this script (${SCRIPT_VERSION}). The worker redeploys from main through Cloudflare, so check its latest build in the Cloudflare dashboard.`; |
There was a problem hiding this comment.
Restore manual deployment guidance for self-hosted workers
For users who deployed their own worker by following worker/README.md (which instructs them to run npx wrangler deploy), there is no automatic build from main; the inspected GitHub workflows only publish the userscript and run tests. Consequently, this warning sends those users to a nonexistent Cloudflare Git build and omits the command required to update their worker, leaving the version mismatch unresolved. Either retain the Wrangler redeploy instructions or distinguish Git-integrated deployments from manual ones.
Useful? React with 👍 / 👎.
Problem
The "worker is behind" warning lived only inside the Cloud sync panel, so a worker still reporting 6.6.0 went unnoticed.
Changes
Worker version: X.Tests
🤖 Generated with Claude Code
https://claude.ai/code/session_01KtBArBFtPSqnpnrUyAopd8
Generated by Claude Code