Skip to content

Report training record latency against the block's sealing time - #2

Open
kimminhyun-ai wants to merge 1 commit into
mainfrom
fix/training-record-latency-sealing
Open

kimminhyun-ai wants to merge 1 commit into
mainfrom
fix/training-record-latency-sealing

Conversation

@kimminhyun-ai

Copy link
Copy Markdown
Contributor

A block's timestamp is when its proposer started building it, and transactions keep arriving into that block for the next second or two. So a training record's reported submitted_at is routinely later than the timestamp of the very block that carries it. The latency was block.timestamp - submittedAt, which went negative, and the guard against negatives turned that into Unavailable.

On a ten-validator chain carrying seventy parallel training pipelines, 48 of 70 records landed in exactly that position — a real 0.8-to-3.7-second latency read as no data at all, on the one screen the certification procedure points at for this metric.

Arrival is now the moment the containing block was sealed, read as the next block's timestamp: when this block stopped accepting and the next began. With no next block there is no arrival time and the answer stays null rather than becoming a guess. The transaction page fetches that block, and both the detail row and the batched-record list say what the number is measured between.

Verified against a live 10-validator chain: a READY record that previously showed Unavailable now shows 834 ms.

🤖 Generated with Claude Code

https://claude.ai/code/session_019hZqdLKnVfzvRf9mus6NNh

A block's `timestamp` is when its proposer STARTED building it, and transactions
keep arriving into that block for the next second or two. So a training record's
reported `submitted_at` is routinely later than the timestamp of the very block
that carries it. The latency was `block.timestamp - submittedAt`, which went
negative, and the guard against negatives turned that into "Unavailable".

On a ten-validator chain carrying seventy parallel training pipelines, 48 of 70
records landed in exactly that position: a real 0.8-to-3.7-second latency read
as no data at all.

Arrival is now the moment the containing block was sealed — the next block's
timestamp, which is when this block stopped accepting and the next began. With
no next block there is no arrival time, and the answer stays null rather than
becoming a guess. The page fetches that block and both the detail row and the
batched-record list explain what the number is measured between.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019hZqdLKnVfzvRf9mus6NNh
@vercel

vercel Bot commented Sep 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ainscan Ready Ready Preview Sep 16, 2026 3:20am UTC

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.

1 participant