Repository navigation
compass(tests): pin RAPIDSERVE_RPCS to the RapidServe cores waited broadcasts #396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking. An observation, not a change request:
s.fileis a basename, so a secondengine_core.pyis filtered by this file's class line ranges.Site.fileispath.name(test_runner_rpc_surface.py,_call_sites), and the tree has two files with that name:atom/model_engine/engine_core.pyandatom/diffusion/engine/engine_core.py. This filter passes sites from both, then checks their line numbers againstPrefillEngineCore/DecodeEngineCorein the first one.Measured (X4,
xiaobizh_n18_cpu, copy of merged tree265770218). I appended 700 comment lines toatom/diffusion/engine/engine_core.pyand then a module-levelcall_func("diffusion_only_rpc", wait_out=True), which lands at line 939, insidePrefillEngineCore's range. Result: 1 failed, 7 passed, failing on this test at:69. That red is false, because no RapidServe core makes that call.It is latent today. The diffusion file has 235 lines and no
call_func, so it would have to grow past line 816 before this could fire. The precise fix, carrying the relative path inSite, is intest_runner_rpc_surface.py, outside this PR's file set, and the false red is loud rather than silent. So I am not asking for a change and not filing an issue. Principle 6 ("Refuse rather than fall back. A declined answer with a named reason is a result. A guessed one is a defect.") is the reason to record it: file identity is guessed from the basename here.