Review fixes and cleanup#3
Merged
Merged
Conversation
Highlight the Settings admin whose Telegram id matches the account viewing inside the Mini App (initDataUnsafe.user.id) with a "You" badge. Cosmetic only; the id comes from the unverified initDataUnsafe.
- forward fan-out: a source with multiple subscriptions now delivers to every matching destination (matchSubscriptions + per-subscription album batching), not just the first. - invites: legacy t.me/joinchat/<hash> links resolve as invites, not a bogus handle. - filters: memoize compiled RE2 and reject uncompilable patterns at write time instead of failing open per message. - access monitor: hold each target's own status under the flap threshold so a shared chat keeps a divergent badge; clean up the failure-count map on threshold. - forwarding queue: dead-letter a job after repeated flood-waits so a perpetually flooded destination cannot wedge its FIFO. - web: stop the subscription sheet wiping in-progress input on a background destinations refetch. - retention: correct the misleading maxRows comment.
Strip leftover "Chapter N"/"Ch N" plan markers and dead PLAN.md/AGENTS.md pointers, and condense over-verbose block comments across the codebase to terse one-liners while keeping load-bearing rationale.
GET /api/health runs a select 1 against the DB and returns 503 on failure; unauthenticated by design (container/proxy probe). Registered in the public scope. (server.ts also carries this session's comment trims.)
Named volume instead of a ./data bind mount, trimmed comments, plain 3000:3000 mapping. Drops the loopback-only bind and the TCP healthcheck from the previous production-hardened config.
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.
No description provided.