giles
070986913d
Test, Build, and Deploy / test-build-deploy (push) Failing after 50s
fed-sx-m2: Step 9c — auto-Accept backfill drain + 6 tests
maybe_auto_accept/3 in http_server.erl now calls maybe_backfill/3
after the Accept publish. Flow:
inbound Follow{actor: bob, object: alice, backfill: SPEC} lands
-> pipeline ok -> append_inbox + broadcast (Step 6b)
-> maybe_auto_accept fires (Step 6c)
-> publish Accept{actor: alice, object: Follow} (Step 6c)
-> maybe_backfill (Step 9c)
-> backfill_enabled cfg gate
-> :backfill present on Follow
-> backfill:parse_mode -> Mode
-> nx_kernel:log_state_for(alice) -> LogState
-> backfill:slice(Mode, LogState, true) -> [Wrapped]
-> deliver_backfill(bob, Slice):
whereis(bob) cfg gate (peer worker registered)
-> delivery_worker:enqueue(bob, A) for each
Cfg surface:
{backfill_enabled, true} gate the drain (default off)
{auto_accept_follows, true} Step 6c gate (required)
Each backfilled entry carries {backfilled, true} (per design §13.3,
:id preserved so the receiver's replay defence still catches the
forward-going copy).
6/6 in next/tests/backfill_drain.sh:
- Follow with {backfill, {last_n, 2}} + 3 pre-published notes
-> bob's delivery_worker has exactly 2 pending entries
- Each entry carries {backfilled, true}
- :backfill_enabled absent -> no drain (back-compat)
- Follow without :backfill field -> no drain
- Missing peer worker (no whereis) -> silently skipped + 202
Step 9 fully closed (9a slicing + 9b ?since route + 9c
Accept-drain). The live HTTP dispatch of the queued entries
still gates on Blockers #2 (httpc).
2026-06-07 07:01:55 +00:00
..
2026-05-26 19:44:56 +00:00
2026-06-06 12:32:16 +00:00
2026-06-06 11:53:14 +00:00
2026-06-07 00:55:20 +00:00
2026-06-07 07:01:55 +00:00
2026-06-07 05:39:46 +00:00
2026-05-28 00:19:11 +00:00
2026-06-07 04:38:32 +00:00
2026-06-07 04:38:32 +00:00
2026-06-07 04:38:32 +00:00
2026-06-07 04:38:32 +00:00
2026-05-26 19:55:13 +00:00
2026-05-28 17:38:16 +00:00
2026-06-07 01:32:59 +00:00
2026-06-07 02:04:23 +00:00
2026-06-06 23:39:00 +00:00
2026-06-07 02:37:53 +00:00
2026-06-07 01:01:17 +00:00
2026-06-07 03:11:03 +00:00
2026-05-26 20:41:27 +00:00
2026-05-26 20:29:25 +00:00
2026-05-26 21:00:39 +00:00
2026-06-06 21:59:43 +00:00
2026-06-06 20:47:01 +00:00
2026-06-07 04:38:32 +00:00
2026-06-06 19:19:02 +00:00
2026-06-06 19:19:02 +00:00
2026-06-06 19:19:02 +00:00
2026-06-06 19:19:02 +00:00
2026-06-06 19:19:02 +00:00
2026-06-06 19:19:02 +00:00
2026-05-28 16:28:07 +00:00
2026-05-28 07:35:48 +00:00
2026-06-05 20:30:15 +00:00
2026-06-07 06:28:47 +00:00
2026-05-28 10:38:36 +00:00
2026-06-06 19:55:03 +00:00
2026-06-06 19:19:02 +00:00
2026-06-07 00:55:20 +00:00
2026-06-07 00:55:20 +00:00
2026-06-06 19:19:02 +00:00
2026-06-05 20:30:15 +00:00
2026-06-05 20:30:15 +00:00
2026-06-06 15:58:17 +00:00
2026-06-06 19:19:02 +00:00
2026-06-06 16:22:47 +00:00
2026-06-06 19:19:02 +00:00
2026-06-06 13:08:25 +00:00
2026-06-05 07:40:48 +00:00
2026-05-27 07:06:40 +00:00
2026-06-05 07:40:48 +00:00
2026-06-05 07:59:40 +00:00
2026-06-07 00:55:20 +00:00
2026-05-28 11:08:47 +00:00
2026-05-28 11:39:48 +00:00
2026-05-28 06:57:36 +00:00
2026-05-28 04:39:49 +00:00
2026-06-07 00:27:55 +00:00
2026-06-06 16:36:19 +00:00
2026-05-28 03:03:55 +00:00
2026-05-28 03:03:55 +00:00
2026-05-28 04:08:50 +00:00
2026-05-28 17:02:57 +00:00
2026-05-28 03:36:25 +00:00
2026-05-28 05:48:30 +00:00
2026-05-28 06:22:11 +00:00
2026-05-28 00:46:54 +00:00
2026-05-28 01:59:55 +00:00
2026-06-07 05:06:27 +00:00
2026-05-28 19:26:34 +00:00
2026-05-28 18:50:21 +00:00
2026-05-28 18:12:03 +00:00
2026-06-05 06:56:31 +00:00
2026-06-07 03:48:55 +00:00