Round of 13 November: DNS failures in words, version in /health, error page, header fix #94

Merged
calvin merged 4 commits from round-1 into master 2026-11-13 06:36:42 +00:00
Owner

Round of 13 November: the finishing pass

A finishing pass over the Karta console, the documentation, error and API texts. The live console (https://karta.shilohbv.com, signed in as the QA identity) was read page by page: every organisation, server, domain, credentials, routes, endpoints, webhooks, suppressions, reports, instance and account page (about 70 pages on desktop; 45 on a 390 px phone). No console errors, no failed requests, no horizontal overflow, none slower than 2.8 s, and the wording is consistent (sentence case, same names for the same things). What was found is small:

What changed

  • DNS lookup failures read as words: the domain health findings and the MTA-STS probe said failed (:timeout) and failed (:servfail), an Elixir atom on a customer-facing page (seen live on a domain's "Reverse DNS and HELO" check). They say failed (timed out), failed (the DNS server answered with an error (SERVFAIL)). One helper, Karta.DNS.reason_text/1, used by all 16 places; tests updated.
  • Version: GET /health and the account page of the console show the running version. SECURITY.md asked reporters for the version "from /health" and the answer had none; it now says where to find it. The monitoring guide shows the new answer.
  • Error pages: a browser (a request that accepts text/html) that hits a missing or failing page gets a small page with a way back instead of the bare words "Not Found". Clients that do not ask for HTML (API clients, curl) keep the plain status text exactly as before.
  • Accessibility: the sessions table's last column had an empty header ("Current" now).
  • The Unreleased changelog section lists all of this.

Verified

  • Live (before this change): the pages above in a real browser; an axe run (light and dark) of the main pages found only the empty header and the bare 404 page, both fixed here.
  • Tests run (touched files, once, against a separate test database): error_html, health_controller, dns, mta_sts/, domains/health and domains/health_test, account_live. mix format --check-formatted, compile --warnings-as-errors and credo --strict are clean project-wide.

Not verified

  • Not on live: needs the full check on the test machine, a merge and a deploy (the fork shiloh/karta that is deployed is not touched by this).
  • Not run: the whole suite, coverage, the integration-tagged tests (S3, rspamd, ClamAV, PowerDNS), sobelow.
  • Nothing under any messaging directory was touched.

🤖 Generated with Claude Code

## Round of 13 November: the finishing pass A finishing pass over the Karta console, the documentation, error and API texts. The live console (https://karta.shilohbv.com, signed in as the QA identity) was read page by page: every organisation, server, domain, credentials, routes, endpoints, webhooks, suppressions, reports, instance and account page (about 70 pages on desktop; 45 on a 390 px phone). No console errors, no failed requests, no horizontal overflow, none slower than 2.8 s, and the wording is consistent (sentence case, same names for the same things). What was found is small: ### What changed - **DNS lookup failures read as words**: the domain health findings and the MTA-STS probe said `failed (:timeout)` and `failed (:servfail)`, an Elixir atom on a customer-facing page (seen live on a domain's "Reverse DNS and HELO" check). They say `failed (timed out)`, `failed (the DNS server answered with an error (SERVFAIL))`. One helper, `Karta.DNS.reason_text/1`, used by all 16 places; tests updated. - **Version**: `GET /health` and the account page of the console show the running version. `SECURITY.md` asked reporters for the version "from `/health`" and the answer had none; it now says where to find it. The monitoring guide shows the new answer. - **Error pages**: a browser (a request that accepts `text/html`) that hits a missing or failing page gets a small page with a way back instead of the bare words "Not Found". Clients that do not ask for HTML (API clients, `curl`) keep the plain status text exactly as before. - **Accessibility**: the sessions table's last column had an empty header ("Current" now). - The Unreleased changelog section lists all of this. ### Verified - Live (before this change): the pages above in a real browser; an axe run (light and dark) of the main pages found only the empty header and the bare 404 page, both fixed here. - Tests run (touched files, once, against a separate test database): error_html, health_controller, dns, mta_sts/, domains/health and domains/health_test, account_live. `mix format --check-formatted`, `compile --warnings-as-errors` and `credo --strict` are clean project-wide. ### Not verified - Not on live: needs the full check on the test machine, a merge and a deploy (the fork `shiloh/karta` that is deployed is not touched by this). - Not run: the whole suite, coverage, the integration-tagged tests (S3, rspamd, ClamAV, PowerDNS), sobelow. - Nothing under any `messaging` directory was touched. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- Domain health findings and the MTA-STS probe said "failed (:timeout)"; they say "failed (timed out)".
- /health and the account page show the running version, which SECURITY.md already asked reporters for.
- A browser that hits a missing or failing page gets a small page with a way back; API clients keep the plain status text.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
# Conflicts:
#	CHANGELOG.md
Say plainly when a domain has no DKIM key and when report sending is simply not set
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
c92552b7cf
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
calvin merged commit 484c49915d into master 2026-11-13 06:36:42 +00:00
calvin deleted branch round-1 2026-11-13 06:36:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
external/karta!94
No description provided.