Repository navigation
Add ODS owner-side flow control and harden sampling - #850
Merged
Merged
Conversation
6 tasks done
[Medium impact] The PR appears safe to merge, with the previous documentation issue addressed and no new actionable findings. SummaryAdds optional
|
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.
Description
ODS consumers currently duplicate refill, quota-wait and pacing loops. Add an optional owner-side
ODSFlowControllerso applications can coordinate manual engines with bounded waits and protected delivery while retaining ownership of engine startup/shutdown and model updates.The foundation also removes redundant sampling copies/padding and fixes concurrent forkserver exit-status reads between the monitor and owner. Sampling still copies under the publication lock, returns independent storage, and preserves immediate source errors and quota accounting.
Refs #788. Extracted from #828; the visual showcase depends on this change.
Scope
This is a standalone 21-file foundation. Visual encoder dependencies, visual training/recording/report modules, generated evidence and VLA/WAM integrations belong to the upper change.
Stack
mainReview and merge this layer independently. #828 will use this branch as its base so that its review contains only the remaining visual work.
Validation
test_ods_runtime.py. Both runtime modules now collect together (88 cases) and pass jointly under pytest-xdist--dist loadgroup, including the real forkserver publication/backpressure case. The existing scenarios are unchanged; no duplicate regression framework is added.black .), Python 3.10 parsing/header checks, public API coverage 3036/3036, simple BC CLI help andgit diff --checkpass.Type of change
Checklist
black .and focused behavioral validation.