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

feat(ARCO-194): update statuses in bulk query #586

Merged
merged 28 commits into from
Dec 18, 2024

Conversation

pawellewandowski98
Copy link
Collaborator

@pawellewandowski98 pawellewandowski98 commented Sep 11, 2024

Description of Changes

Fix updating statuses in UpdateStatusBulk

  • If there was more than one status change before last update, use StatusHistory field and current status when updating status_history
  • If there is update with lower status than current one but it is not in status history add his history plus status to current status history

Linked Issues / Tickets

Fixes changes from ARCO-194

Testing Procedure

Describe the tests you've added or any testing steps you've taken.

  • I have added new unit tests
  • All tests pass locally
  • I have tested manually in my local environment

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have updated CHANGELOG.md with my changes

@pawellewandowski98 pawellewandowski98 self-assigned this Sep 11, 2024
Copy link

@pawellewandowski98 pawellewandowski98 marked this pull request as draft September 16, 2024 08:15
Copy link

@pawellewandowski98 pawellewandowski98 force-pushed the fix/update-statuses branch 2 times, most recently from 814741f to fb84e45 Compare November 26, 2024 08:07
@pawellewandowski98 pawellewandowski98 changed the title ARCO-194: update statuses in bulk query feat(ARCO-194): update statuses in bulk query Nov 26, 2024
@pawellewandowski98 pawellewandowski98 marked this pull request as ready for review December 9, 2024 09:05
internal/metamorph/processor_helpers.go Outdated Show resolved Hide resolved
internal/metamorph/store/postgresql/postgres.go Outdated Show resolved Hide resolved
internal/metamorph/store/postgresql/postgres.go Outdated Show resolved Hide resolved
@pawellewandowski98 pawellewandowski98 merged commit 0ae4172 into main Dec 18, 2024
8 checks passed
@pawellewandowski98 pawellewandowski98 deleted the fix/update-statuses branch December 18, 2024 09:06
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.

3 participants