Skip to content

refactor(pass-style): refactor-only avoid symbol-named methods#2840

Merged
erights merged 2 commits intomasterfrom
markm-2797-refactor-only-part
Jul 11, 2025
Merged

refactor(pass-style): refactor-only avoid symbol-named methods#2840
erights merged 2 commits intomasterfrom
markm-2797-refactor-only-part

Conversation

@erights
Copy link
Copy Markdown
Contributor

@erights erights commented Jun 3, 2025

Extracted from #2797

Closes: #XXXX
Refs: #2793 #2792

Description

This PR is the extraction from #2797 of only the safe pure refactor elements of #2797 as suggested by @kriskowal at #2797 (review) . #2797 is then rebased on this one, representing only the elements whose refactor-purity was questionable.

This PR should be a pure refactor, to avoid creating remotables with symbol-named methods when there is clearly no possible compat hazard. Non-remotable objects with symbol-named methods are fine. But see Compatibility Considerations below.

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

none

Testing Considerations

Most of the remotable objects with symbol-named methods were in tests. These can clearly be fixed without any compat hazard, so I count these as pure refactors. However, in removing the symbol-ness of some of these tests, I may have accidentally removed the purposes of the tests. They might now be fully redundant with other tests and should be removed. If anyone does investigate this, that cleanup could be in a later PR.

Compatibility Considerations

none. But see Compatibility Considerations of #2797

Upgrade Considerations

none

@erights erights self-assigned this Jun 3, 2025
@erights erights changed the title refactor: refactor-only avoid symbol-named methods refactor(pass-style): refactor-only avoid symbol-named methods Jun 3, 2025
@erights erights requested review from kriskowal, kumavis and leotm June 3, 2025 03:13
@erights erights marked this pull request as ready for review June 3, 2025 03:13
@erights erights force-pushed the markm-2797-refactor-only-part branch from 92dcebe to dda45be Compare June 4, 2025 23:41
@erights erights force-pushed the markm-2797-refactor-only-part branch from dda45be to 0250186 Compare June 25, 2025 04:44
@erights erights added the ocapn label Jun 30, 2025
@erights erights force-pushed the markm-2797-refactor-only-part branch 2 times, most recently from b57f9ac to fc85130 Compare July 11, 2025 01:35
@erights erights enabled auto-merge (squash) July 11, 2025 21:28
@erights erights merged commit 0a80b36 into master Jul 11, 2025
16 checks passed
@erights erights deleted the markm-2797-refactor-only-part branch July 11, 2025 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants