Repository navigation
DDD refactor 7/8: sync bounded context - #34
Merged
Merged
Conversation
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
gjong
force-pushed
the
devin/ddd-7-sync
branch
5 times, most recently
from
October 30, 2026 11:44
aeb59f3 to
820ba68
Compare
Move TransactionOutbox repository port/impl, SyncMetadata/TransactionOutbox DAO+entity, and the WorkManager sync machinery (SyncWorker, SyncWorkRunner, SyncWorkScheduler, OutboxFlush*) into com.pledgerio.app.sync. Move the Room database, converters and migrations into shared.data.local (schema export dir renamed to match the new package; 8.json regenerated by Room is content-identical). Pure package move; no behavior changes.
gjong
force-pushed
the
devin/ddd-7-sync
branch
from
October 30, 2026 11:49
820ba68 to
6ecc747
Compare
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.
Summary
Part 7 of 8 of the DDD reorganization. Moves the sync bounded context into
com.pledgerio.app.sync:domain/repository—TransactionOutboxRepositoryportdata—TransactionOutboxRepositoryImpldata/local—SyncMetadataDao/Entity,TransactionOutboxDao/Entitywork— WorkManager machinery:SyncWorker,SyncWorkRunner,SyncWorkScheduler,OutboxFlushScheduler,OutboxFlushOnReconnectAlso moves the Room infrastructure that no context owns —
PledgerDatabase,Converters,PledgerDatabaseMigrations— from the olddata.localintoshared.data.local. The Room schema export directory was renamed to the new package path; Room regenerated8.jsonunder it and the content is identical to the old export.Tests moved to matching packages;
FakeSyncMetadataDaolives insync.workand is imported by tests across contexts.Pure package moves + import fixes; no behavior changes.
Verification
./gradlew compileDebugKotlin— clean./gradlew testDebugUnitTest— all tests pass./gradlew lintDebug— passes (baseline-filtered issues unchanged)Depends on #33.
Link to Devin session: https://app.devin.ai/sessions/b4abe677e08c40eea4954207aac218de
Open in Devin Desktop: https://app.devin.ai/desktop/session/b4abe677e08c40eea4954207aac218de?variant=devin
Requested by: @gjong