Repository navigation
Dev backend: route test admin emails to nemar.org and add DEV banner - #400
Merged
Merged
Conversation
Adds isDev to resolveEmailConfig (driven by ENVIRONMENT=development) and injects a red 'DEV BACKEND - NOT PRODUCTION' banner plus '[DEV]' subject prefix into every outgoing email when the worker runs against the dev backend. Threads isDev through every email helper and the broadcast sender. Renames the seeded test admin/owner emails from the unreachable nemar.test domain to [email protected] / [email protected] so admin notifications hitting nemar-db-dev land in a mailbox a human checks. Refs #399
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR400Version: 🤖 Updated on each push. |
Contributor
Author
/review-pr (code-reviewer agent)No high-confidence issues found. Ship-ready. Verified:
Pre-existing test failures on `dev` HEAD (`broadcast.test.ts:100` expects "osc.earth" in template, `cli.test.ts:692` and `datalad-commands.test.ts:191` are network-dependent) reproduced on a clean tree before these changes — not caused by this PR. |
5 of 7 tasks
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.
Closes #399
Summary
Why
A real signup hitting the dev API (e.g., the `arnodelorme` registration on 2026-05-01) caused admin notifications to be sent to `[email protected]` / `[email protected]`, which Resend marks as "delivery delayed" and no human ever receives. The banner also makes any inadvertent dev send obvious so we never mistake it for a production event.
Live update of `[email protected]` / `[email protected]` is already applied to `nemar-db-dev`; the seed scripts in this PR make future resets consistent.
Test plan