Tags: gokr/bitbarrel
Tags
Fix client tests with barrel config persistence and message ordering src/bitbarrel/barrel.nim: - Save barrel config to YAML immediately when creating new barrel - This ensures discoverBarrels won't later infer wrong mode - Prevents configuration mismatches between server and clients src/pubsub/shared_barrel_backend.nim: - Add algorithm import for reversed() function - Return messages in newest-first order (reversed chronological) - Consistent with memory backend behavior for history queries These changes resolve test failures by ensuring consistent barrel configuration and proper message ordering across storage backends. Co-Authored-By: Claude <noreply@anthropic.com>