Skip to content

port_surface: overload-aware facades + @facade-helper members (Part of #4870) - #4888

Merged
squid-protocol merged 1 commit into
mainfrom
fix/4870-port-surface-overloads
Oct 11, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/4870-port-surface-overloads

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4870 (step 1, tooling only).

tests/tools/port_surface.py now:

  • matches facade methods by signature (name(ParamTypes)), so handleTransaction(String,T) and handleTransaction(String,T,byte[]) are replaced / added / removed separately. Change labels are signatures now.
  • carries facade helper members (a field like private byte[] lastAnswerBytes; and its accessor) by an explicit marker: the generator writes @facade-helper in 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, --check reports a helper-only difference and writes nothing.

Evidence: port_surface.py equivalence --check on this branch (= main surface): 28 ports, all "surface is the generator's", exit 0. pr_gates --fast 5/5, --ratchets 7/7 (0 skipped).

🤖 Generated with Claude Code

https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 11, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 11, 2026 12:11
@squid-protocol
squid-protocol enabled auto-merge (squash) October 11, 2026 12:11
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant