Repository navigation
fix: read margin pin geometry through the diagnostic API - #4222
Merged
Merged
Conversation
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.
The margin pin geometry reader still requested
shownPartsfrom the package API after #4205 moved that observation to the diagnostic API. Read it through__lfCheckApi()so the existing touch clearance, option-card avoidance, and fold/unfold assertions execute again, preserving #4205's package ownership boundary.The release-notes case reproduced
TypeError: shownParts is not a functionon current main. With this one-line correction, all four reported cases pass (uv run pytest tests/browser/margin/test_pins.py -k 'release_notes_pins_under or choice_s_pin or no_room_for_its_actions' -q). The preceding and failing CI runs' JUnit artifacts confirm the same four cases changed from passing to this API error. No rendering or product behavior changes.Closes #4219 — automated triage