-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[loader-v2] Small cleanups & tests #15279
Conversation
⏱️ 6h 10m total CI duration on this PR
🚨 1 job on the last run was significantly faster/slower than expected
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
b0be60f
to
9d0662e
Compare
1926f11
to
ba3f9f5
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
/// 2. Valid modules should not be removed, and new modules should have unique ownership. If | ||
/// these constraints are violated, a panic error is returned. | ||
pub fn insert_verified_unsync( | ||
/// 2. Not overridden modules should not be removed, and new modules should have unique |
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.
where do we check unique ownership?
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.
I think it's currently cloned for MVHashMap, so the comment will only be true once we remove the clone (there is a TODO)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
- Fixed naming for global module cache. - Added more counters, moved some old ones. - Added unit tests for TransactionSliceMetadata + renaming. (cherry picked from commit 47f0bf3)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
- Fixed naming for global module cache. - Added more counters, moved some old ones. - Added unit tests for TransactionSliceMetadata + renaming. (cherry picked from commit 47f0bf3) Co-authored-by: George Mitenkov <[email protected]>
Description
This PR fixes few minor things:
valid
entries in global module cache are nowoverridden
. Had to invert conditions and addis_not_overridden
APIs. Updated comments in a few places and removed forgotten_unsync
in function names.TransactionSliceMetadata
: it is good to have better coverage for these simple cases.How Has This Been Tested?
Added new tests, + existing tests.
Type of Change
Which Components or Systems Does This Change Impact?
Checklist