Repository navigation
head-lag reads Serialized from its new stream engine - #2966
Merged
Merged
Conversation
Serialized moved its stream to wss://ws.serialized.xyz/v1/stream (same key, same frames; events gain a `cursor`, subscribed an `updatePeriod`, both ignored by the decoder) and will retire wss://api.serialized.xyz. The URL was a constant; it is now SERIALIZED_WS_URL with the new engine as default, so a rollback is a Railway variable, not a deploy. Checked side by side with the production key: identical auth, the same event count and fields on Solana and Base over 15-20 s, and a local run of the harness published head_lag_ref_seconds on base, bnb and solana.
Flotapponnier
added a commit
that referenced
this pull request
Oct 13, 2026
Serialized moved its stream to wss://ws.serialized.xyz/v1/stream (same key, same frames; events gain a `cursor`, subscribed an `updatePeriod`, both ignored by the decoder) and will retire wss://api.serialized.xyz. The URL was a constant; it is now SERIALIZED_WS_URL with the new engine as default, so a rollback is a Railway variable, not a deploy. Checked side by side with the production key: identical auth, the same event count and fields on Solana and Base over 15-20 s, and a local run of the harness published head_lag_ref_seconds on base, bnb and solana. (cherry picked from commit 2419544)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Serialized asked us to move from
wss://api.serialized.xyz/v1/streamtowss://ws.serialized.xyz/v1/stream: same key, same messages, new engine; the old one is being retired.serialized_head_lag_monitor.go; it is nowSERIALIZED_WS_URL(config.go) defaulting to the new engine, so rolling back is a Railway variable.Verified with the production key: both endpoints authenticate identically and stream the same event count and fields (the new one adds
cursor/updatePeriod, ignored by the decoder). A 60 s local run of the harness subscribed all 4 pools and publishedhead_lag_ref_secondson base, bnb and solana.go buildandgo test ./cmd/scriptpass.