Repository navigation
Decouple NativeOwnerRegistry, delete Thread.wake_context forwarder, fix storage_room test - #5298
Merged
Conversation
…ix storage_room test
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.
Three clean structural fixes:
NativeOwnerRegistry(ClaimGenerationRead)out ofexecution/native_input_owner.pyintoregistry/native_owner_registry.pysoregistry/registry_document.pyno longer depends upward onexecution.native_input_owner.Thread.wake_context(self, goals)forwarder (registry/threads.py:921-922, Theorem 4.6) and callgoals.wake_context(owner)directly at its sole product call site (context_segments/wake.py:65) and 5 test sites, removing thecontext_segments.wake_valuesimport fromregistry/threads.py.tests/test_storage_room.py:134regex fromunit_start/buildtoUnit Start/BuildmatchingStorageRule'sdisplay_labelrendering from491da348ab.Verification
IMPORTED 922 MODULES, ERRORS=0,REL_IMPORTS=0.test_goals.py,test_thread_identity.py,test_wake_goal_execution.py,test_storage_room.py): 52 passed (6.80s).-1..-2imported modules (cli_verbs.threads1107.7 -> 1088.3 ms;registry_privacy.pystill pullsexecution.native_input_ownerforRegistryOwner, so full module drop awaits decouplingregistry_privacy).