Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: cover Beeper reconciliation state in federation guard (#8682)

[._.]/ Adam Eivy2bcb6ea5b3b9
diff --git a/server/services/sharing/beeperNeverFederates.test.js b/server/services/sharing/beeperNeverFederates.test.js
index e84a8b4c95..c87ccc0d7c 100644
--- a/server/services/sharing/beeperNeverFederates.test.js
+++ b/server/services/sharing/beeperNeverFederates.test.js
@@ -82,11 +82,9 @@ describe('beeper conversation mirror never federates (#27)', () => {
it('gives no beeper table a sync cursor column', () => {
// Sanity: if the filter ever matches nothing the assertion below is
- // vacuous, so pin the table count we expect to be guarding. Eight since
- // #36 added `beeper_outbox` — an outbound message body is exactly as
- // machine-local as an inbound one, and the row also records that THIS
- // install sent it, which is nobody else's business either.
- expect(beeperCreateTableStatements).toHaveLength(8);
+ // vacuous, so pin all nine tables, including the machine-local rotating
+ // reconciliation checkpoint added in #8682.
+ expect(beeperCreateTableStatements).toHaveLength(9);
for (const stmt of beeperCreateTableStatements) {
const table = stmt.match(/beeper_[a-z_]+/i)?.[0];
for (const column of FEDERATION_COLUMNS) {