Skip to content

fix: read margin pin geometry through the diagnostic API - #4222

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4219
Oct 26, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4219

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The margin pin geometry reader still requested shownParts from 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 function on 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

Keep the package ownership boundary introduced by #4205: shownParts is a diagnostic observation, exported by check-api.js. Point the pin reader there so the existing touch clearance and folding assertions execute again.

Closes #4219
@leaf-agent
leaf-agent merged commit 8ad6455 into main Oct 26, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4219 branch October 26, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Margin pin geometry tests call shownParts as a missing function

1 participant