Share Skippy stage wire byte accounting - #818
Merged
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughWalkthroughThis PR centralizes wire-size estimation into ChangesCentralize wire-size estimation in StageWireMessage
🎯 3 (Moderate) | ⏱️ ~20 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
i386
marked this pull request as ready for review
June 10, 2026 10:43
i386
force-pushed
the
codex/skippy-stage-wire-byte-accounting
branch
from
June 10, 2026 10:46
58e1cf6 to
0ce4f0c
Compare
Collaborator
Author
|
@michaelneale could you review this one when you get a chance? |
michaelneale
added a commit
that referenced
this pull request
Jun 13, 2026
* origin/main: Add transport-aware Skippy stage ordering (#814) Share Skippy stage wire byte accounting (#818) Report Skippy artifact cold-start costs (#815) fix: debug output capturing for TUI / panics (#827) fix(hero): visual corrections for iPhone SE size devices (#838) Add Skippy stage role metadata (#816) Add Skippy request cache epoch telemetry (#817) Consolidate agent skills and fix stale docs (Windows deploy, repo map, design docs) (#836) feature(version): normalize version markers for different build types (#831) fix(website): fix visual regressions (#835) fix(gh): change micn to michaelneale in auto_assign.yml Revert "fix(gh): replace micn with IvGolovach in auto_assign.yml (not a collaborator)" fix(gh): replace micn with IvGolovach in auto_assign.yml (not a collaborator)
michaelneale
added a commit
that referenced
this pull request
Jun 14, 2026
* origin/main: (29 commits) MoA: don't let small-model consensus pre-empt a still-running large model (#837) fix(console): render thinking traces as markdown Add bounded direct path repair (#846) Fix skippy smoke PR gate (#850) Stabilize skippy smoke chain startup (#849) fix(ci): switch back to auto-assign workflow fix(website): polish longform visual explainer (#843) fix: gemma thinking Carry GLM llama MTP patches (#840) Refresh llama.cpp canary patch queue (#839) Add transport-aware Skippy stage ordering (#814) Share Skippy stage wire byte accounting (#818) Report Skippy artifact cold-start costs (#815) fix: debug output capturing for TUI / panics (#827) fix(hero): visual corrections for iPhone SE size devices (#838) Add Skippy stage role metadata (#816) Add Skippy request cache epoch telemetry (#817) Consolidate agent skills and fix stale docs (Windows deploy, repo map, design docs) (#836) feature(version): normalize version markers for different build types (#831) fix(website): fix visual regressions (#835) ... # Conflicts: # AGENTS.md
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.
Summary
Share one stage-message wire byte estimator between Skippy telemetry and conditioned-wire simulation.
This PR is only about transfer accounting. It does not add activation striping, change message framing, or alter request/cache epoch telemetry.
Before
Skippy estimated stage message size in two places:
binary_transport.rsforllama_stage.message_wire_bytesbinary_transport/wire.rsfor bandwidth/delay conditioningThose estimates could drift. The conditioned-wire estimate also counted only a partial header plus tokens, activation, and raw bytes. It missed position sidebands, sampling metadata, chat metadata, and the full fixed header.
How It Works
StageWireMessage::estimated_wire_bytes()now accounts for:Both telemetry and wire conditioning call the same helper.
Representative telemetry:
Why This Is Good
Large prefill activation frames are one of the places where pipeline transport cost becomes visible. Before adding any striped-frame or multi-stream transfer path, Skippy needs reliable accounting:
This is the low-risk prerequisite for later large activation-frame transfer work.
Compatibility
No wire-format change.
The helper estimates existing bytes; it does not encode or decode anything new.
Validation
cargo fmt --all -- --checkcargo test -p skippy-protocol --libcargo test -p skippy-server --libcargo clippy -p skippy-protocol --all-targets -- -D warningscargo clippy -p skippy-server --all-targets -- -D warningscargo check -p mesh-llmcargo clippy -p mesh-llm --all-targets -- -D warningsSummary by CodeRabbit
Tests
New Features
Refactor