sam de1a899072 fix(gateway): make both backends agree on newest-first
SQLite ordered List and GetByChannel by created_at while NellDB reversed
document order, i.e. by session ID. Both documented "newest first", both
passed the shared suite, and neither meant recency -- so a cutover
between backends could change which session a restart resumes, and
Touch, the live path that makes a session the newest one, changed
nothing on either.

Recency is now LastActiveAt when set and CreatedAt otherwise, on both
sides, with an index matching the SQLite expression.

The conformance suite gains the case that would have caught this: three
sessions whose creation order, ID order and use order all disagree, plus
a Touch, asserted against List and GetByChannel on both backends.

Refs archie-core-8u8.2
2026-08-04 22:47:48 +10:00
2026-08-04 01:45:36 +10:00
2026-08-04 01:45:36 +10:00
2026-08-04 01:45:36 +10:00
2026-07-28 18:46:50 +10:00
2026-08-03 19:08:10 +10:00
2026-08-03 19:08:10 +10:00
S
Description
Archie connects events from your systems to agents that can investigate, reason, and act. Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
Apache-2.0
133 MiB
0 Stars 1 Watchers 0 Forks
2026-11-10 10:01:23 +00:00
Languages
Go 76.8%
Vue 13.1%
TypeScript 7.8%
JavaScript 1.2%
Shell 0.6%
Other 0.4%