DeleteHostsExact built a directory path from every requested host. A name that sanitizes to _index, _blobs, _ca, or _delete_staging is the store itself, so the batch delete moved those directories out with the host trees. Index rows for the host are still removed.
Redact only masked URL userinfo when url.Parse succeeded. A password
with an unencoded # / ? or % fails to parse, so the startup config
snapshot and the ping error logged it in full.
Every save rewrites all four price columns, so an API client that sent
the profile without price fields reset them to 0. Decode the prices as
*float64 and keep the stored value for any that are missing.
Review follow-up for the background indexer.
The queue held index text in memory only, so a kill or crash left committed
exchanges that body search never found, and Close drained every queued body
under wmu, which could run past a container stop timeout.
The text now goes into ex_fts_pending in the same transaction as the
exchange. The worker moves one entry into ex_fts and deletes its pending row
in one transaction; Open queues whatever is left. Jobs carry only rowid and
id, so memory no longer grows with body size, and Close stops after the
current entry. wait() gives up after 30 s so a search during a large
post-crash backlog still returns.
Also: TestReclaimMergesFTSTombstones waits for the indexer before deleting,
so it creates tombstones again; recordViews' comment describes the new
flow; the CHANGELOG no longer claims the gain holds under a burst.
- Require https for base_url. The bot token travels in the URL path and
the responses are the updates the bridge acts on, so plain http is
accepted only with ARTEX_NOTIFY_ALLOW_LOCAL=1, for a local test server.
- Cut replies by UTF-16 code units, which is how Telegram counts its 4096
limit, so emoji-heavy text is no longer rejected. A cut never splits a
character.
- Cap a server-sent retry_after at the backoff ceiling (1 minute).
- Pause one second after an empty poll, so a self-hosted Bot API that
ignores the long-poll timeout cannot spin the loop.
- When the refused-chat memory is full, start over instead of muting
every new chat, which also muted the operator's own chat. Saving the
configuration of the same bot keeps the memory.
- Fix two stale comments that said an empty allowlist keeps the bridge
off (migration 0015 is unreleased, so editing its comment is safe).
Co-authored-by: krad <222954346+dar1k0@users.noreply.github.com>
Review follow-up:
- formatTokens keeps one decimal and drops a trailing ".0" instead of
dropping the decimal from 10k up, so dashboard axis ticks keep their
.5 steps (12.5M, not 13M) and tooltips show 123.5k, not 123k. From
999,950 it switches to "M" so values never read "1000k".
- transcript.tsx: the UserRow doc comment sat above fmtBytes on main and
was removed with it; it is back above UserRow.
- src/lib/format.test.mjs covers the shared formatters under plain
`node --test` (the "@/i18n" import is stubbed with a fixed locale).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
recordViews decoded gzip/deflate/br bodies (up to maxIndexBody each)
while holding wmu, so concurrent proxied responses waited on the
decode. indexBody is pure, so compute the decoded index text before
taking the lock and apply it after spill.
Also keep the text decoded before the cut when a compressed stream is
truncated (io.ErrUnexpectedEOF) instead of dropping it, and skip
decoding when the Content-Type is already binary, since that text is
never indexed.