chore: migrate Cloudflare preview/dev hostnames to jk-com domains (excluding archival logs)#1640
Merged
jaypatrick merged 4 commits intomainfrom Apr 17, 2026
Merged
Conversation
Agent-Logs-Url: https://github.com/jaypatrick/adblock-compiler/sessions/c4194fe7-072f-4bb3-8053-a30696b0975f Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Replace jayson-knight domains with jk-com domains across repository
chore: migrate Cloudflare preview/dev hostnames to jk-com domains
Apr 17, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 67 out of 67 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
data/logs-2026-04-11T16_08_48.624Z.json:103
- These
data/logs-*.jsonentries appear to be raw production logs (large, date-stamped). Updating embedded URLs here can make the snapshot inaccurate and creates a huge churny diff. If these logs are not used by tests/docs, it would be better to leave them untouched (or remove them from version control) and limit the domain migration to config/docs/source code.
"timestamp": "2026-04-11T14:26:28.551Z",
"$workers": {
"truncated": false,
"event": {
"request": {
"url": "https://adblock-compiler.jk-com.workers.dev/sitemap.xml",
"method": "GET",
"path": "/sitemap.xml"
}
},
Owner
|
@copilot apply changes based on the comments in this thread |
Agent-Logs-Url: https://github.com/jaypatrick/adblock-compiler/sessions/1ddf5636-5730-4d8c-9470-6937fe616c23 Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
Contributor
Author
Applied. I restored the archival snapshot files to their pre-migration content so |
Copilot
AI
changed the title
chore: migrate Cloudflare preview/dev hostnames to jk-com domains
chore: migrate Cloudflare preview/dev hostnames to jk-com domains (excluding archival logs)
Apr 17, 2026
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.
Description
Repository-wide domain migration for Cloudflare preview/dev URLs:
*.jayson-knight.workers.devand*.jayson-knight.pages.devreferences were updated to*.jk-com.workers.dev/*.jk-com.pages.devacross active source, docs, config, scripts, generated artifacts, tests, and CI workflow references.Follow-up review feedback was applied: archival snapshot files under
data/logs-*.jsonwere restored to preserve historical records and reduce diff noise.Changes
Core/runtime defaults
Docs + examples + tooling
CI/config/repo metadata
.github/workflows/*,deno.json, package/docs metadata, etc.) to remove stale preview domains.Review-thread follow-up
data/logs-2026-04-11T16_08_48.624Z.jsonanddata/logs-2026-04-11T17_02_18.240Z.jsonback to pre-migration content so archival snapshots remain unchanged.Mechanical replacement example
Testing
Zero Trust Architecture Checklist
Worker / Backend
*) on write/authenticated endpoints (N/A — no CORS logic changes)[vars]) (N/A — no secret handling changes).prepare().bind()(no string interpolation) (N/A — no query changes)Frontend / Angular
CanActivateFnauth guards (N/A — no route-guard logic changes)localStorage) (N/A — no auth token handling changes)API Shield / Vulnerability Scanner
operationIdinopenapi.yaml(N/A — no endpoint shape/operationId changes)/{id}path parameters) include asecurity:annotation (N/A — no endpoint security changes)WHERE user_id = ?) — not just by ID (N/A — no resource query changes)404(not403) to avoid leaking resource existence (N/A — no auth/resource error-path changes)cloudflare-schema.yamlregenerated ifopenapi.yamlchanged (deno task schema:cloudflare)If this PR does not touch
worker/orfrontend/, the ZTA checklist is not required.If this PR does not touch
openapi.yamlor resource handlers, the API Shield checklist is not required.Original prompt
Summary
All Cloudflare development/preview domains have been renamed. Every occurrence of
jayson-knight.workers.devandjayson-knight.pages.devmust be replaced withjk-com.workers.devandjk-com.pages.devrespectively across the entire repository.Replacement rules
*.jayson-knight.workers.dev*.jk-com.workers.dev*.jayson-knight.pages.dev*.jk-com.pages.devApply this as a mechanical find-and-replace across all files (source, docs, config, scripts). This includes but is not limited to:
worker/utils/constants.ts—FRONTEND_URL_FALLBACK,API_URL_FALLBACKworker/mcp-agent.ts— JSDoc commentsworker/trpc/client.ts— JSDoc commentscripts/diag-cli.ts— default--urlflag and help textREADME.md— badge/shield URLsdocs/api-reference.md— cURL examplesdocs/api/RULE_SETS.md— cURL examplesdocs/api/VALIDATE_RULE.md— cURL examplesdocs/reference/URL_MANAGEMENT.md— URL table defaultsdocs/operations/diagnostics.md— example URLs (including any-stagingsubdomains)wrangler.toml[vars]entries referencing the old domainConstraints
bloqr.ai,jaysonknight.com,bloqr.jaysonknight.com).any).deno task preflight:full(or the equivalent fmt/lint/type-check tasks) and ensure the output is clean before marking done.The following is the prior conversation context from the user's chat exploration (may be truncated):
User: I have changed all Cloudflare development/preview domains from jayson-knight.workers.dev and jayson-knight.pages.dev to jk-com.workers.dev and jk-com.pages.dev. We shouldn't be using dev/preview links any longer, but in case any still exist, please update them in all projects.
Assistant: Good, I can see the occurrences across both repos. Let me do one more search to make sure I catch everything, then I'll create PRs for both.
Assistant: I've identified all the occurrences across both repos. The search results are limited to 10 per query — you can see the full list in GitHub search for adblock-compiler and bloqr-landing.
Here's what was found so far:
jaypatrick/adblock-compiler— old domains in:worker/utils/constants.ts—FRONTEND_URL_FALLBACKandAPI_URL_FALLBACKworker/mcp-agent.ts— JSDoc commentsworker/trpc/client.ts— JSDoc commentscripts/diag-cli.ts— default--urlflag valueREADME.md— badge shield URLsdocs/api-reference.md,docs/api/RULE_SETS.md,docs/api/VALIDATE_RULE.md— cURL examplesdocs/reference/URL_MANAGEMENT.md— URL table defaultsdocs/operations/diagnostics.md— example URLs (including a-stagingsubdomain)jaypatrick/bloqr-landing— old domains in:AGENTS.md— Production URL fieldDEPLOYMENT.md—BETTER_AUTH_URLexample, GitHub OAuth App setup URLs, SSO example.dev.vars—BETTER_AUTH_URLvalueI'll open a PR for each repo now.
Assistant: I've kicked off two PRs — one per repo — to do a full find-and-replace of the old Cloudflare preview domains. Here's a summary of everything that will be touched:
jaypatrick/adblock-compilerworker/utils/constants.tsFRONTEND_URL_FALLBACK,API_URL_FALLBACKworker/mcp-agent.tsworker/trpc/client.tsscripts/diag-cli.ts--urlflag + help textREADME.mddocs/api-reference.mddocs/api/RULE_SETS.mddocs/api/VALIDATE_RULE.mddocs/reference/URL_MANAGEMENT.mddocs/operations/diagnostics.md-stagingvariant)wrangler.toml[vars]jaypatrick/bloqr-landingAGENTS.mdDEPLOYMENT.mdBETTER_AUTH_URLexample, OAuth homepage/callback URLs, SSO fetch example.dev.varsBETTER_AUTH_URLvaluewrangler.tomlentriesThis pull request was created from Copilot chat.