Skip to content

Add spec for quote policy update change#37474

Merged
ClearlyClaire merged 1 commit intomastodon:mainfrom
mjankowski:quote-approve-updater
Jan 13, 2026
Merged

Add spec for quote policy update change#37474
ClearlyClaire merged 1 commit intomastodon:mainfrom
mjankowski:quote-approve-updater

Conversation

@mjankowski
Copy link
Contributor

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...

@mjankowski mjankowski added testing Automated lint and test suites refactoring Improving code quality ruby Pull requests that update Ruby code labels Jan 13, 2026
@ClearlyClaire
Copy link
Contributor

The spec changes is definitely welcome, but I'm not sure the refactor makes it easier to read.

@mjankowski mjankowski force-pushed the quote-approve-updater branch from 4b84c41 to 53aafaf Compare January 13, 2026 16:05
@mjankowski
Copy link
Contributor Author

Updated to just spec addition

@ClearlyClaire ClearlyClaire added the to backport PR needed to be backported label Jan 13, 2026
@ClearlyClaire ClearlyClaire added this pull request to the merge queue Jan 13, 2026
Merged via the queue into mastodon:main with commit 19bc3e7 Jan 13, 2026
35 checks passed
@mjankowski mjankowski deleted the quote-approve-updater branch January 13, 2026 16:52
@ClearlyClaire ClearlyClaire removed the to backport PR needed to be backported label 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Improving code quality ruby Pull requests that update Ruby code testing Automated lint and test suites

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments