-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix bug where the before_commit hook runs before the after_begin hook #17
base: master
Are you sure you want to change the base?
fix bug where the before_commit hook runs before the after_begin hook #17
Conversation
…ey can happen out of order
PR that introduced issue here: https://github.com/trialspark/sqlalchemy-continuum/pull/14/files |
Figuring out how to run tests against this repo now |
42562b8
to
308f203
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM assuming the continuum tests pass and the spark tests pass when pointed at this version!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is fine? Have you run all the automated tests for contiuum? (We don't have CI set up for this repo so you'll need to do it locally.)
yeah were the tests running properly before? I'm unable to run any tests against even master using: |
getting random schema errors and things |
@minznerjosh if I ran this against the spark repo's codebase would that be sufficient? |
Merge the before commit and after begin hooks due to the fact that they can happen out of order.
This addresses an issue that I was having when testing the DMR project locally. I observed rows being added to the audit transactions table that did not contain a value for origin_app. Implementing this change in the library code running inside of the docker container executing the data migration fixed the issue that I was having.