Repository navigation
[test] The revenue page and the tool directory stay up - #2136
Conversation
Strix Security Review✅ No open security findings. PR summary: Adds regression tests for the revenue page and the tool directory, hardens the Postgres directory read against a concurrent write clearing its cached counts, adds a Lightning rail label and a safe network-alias lookup to the revenue page, and normalizes the geo-lookup tool's response to always carry a credit field. Review summaryThis PR adds regression tests and two small production fixes: the Postgres-backed directory now captures its shared counts snapshot before awaiting so a concurrent listing write can no longer make a page read throw, the revenue page gains a Lightning rail label plus a plain-object network alias lookup (removing the stale table reference that 500'd the first sale of an unlabeled payment type), and the geo-lookup wrapper now always attaches a credit field. All three production modules and the new test wiring were traced from their callers to the sinks. The directory's filter, offset and exclude-origin inputs are parameterized or integer-parsed before reaching SQL, and the snapshot change only makes reads use a self-consistent copy of the counts; the revenue rail table, per-rail labels and generated explorer/tx links render through the page's existing escaping, and an unknown rail name prints as inert text; the added credit field is cosmetic and no verifier or receipt binds it. No security issues found. Review history (2)
Review 2 on this PR · Reviewed by Strix |
|
@strix-security review |
Two pages stay up.