Repository navigation
Hoist relationship open & wrong-bus checks onto RelationshipPanel; use inspect_owner and wire_revision skip on Qt panels - #2334
Merged
Conversation
…e inspect_owner and wire_revision skip on Qt panels
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
Eliminates the Qt/Textual parallel copy of relationship row opening (
IMPL-12, paper1 Prop 4.2) and removes manualidentity.root_path is Noneabsence probes (IDEN-3, NRA72bdcf9e99) from both Qt sidebar panels:RelationshipPanel(src/toad/client/relationship_tree_state.py): now ownsopen_current_relationshipandopen_relationship_target(re-readingservice.relationships, handling stale entries withchanged_entry_warning, and checkingbelongs_to_wireforwrong_bus_warning) through 3 one-line frontend hooks (notify_comms_warning,refresh_after_changed_entry,select_relationship_target).QtThreadCommsPanel(src/toad/qt/thread_comms_panel.py): deleted_open_current, switched_refreshtoSessionIdentity.inspect_owner, addedwire_revisionskip so unchanged observations do not rebuild theQTreeWidget, and re-filters cached_snapshotin memory on search changes (zero Core reads per search keystroke).ThreadCommsSidebar(src/toad/widgets/thread_comms.py): delegatesopen_targetand_navigate_currentstraight to inheritedRelationshipPanel.open_relationship_target/open_current_relationship.QtContextExplorer(src/toad/qt/context_panel.py): replacedif root is None:withSessionIdentity.inspect_owner, matching Textual'sContextExplorer.Verification
REL_IMPORTS=0,qt_inherit_ratchet.py0/0/0/0/0,shadow_check.py0,guarded_imports.py0.ForeignAbsenceProbeDetector: 0 findings acrossrelationship_tree_state.py,qt/thread_comms_panel.py, andqt/context_panel.py(eliminated72bdcf9e99).test_relationship_panel_owns_open_current_and_target_on_both_frontendsintests/guards/test_shared_frontend_members.pyverifying shared ownership + detached/stale/wrong-bus/matching-bus flows (57/57focused tests passing in 0.60s).