Repository navigation
Phase 8: Bind api.nemar.org custom domain on SCCN worker - #351
Merged
Merged
Conversation
Adds Workers Custom Domain route for api.nemar.org and updates API_BASE_URL var to match. Cloudflare auto-manages the proxy DNS record and TLS cert; no separate DNS step needed. Tested: - curl https://api.nemar.org/health -> 200 (worker version 0.1.0) - curl https://api.nemar.org/datasets -> 200, response identical to https://nemar-api.sccn-org.workers.dev/datasets - workers.dev URL still answers (kept as buffer) Refs #329
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR351Version: 🤖 Updated on each push. |
- wrangler-sccn.toml header no longer warns against production use; this is now the canonical SCCN config. - CLAUDE.md SCCN API URL line points to api.nemar.org with the workers.dev URL noted as fallback. Refs #329
Contributor
Author
Review pass: addressedTwo findings actioned in commit
Two informational findings deferred:
Reviews:
|
This was referenced Apr 25, 2026
neuromechanist
added a commit
that referenced
this pull request
Sep 21, 2026
A lot of its state moved on 2026-09-20 and 2026-09-21. #387 and #397 merged, #399 landed the Python 3.12 floor and the Pyodide-bounded dependency floors, #402 corrected #399, and #403 is open to merge develop into the epic branch. Records the correction rather than quietly restating the conclusion: only compiled floors are a ceiling in the browser, because the test is whether the package publishes a pure-Python wheel and not whether Pyodide bundles it. The earlier claim that threadpoolctl>=3.6.0 was a live broken install was wrong. Also records the integration bug #403 exposed, since it is the argument for not letting the epic branch drift again: MemmapData.__array_function__ returned NotImplemented for everything except copyto and put, and defining that method opts a type into numpy's dispatch protocol where NotImplemented raises rather than falling back. Develop's #351 test covers that path and the epic branch never had it. Notes that the case for holding #386 is weaker now that the epic branch is no longer behind, and carries #400 and #401 as open.
This branch was previously deployed
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
api.nemar.orginbackend/wrangler-sccn.tomlAPI_BASE_URLvar fromhttps://nemar-api.sccn-org.workers.devtohttps://api.nemar.orgcustom_domain = trueThis is the DNS-side cutover for Phase 8 of the SCCN migration epic (#314). The CLI default URL flip is Phase 9 (#330) — old
api.osc.earth/nemarkeeps serving traffic from personal account inMAINTENANCE_MODE=read-onlyuntil then.Why custom_domain instead of routes + DNS record
/*path pattern needed)Test plan
Deployed nemar-api triggers ... api.nemar.org (custom domain)curl https://api.nemar.org/health→ 200,{"status":"ok","version":"0.1.0"}curl https://api.nemar.org/datasets→ 200, response byte-identical tohttps://nemar-api.sccn-org.workers.dev/datasetsworkers.devURL still answers (kept as fallback)api.osc.earth/nemarunchanged (still serves in read-only)D1 parity (verified pre-deploy)
ds006963, known, self-heals via catalog-sync cron)Refs