Refactor/dao split cleanup - #1319
Open
marsof02 wants to merge 10 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
./codeAnalysisto automatically apply formatting/linting)Summary
Collapsing the last 4 PRs for #1235 - Stacks on #1318
Below are the original descriptions of the individual PRs:
PR 3 of 6 for #1235 — migrates session and current-tree callers off
TreeTrackerDAO:Stacks on #1 (branch
chore/treetracker-dao-split-repos) and #1303.Merge after previous PRs, or review against that branch only.
TreeTrackerDAOis still used elsewhere; removed in a later PR.PR 4 of 6 for #1235 — migrates planter (legacy) and tree capture callers off
TreeTrackerDAO:Stacks on #2 (branch
chore/split-treetracker-dao-session-tree), #1, and #1303.Merge after previous PRs, or review against that branch only.
TreeTrackerDAOis still used elsewhere; removed in a later PR.PR 5 of 6 for #1235 — migrates location + sync/dashboard off
TreeTrackerDAO.Stacks on #3 (branch
chore/split-treetracker-dao-planter-treecapture), #2, #1, and #1303.Merge after previous PRs, or review against that branch only.
PR 6 of 6 for #1235 — removes
TreeTrackerDAOand splits tests.Stacks on #4 (branch
refactor/split-treetracker-dao-location-sync), #3, #2, #1, and #1303.Merge after previous PRs, or review against that branch only.
Out of scope
The split preserves existing
TreeTrackerDaoTestbehavior. Several update/delete tests use weak assertions that pass without re-querying the DB (e.g. comparing againstUnit, orassertNotEqualson unrelated types). Insert tests that use sharedFakeFileGeneratorfixtures may pass because Room writes generated ids back into those objects.Not introduced by this PR — carried over from the monolith test. Happy to tighten in a follow-up issue/PR.
📸 Proof of change (REQUIRED)
🎥 Screen recording / video (always required)
1235_CI.mp4
🖼️ Screenshots (required for any UI change)
non-uilabel. A video is still required even for non-UI changes.Fixes #1235 🦕