Skip to content

Review fixes and cleanup#3

Merged
rzcoder merged 6 commits into
masterfrom
review-fixes-and-cleanup
Jun 3, 2026
Merged

Review fixes and cleanup#3
rzcoder merged 6 commits into
masterfrom
review-fixes-and-cleanup

Conversation

@rzcoder

@rzcoder rzcoder commented Jun 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

rzcoder added 6 commits June 3, 2026 22:26
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.
@rzcoder
rzcoder merged commit 6adce96 into master Jun 3, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant