Fixes from the third Supermarket run: coreapp mail, route wait, skill edges

coreapp mail shows what the Core's mail server did with the app's mail
(from its log: accepted, delivered, deferred or bounced). Deploy waits
until traefik routes the public address, so it doesn't answer 404 just
after "Updated". The skill's settings rules no longer contradict, the
lowest role means read-only, the Core's admin gets no local password or
reset, and SQLite may need allowing in an app's multi-user edition.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 19:36:28 -07:00
co-authored by Claude Opus 5.5
parent d860dd9200
commit 2d29ca62b3
6 changed files with 135 additions and 15 deletions
+10 -1
View File
@@ -208,7 +208,10 @@ The Core's own scripts trace secrets, so their output goes to
5. Raise `version` to 0.2.0, `coreapp deploy`: "Updated"; the container
runs `:0.2.0`; `docker image ls localhost/coreapp/hello` on the Core lists
only 0.2.0.
5a. An app that answers 421 to an unknown `Host` (Supermarket): deploy's
5a. Right after "Updated" (also with `--recreate`), the public address
answers (deploy waits until traefik routes it, not 404): `curl
https://<name>.<domain><health>` four times in a row gives 200 each time.
An app that answers 421 to an unknown `Host` (Supermarket): deploy's
wait passes because it sends `Host: <name>.<domain>`; on the Core, curl
of its health URL gives 421 bare, 200 with that `Host`.
5b. `coreapp core` (anywhere, no app needed): the domain, PostgreSQL's
@@ -415,6 +418,12 @@ has the `DB_*` variables, `.coreapp` says `needs=postgres`.
entry is unchanged (its password too), and remove leaves it.
6. Adding `"email"` to an installed app's `needs` and deploying makes the
account and adds the `SMTP_*` settings.
7. `coreapp mail` after the app sent a message (Supermarket: a password
reset for `coreapp.test@<domain>`): "<time> from <name>@<domain>,
accepted", then "to coreapp.test@<domain>: deferred (... 451 4.3.0 ...
Temporary internal error ...)" (the test account has no mailbox), one
line per message even after retries. No mail in the last day: "has no
mail from <name>". In an app without "email": refused.
### With both