Skip to content
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

bugfix: tweak suffixify by hash logic #5360

Merged
merged 4 commits into from
Sep 23, 2024
Merged

bugfix: tweak suffixify by hash logic #5360

merged 4 commits into from
Sep 23, 2024

Conversation

mitchellwrosen
Copy link
Member

@mitchellwrosen mitchellwrosen commented Sep 19, 2024

Overview

Fixes #5357

This PR adds a new "suffixify by hash name" suffixification strategy, which we use whenever rendering definitions to a file.

It's like "suffixify by hash", but won't pick a suffix if it has 2+ matching names where 1+ of them are outside lib. This is because we can't refer to such terms by this suffix if they're in a file.

Test coverage

I've added a transcript

@mitchellwrosen mitchellwrosen added the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Sep 23, 2024
@mergify mergify bot merged commit fd269ab into trunk Sep 23, 2024
32 checks passed
@mergify mergify bot removed the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Sep 23, 2024
@mergify mergify bot deleted the fix-5357 branch September 23, 2024 15:26
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.

aliases don't round trip
2 participants