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

Add Missing Filter in Commit Merge #1328

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Conversation

Mythicaeda
Copy link
Contributor

  • Tickets addressed: Hotfix
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

Upserting the Presets for Activity Directives was missing filters on the snapshot id and the merge request id.

Verification

DBTests were added.

  • The test presetOnlyPullsFromSourceSnapshot asserts that the potential bug caused by a lack of snapshot id filter does not occur.
  • The test presetUnaffectedByUnrelatedSnapshot mirrors a strange scenario seen on a Clipper venue that was causing merge issues, where for some reason a preset recorded on an unrelated plan's snapshot was attempting to be set when committing the merge.

Documentation

No docs need to be updated

Future work

- Was missing snapshot id and merge request filters
@Mythicaeda Mythicaeda added fix A bug fix database Anything related to the database labels Feb 13, 2024
@Mythicaeda Mythicaeda added this to the FY24 Q2 - Bug Fixes milestone Feb 13, 2024
@Mythicaeda Mythicaeda self-assigned this Feb 13, 2024
@Mythicaeda Mythicaeda requested a review from a team as a code owner February 13, 2024 19:55
Copy link
Contributor

@skovati skovati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

@Mythicaeda Mythicaeda merged commit 100c0b5 into develop Feb 16, 2024
10 checks passed
@Mythicaeda Mythicaeda deleted the fix/commit-merge-missing-filter branch February 16, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Anything related to the database fix A bug fix
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants