Skip to content

chore: switch R2 base URL to skymap-data.rulkens.com custom domain#22

Merged
rulkens merged 1 commit intomainfrom
chore/r2-custom-domain-skymap-data
May 6, 2026
Merged

chore: switch R2 base URL to skymap-data.rulkens.com custom domain#22
rulkens merged 1 commit intomainfrom
chore/r2-custom-domain-skymap-data

Conversation

@rulkens
Copy link
Copy Markdown
Owner

@rulkens rulkens commented May 6, 2026

Summary

The R2 bucket's public URL has been moved from the auto-generated `pub-1bb6105b369a485ebe7acaa36779d91e.r2.dev` to a custom domain provisioned in Cloudflare on 2026-05-06: `skymap-data.rulkens.com`.

Note the actual hostname prefix is `skymap-data.`, not `data.skymap.` as earlier docs (CLAUDE.md, syncR2.ts comments, tests, plan files) called it. That `data.skymap.` hostname was never provisioned at the DNS level (NXDOMAIN), so the current README's `curl` instruction for the HyperLEDA cache was actually broken for users.

Production-affecting changes

  • `.env.production` `VITE_DATA_BASE_URL` → `https://skymap-data.rulkens.com\` (was the raw `pub-…r2.dev` URL)
  • `README.md` HyperLEDA cache `curl` URL → `skymap-data.rulkens.com` (was the never-resolving `data.skymap.rulkens.com`)

Doc / comment / test fixtures realigned for accuracy

  • `CLAUDE.md`, `tools/syncR2.ts`, `src/services/engine/cloudLoader.ts` — comment examples
  • `tests/services/engine/cloudLoaderUrlBase.test.ts` — fixture URL strings (still functionally identical, but should match the real hostname)
  • `docs/superpowers/plans/2026-05-05-outreach-and-promotion/task-2-hyperleda-r2.md` — plan-doc references

Test plan

  • `curl -sI https://skymap-data.rulkens.com/data/hyperleda_pa.csv.gz\` returns 200 with `Content-Type: application/gzip`.
  • No remaining references to `data.skymap.rulkens.com` or `pub-1bb6105b…r2.dev` in the changed files (one is still in the `.env.production` comment that explains the rename).
  • After merge: the next Cloudflare Workers Assets build picks up the new `VITE_DATA_BASE_URL` and the live demo loads catalogs from `skymap-data.rulkens.com`.

🤖 Generated with Claude Code

The R2 bucket's public URL has been moved from the auto-generated
pub-1bb6105b369a485ebe7acaa36779d91e.r2.dev to a custom domain
provisioned in Cloudflare on 2026-05-06.  Note the actual hostname
prefix is `skymap-data.` — earlier docs (CLAUDE.md, syncR2.ts comments,
tests, plan files) called it `data.skymap.rulkens.com`, which was
never provisioned.

Production-affecting changes:
- .env.production VITE_DATA_BASE_URL → https://skymap-data.rulkens.com
- README.md HyperLEDA cache curl URL → skymap-data.rulkens.com

Doc / comment / test fixtures realigned for accuracy:
- CLAUDE.md, tools/syncR2.ts, src/services/engine/cloudLoader.ts
- tests/services/engine/cloudLoaderUrlBase.test.ts
- docs/superpowers/plans/2026-05-05-outreach-and-promotion/task-2-hyperleda-r2.md

Verified the new hostname serves the just-uploaded
hyperleda_pa.csv.gz with HTTP 200 + correct Content-Encoding.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
skymap 50c055d Commit Preview URL

Branch Preview URL
May 06 2026, 01:09 PM

@rulkens rulkens merged commit e7f74c3 into main May 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant