Skip to content

ref(grouping): Small message parameterization refactors#107201

Merged
lobsterkatie merged 8 commits intomasterfrom
kmclb-clean-up-message-parameterization
Jan 28, 2026
Merged

ref(grouping): Small message parameterization refactors#107201
lobsterkatie merged 8 commits intomasterfrom
kmclb-clean-up-message-parameterization

Conversation

@lobsterkatie
Copy link
Member

This includes a number of small refactors to message parameterization (primarily to tests), extracted from an upcoming PR to make it easier to review. No behavior changes.

  • Clarify comment describing our hex parameterization.
  • Expand hex test cases and give them clearer names.
  • Clarify traceparent case.
  • Reverse assertions so they're result == expected rather than expected == result. The same to the computer, but more logical for how humans talk about what's actually being tested.
  • Fix tests so each one tests four different cases (all combos of having or not having a prefix and suffix in the parameterized string) rather than the same case (no prefix or suffix) four times.
  • Make xfail in tests strict.
  • Remove unnecessary "Case x failed" statements, since parameterization does that for us.
  • Fix typo in test description.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 28, 2026
@lobsterkatie lobsterkatie marked this pull request as ready for review January 28, 2026 23:14
@lobsterkatie lobsterkatie requested a review from a team as a code owner January 28, 2026 23:14
@lobsterkatie lobsterkatie merged commit 9238f3d into master Jan 28, 2026
65 checks passed
@lobsterkatie lobsterkatie deleted the kmclb-clean-up-message-parameterization branch January 28, 2026 23:51
priscilawebdev pushed a commit that referenced this pull request Feb 2, 2026
This includes a number of small refactors to message parameterization (primarily to tests), extracted from an upcoming PR to make it easier to review. No behavior changes.

- Clarify comment describing our hex parameterization.
- Expand hex test cases and give them clearer names.
- Clarify traceparent case.
- Reverse assertions so they're `result == expected` rather than `expected == result`. The same to the computer, but more logical for how humans talk about what's actually being tested.
- Fix tests so each one tests four different cases (all combos of having or not having a prefix and suffix in the parameterized string) rather than the same case (no prefix or suffix) four times.
- Make `xfail` in tests strict.
- Remove unnecessary "Case x failed" statements, since parameterization does that for us.
- Fix typo in test description.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants