Skip to content

test: race shift updates against leave approval - #12

Merged
nooby6 merged 2 commits into
mainfrom
test/concurrent-shift-update-leave
Oct 16, 2026
Merged

nooby6 merged 2 commits into
mainfrom
test/concurrent-shift-update-leave

Conversation

@nooby6

@nooby6 nooby6 commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a PostgreSQL integration test that races extending an existing shift into a leave window against approving that leave.
  • Assert exactly one mutation commits and the database contains no overlapping scheduled shift/approved leave pair.
  • Exercise the V5 trigger's update path as well as the leave insert path.

Validation

GitHub Actions will run the Gradle suite against PostgreSQL 17.

@nooby6
nooby6 merged commit 4750d44 into main Oct 16, 2026
1 check passed
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.

1 participant