agent-orchestrator/backend/internal
harshitsinghbhandari 1a9a9ec67e test(integration): check ok/err before patching session row
Greptile P1: the patch-then-Update path in TestRestoreRoundTrip was
discarding GetSession's ok/err. A missed row would have handed UpdateSession
a zero-value SessionRecord (ID==""), which matches zero rows and returns
nil — Phase B then fails with the misleading "agent session id lost across
restart" instead of the real cause.

Fixed at the patch site (the only write path that could swallow the error)
and at the two read-then-assert sites in TestDetectingPersistsAcrossRestart
for consistency. Downstream assertions there would already fail loudly, but
the explicit ok/err check makes the failure mode unambiguous.

All 219 tests still pass under -race.
2026-05-31 18:54:55 +05:30
..
adapters refactor(tracker): address code-review findings 2026-05-30 22:32:45 +05:30
cdc feat(storage,cdc): minimal 6-table schema + trigger-driven CDC (storage layer) 2026-05-31 05:42:59 +05:30
config docs(config): drop stale CDC-JSONL mention in resolveDataDir 2026-05-31 07:18:22 +05:30
domain Merge pull request #37 from aoagents/feat/sqlite-storage-cdc 2026-05-31 17:13:00 +05:30
httpd feat(backend): HTTP daemon skeleton (Phase 1a) — #10 (#14) 2026-05-29 10:02:53 +05:30
integration test(integration): check ok/err before patching session row 2026-05-31 18:54:55 +05:30
lifecycle feat(backend): atomic PR-observation write + CDC on check status updates 2026-05-31 17:02:47 +05:30
observe/reaper feat(backend): port lifecycle lane onto the new storage+CDC model 2026-05-31 07:16:06 +05:30
ports Merge pull request #37 from aoagents/feat/sqlite-storage-cdc 2026-05-31 17:13:00 +05:30
runfile feat(backend): HTTP daemon skeleton (Phase 1a) — #10 (#14) 2026-05-29 10:02:53 +05:30
session feat(backend): port lifecycle lane onto the new storage+CDC model 2026-05-31 07:16:06 +05:30
storage/sqlite test(integration): LCM+SM live-fire against real SQLite store 2026-05-31 18:34:51 +05:30