Add spec for quote policy update change#37474
Merged
ClearlyClaire merged 1 commit intomastodon:mainfrom Jan 13, 2026
Merged
Conversation
Contributor
|
The spec changes is definitely welcome, but I'm not sure the refactor makes it easier to read. |
4b84c41 to
53aafaf
Compare
Contributor
Author
|
Updated to just spec addition |
ClearlyClaire
approved these changes
Jan 13, 2026
ClearlyClaire
pushed a commit
that referenced
this pull request
Jan 16, 2026
ClearlyClaire
pushed a commit
that referenced
this pull request
Jan 19, 2026
mistydemeo
pushed a commit
to mistydemeo/mastodon
that referenced
this pull request
Jan 20, 2026
kmycode
pushed a commit
to kmycode/mastodon
that referenced
this pull request
Jan 20, 2026
mimikun
pushed a commit
to mimikun/mastodon
that referenced
this pull request
Jan 23, 2026
mimikun
pushed a commit
to mimikun/mastodon
that referenced
this pull request
Jan 23, 2026
mo-rijndael
pushed a commit
to mastodon-ml/mastodon
that referenced
this pull request
Jan 25, 2026
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.
Followup on #37436
Adds spec to show the behavior change from that PR.
Also does a little tidy up of how we build the create vs update hashes - they are mostly but not entirely the same, so use some methods to highlight that. I believe this preserves the prior behavior. If this approach or portions of it are too clever, I can back that out and just do the spec addition here, and/or some variation on the hash cleanup, etc...