Skip to content

fix(station): replace fronts of streams 5, stamp hub writes with the clock now, index pace spend - #7952

Merged
CommaBot merged 1 commit into
mainfrom
fix/front-streams-6-and-hotspots
Nov 21, 2026
Merged

CommaBot merged 1 commit into
mainfrom
fix/front-streams-6-and-hotspots

Conversation

@CommaBot

@CommaBot CommaBot commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

Tests

  • Launcher: a_front_from_before_the_shell_and_path_fixes_is_replaced_by_the_launcher_that_takes_it_up (a front saying streams: 5 is replaced). The fixtures now say 6.
  • Harness op say.stampsNow and node test MoonBit session_hub stamps a person's message with the clock's now…: the clock moves 60 s after the store is made, then Hub::say. Without the fix, at is the store's start time and the test fails.
  • accounts_pool wbtest pace_view adds each spend row…: the golden was recorded from the old linear implementation and passes unchanged with the new one.

Ran: cargo test (launcher), moon check --target native --warn-list -a and moon test --target native for src/front src/session_hub src/accounts_pool, the node harness tests, and sh scripts/check.sh push origin/main..HEAD.

Model: Claude Opus 5.5. Test frameworks: cargo test, moon test, node:test.

🤖 Generated with Claude Code


Run Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…clock now, index pace spend

- front.rs STREAMS 5 -> 6 (and mesh.mbt says 6): a front is kept across updates and only replaced when STREAMS
  rises, so one started before iroh.probeRelay (#7567), the shell's unix backlog/retry and conn.hand skip (#7568)
  and the noq path-idle/RTT-stall fixes (#7869/#7899/#7919) kept running the old binary after updating.
- session_hub Hub::tw sets the threads store's now from the hub's clock before each write: insert_message stamps
  entries.at from the store's cached now, which nothing refreshed, so a person's message could carry an `at` hours
  off its ts.
- accounts_pool pace_view finds a profile's (hour, scope) entry through a map instead of scanning the list for each
  spend row (quadratic on GET /profiles/pace); output is byte-identical (NaN hours stay separate, -0 and 0 merge).

Tests: launcher test for a streams-5 front being replaced; harness op say.stampsNow with a node test (fails without
the fix: at = the store's start time); a pace_view golden recorded from the old implementation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CommaBot
CommaBot merged commit ddc3544 into main Nov 21, 2026
59 checks passed
@CommaBot
CommaBot deleted the fix/front-streams-6-and-hotspots branch November 21, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants