chore: rename remaining Cloudflare identifiers to piyaz#141
Merged
Conversation
cc1430d to
34e87a0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Task Reference: [MYMR-226]
Renames the remaining mymir Cloudflare identifiers to piyaz — the in-repo part of the cutover. After this, no mymir identifiers remain in code/config.
What ships here:
MymirBroker → PiyazBroker, bindingMYMIR_BROKER → PIYAZ_BROKER, WS headersX-Mymir-User-Id/X-Mymir-Broker-Sig → X-Piyaz-*, DO instance namemymir-broker-global → piyaz-broker-global. (worker-cf.ts,lib/realtime/*,app/api/events/route.ts,components/providers/RealtimeBridge.tsx)MYMIR_VERIFIED_OAUTH_CLIENT_IDS → PIYAZ_VERIFIED_OAUTH_CLIENT_IDS(lib/auth/verified-oauth-clients.ts).wrangler.jsonc: workermymir/mymir-production → piyaz/piyaz-production, R2piyaz-isr-cache, D1piyaz-tag-cache(newdatabase_id), DO binding/classPIYAZ_BROKER/PiyazBroker, migrationv1new_sqlite_classes.AUTH_KVunchanged (id-bound).mymir-placeholder- → piyaz-placeholder-(scripts/assert-deploy-ready.ts).cloudflare-env.d.ts: regenerated viacf-typegen(PIYAZ_BROKER/PiyazBroker, deadMYMIR_DB_DRIVERdropped).open-next.config.ts(cited the deletedscripts/postbuild-cf.ts).Type of change
Testing
bun run devbun run lint)bun run typecheck)Notes for reviewer
deploy:cf, theapp.piyaz.aicustom-domain move, and decommissioning the oldmymir-*resources are operator steps not in this PR.v1migration becausepiyaz-productionis a new worker (norenamed_classesneeded); there is no live DO state to preserve across the worker swap. Do not deploy this onto the existingmymir-productionworker —v1would be treated as already-applied andPIYAZ_BROKERwould not bind.cloudflare-env.d.tsis the realcf-typegenoutput. It carries unrelated runtime-type churn from wrangler 4.101.0 (vs the committed^4.97.0-era output), including a new ambientAgent Memorytype section. These are generated, unreferenced by our code, and harmless.