Skip to content

chore(workers): migrate worker config to librefang Cloudflare account#6092

Merged
houko merged 4 commits into
mainfrom
chore/workers-to-librefang-account
Jun 11, 2026
Merged

chore(workers): migrate worker config to librefang Cloudflare account#6092
houko merged 4 commits into
mainfrom
chore/workers-to-librefang-account

Conversation

@houko

@houko houko commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

What

Point the Cloudflare Worker configs at the new librefang Cloudflare account after the cross-account migration.

  • account_id -> librefang account (57449de851e4289a4407a73e66baaac9)
  • D1 database_id -> migrated database (1bbf40ca-963b-4b94-b65d-062b9e7bbb42)
  • REGISTRY_PUBLIC_KEY -> rotated Ed25519 signing key

Affects marketplace-worker, stats-worker, visit-counter-worker, registry-worker.

Why

librefang.ai, all workers, D1, and KV have been migrated from the previous Cloudflare account to the dedicated librefang account. The workers are already deployed and serving there; this updates the repo so deploy-worker.yml targets the new account too.

Follow-up after merge

Repoint the repo Actions secrets, otherwise CI keeps deploying to the old account:

  • CLOUDFLARE_ACCOUNT_ID -> 57449de851e4289a4407a73e66baaac9
  • CLOUDFLARE_API_TOKEN -> a token scoped to the librefang account (Workers + Pages)

@github-actions github-actions Bot added the size/S 10-49 lines changed label Jun 11, 2026

@houko houko left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The other three workers (marketplace-worker, registry-worker, stats-worker) now have account_id hardcoded to the new librefang account in their wrangler.toml files.

visit-counter-worker has no account_id field at all (before or after this PR), so it will fall back to the CLOUDFLARE_ACCOUNT_ID Actions secret — which currently still targets the old account.

This means in the window between merging this PR and rotating the secret, the three explicit-account_id workers deploy to the new account while visit-counter-worker deploys to the old one.

Consider adding:

account_id = "57449de851e4289a4407a73e66baaac9"

to web/workers/visit-counter-worker/wrangler.toml (after compatibility_date) so all four workers are consistent and the new target is enforced independently of the secret rotation timing.


Generated by Claude Code

@houko
houko merged commit fcfbd9e into main Jun 11, 2026
32 of 33 checks passed
@houko
houko deleted the chore/workers-to-librefang-account branch June 11, 2026 15:38
houko added a commit that referenced this pull request Jun 11, 2026
…unt_id (#6093)

PR #6092 migrated the worker config to the librefang Cloudflare account, changing `account_id` in `web/workers/marketplace-worker/wrangler.toml` and `web/workers/registry-worker/wrangler.toml` from `3ee9bb52…` to `57449de8…`.
detect-secrets flags that value as a Base64 High Entropy String, so its baseline hash changed, but `.secrets.baseline` still carried the old hash and the secret-scan job on main failed against the committed baseline.

Update only the two wrangler.toml entries to the rescanned hash (`abfc409c…`).
The unrelated `plugin_manager/registry.rs` embedded-pubkey entry that coincidentally shares the old hash is left untouched.

Co-authored-by: Evan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S 10-49 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant