Commit Graph
17 Commits
Author SHA1 Message Date
angelandClaude Sonnet 5 e063fb66d4 amazon: add a Ready() signal for ProcessEvents' LISTEN registration
Tests (and any other caller) previously had no way to know when the
Postgres LISTEN behind the reactive event-processing loop had actually
registered, forcing a guessed sleep before relying on it. Mocks now
exposes Ready() <-chan struct{}, closed once listenForNotifications
successfully issues LISTEN. Purely additive - ProcessEvents' signature
is unchanged.

Updates the integration tests to wait on Ready() instead of a flat
sleep, which also cut TestProcessEvents_ReactsToNotification's runtime
from ~0.25s to ~0.06s with no flakes across repeated runs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XEDaCB7C2NEBgyvqEtZuxY
2026-08-20 00:24:04 -06:00
angel 9c9b33e34f Claude-assisted improvements (untested)
- dev auth flow (side-step OAuth)
- db event processing integration tests
- dev scripts (eg Makefile)
- db / test db migration setup scripts.
2026-08-20 00:24:04 -06:00
angel fb2f4255f4 prototyped svg reports
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Tests / Go tests (push) Failing after 15s
2026-08-20 00:23:54 -06:00
angel 55a3694d89 amazon events published as server side event 2026-08-20 00:23:54 -06:00
angel 40afd176e7 mock amazon event processing stubbed 2026-08-20 00:23:54 -06:00
angel 9f86b8e95c bad logs
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Tests / Go tests (push) Successful in 20s
2026-08-20 00:23:41 -06:00
angel fa3db63ad2 protoype: list raw events on mock mode reports page 2026-08-20 00:23:41 -06:00
angel 0e0422545b mock events saved to db 2026-08-20 00:23:41 -06:00
angel 370e50a174 fix: unable to save mock sync group being edited 2026-02-26 23:49:48 -07:00
angel c6b8a9a00d mock mode: database queries implemented and checkbox on account page built 2026-02-26 22:54:58 -07:00
angel 85817a4adb mock sync group editing: edit, save, and delete listings 2026-02-25 22:41:36 -07:00
angel 4352062227 mock sync group editing: made tables columns more consistent; initialize database rows upon editing 2026-02-20 23:04:18 -07:00
angel a3ae872e9d updated mock sync group accordions: editing state; cancel editing 2026-02-17 19:35:12 -07:00
angel 7ef4638daa added Edit Group button to mock sync group accordion 2026-02-17 18:29:34 -07:00
angel d04a57beec moved mock syn group list item to component 2026-02-17 17:11:08 -07:00
angel 95ef64ce18 ability to delete mock sync groups 2026-02-10 18:05:30 -07:00
angel 0944703d2a removed intermediate /internal directory 2026-02-09 13:40:31 -07:00