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

Fix sqlite3 remote_resource_uuid update #249

Merged
merged 4 commits into from
May 25, 2022

Conversation

giffels
Copy link
Member

@giffels giffels commented May 25, 2022

Introducing #247 revealed a bug in TARDIS. The remote_resource_uuid in the SqliteRegistry plugin in not updated at all. As a result, TARDIS keeps crashing on restarts due to the missing remote_resource_uuid until the DB has been removed.

This pull request add the missing remote_resource_uuid attribute to the update database calls and fixes #248.

@giffels giffels added the bug Something isn't working label May 25, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 25, 2022

Codecov Report

Merging #249 (12508ca) into master (34e88af) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #249   +/-   ##
=======================================
  Coverage   99.34%   99.34%           
=======================================
  Files          54       54           
  Lines        2145     2145           
=======================================
  Hits         2131     2131           
  Misses         14       14           
Impacted Files Coverage Δ
tardis/plugins/sqliteregistry.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 34e88af...12508ca. Read the comment docs.

@giffels giffels requested review from maxfischer2781, a team and RHofsaess and removed request for a team May 25, 2022 11:58
maxfischer2781
maxfischer2781 previously approved these changes May 25, 2022
Copy link
Member

@maxfischer2781 maxfischer2781 left a comment

Choose a reason for hiding this comment

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

As discussed offline, I'm fine with the changes.

Found only a minor typo, feel free to fix it or not.

….yaml

Co-authored-by: Max Fischer <maxfischer2781@gmail.com>
@giffels
Copy link
Member Author

giffels commented May 25, 2022

As discussed offline, I'm fine with the changes.

Found only a minor typo, feel free to fix it or not.

Thanks a lot, I fixed it.

Copy link

@RHofsaess RHofsaess left a comment

Choose a reason for hiding this comment

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

Looks fine and straight forward 👍

@giffels giffels merged commit d45425a into MatterMiners:master May 25, 2022
@giffels giffels deleted the fix-sqlite-updates branch May 25, 2022 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TARDIS crashing due to Drones in ShutdownState having remote_resource_uuid=None
4 participants