Skip to content

Conversation

@soininen
Copy link
Contributor

@soininen soininen commented Nov 17, 2025

This PR fixes the database corrupting issues that forced us to disable commits on filtered databases.

Fixes #594

Checklist before merging

  • Documentation (also in Toolbox repo) is up-to-date
  • Release notes have been updated
  • Unit tests have been added/updated accordingly
  • Code has been formatted by black & isort
  • Unit tests pass

We don't need to create new location records if we're updating
the locations through entity from non-existent to None.
@codecov
Copy link

codecov bot commented Nov 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.63%. Comparing base (7ab3ca0) to head (5fd4394).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #599      +/-   ##
==========================================
+ Coverage   85.48%   85.63%   +0.15%     
==========================================
  Files          81       81              
  Lines       10929    11002      +73     
  Branches     1601     1617      +16     
==========================================
+ Hits         9343     9422      +79     
+ Misses       1228     1222       -6     
  Partials      358      358              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Implemented a new conflict fixing mechanism that commits modified
items directory to a secondary unfiltered database mapping.
The secondary mapping allows real integrity checks - we just need
to update the item statuses (and ids in case of added items)
in the original database mapping to committed state.

Re #594
@soininen soininen force-pushed the 594_fix_cascade_remove branch from 33dbb0f to 5fd4394 Compare November 17, 2025 07:44
@soininen soininen merged commit 643f331 into master Nov 17, 2025
15 checks passed
@soininen soininen deleted the 594_fix_cascade_remove branch November 17, 2025 08:25
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.

Removing items sometimes does not cascade remove references

2 participants