Repository navigation
port_surface: overload-aware facades + @facade-helper members (Part of #4870) - #4888
Merged
Merged
Conversation
…bers (#4870) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 11, 2026 12:11
squid-protocol
enabled auto-merge (squash)
October 11, 2026 12:11
Contributor
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.
Part of #4870 (step 1, tooling only).
tests/tools/port_surface.pynow:name(ParamTypes)), sohandleTransaction(String,T)andhandleTransaction(String,T,byte[])are replaced / added / removed separately. Change labels are signatures now.private byte[] lastAnswerBytes;and its accessor) by an explicit marker: the generator writes@facade-helperin the comment/Javadoc block above the member. Fields match by name, methods by signature. No tag, no surface (an untagged generated member is never copied, an untagged port member is never removed). Documented in the module docstring.No forge / generated-facade change and no committed port touched (step 2).
Tests (
tests/cics_crucible/test_port_surface.py): two overloads with one in the port, per-overload replace/remove, helper field + accessor added with the rest of the port unchanged, untagged members ignored,--checkreports a helper-only difference and writes nothing.Evidence:
port_surface.py equivalence --checkon this branch (= main surface): 28 ports, all "surface is the generator's", exit 0.pr_gates --fast5/5,--ratchets7/7 (0 skipped).🤖 Generated with Claude Code
https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX