• exec/load/tests/test_game_lobby_events.jsexec/load/game_lobby.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Jul 1 23:24:33 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/cb11e79a5f010cb9172cc1d5
    Added Files:
    exec/load/tests/test_game_lobby_events.js
    Modified Files:
    exec/load/game_lobby.js
    Log Message:
    game_lobby: shared events.jsonl read/prune/feed helpers

    Add read_events/prune_events/event_feed to the shared lobby library so both game
    doors' lobbies tail a door-written events.jsonl the same way: read the newest N events (tolerating a missing file and skipping malformed lines via json_lines recover), bound the file by rewriting to the newest K when it exceeds a cap, and
    produce a most-recent-first feed of caller-formatted lines. Reuses the existing bracket-format ago()/mmss() helpers (matching SyncDOOM's activity look). Includes
    a headless jsexec test.

    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net