Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

erights
Copy link
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
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.

1 participant