Skip to content

Feat/entity sync#112

Merged
gallayl merged 7 commits intodevelopfrom
feat/entity-sync
Feb 19, 2026
Merged

Feat/entity sync#112
gallayl merged 7 commits intodevelopfrom
feat/entity-sync

Conversation

@gallayl
Copy link
Collaborator

@gallayl gallayl commented Feb 19, 2026

♻️ Summary

Migrate the entire service layer from direct StoreManager/PhysicalStore access to DataSet/getDataSetFor from @furystack/repository. Background services and event handlers now use useSystemIdentityContext to create named system-level identity contexts for authorization-aware data operations. Adds @furystack/entity-sync packages for entity synchronization support.

📦 Changes

  • Replace all getStoreManager(injector).getStoreFor() and StoreManager injection with getDataSetFor(injector, Model, 'key') across all service modules
  • Introduce useSystemIdentityContext with named identities (ollama-service, chat-events, movie-maintainer, etc.) for elevated background operations
  • Move sequelize?.sync() from service.ts to setup-identity-store.ts
  • Add @furystack/entity-sync, @furystack/entity-sync-client, and @furystack/entity-sync-service dependencies
  • Bump FuryStack packages and dev dependencies

@codecov-commenter
Copy link

codecov-commenter commented Feb 19, 2026

Codecov Report

❌ Patch coverage is 17.54386% with 141 lines in your changes missing coverage. Please review.
✅ Project coverage is 33.12%. Comparing base (aa07f58) to head (c5da8a5).

Files with missing lines Patch % Lines
...app-models/media/services/movie-file-maintainer.ts 0.00% 19 Missing and 1 partial ⚠️
service/src/ai/setup-ai.ts 0.00% 14 Missing ⚠️
...vice/src/app-models/iot/device-availability-hub.ts 0.00% 14 Missing ⚠️
service/src/ai/ollama-client-service.ts 0.00% 11 Missing ⚠️
...models/media/services/stream-file-action-caches.ts 0.00% 9 Missing and 1 partial ⚠️
...ervice/src/app-models/install/service-installer.ts 0.00% 9 Missing ⚠️
...pp-models/chat/actions/accept-invitation-action.ts 0.00% 7 Missing ⚠️
...els/media/metadata-services/omdb-client-service.ts 25.00% 6 Missing ⚠️
service/src/app-models/chat/setup-chat-store.ts 0.00% 5 Missing ⚠️
...vice/src/app-models/drives/file-watcher-service.ts 28.57% 5 Missing ⚠️
... and 11 more
Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #112       +/-   ##
============================================
- Coverage    44.84%   33.12%   -11.72%     
============================================
  Files          193      193               
  Lines         3416     3441       +25     
  Branches       557      557               
============================================
- Hits          1532     1140      -392     
- Misses        1673     2082      +409     
- Partials       211      219        +8     

☔ 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.

@gallayl gallayl enabled auto-merge (squash) February 19, 2026 13:18
@gallayl gallayl merged commit 843972f into develop Feb 19, 2026
10 of 11 checks passed
@gallayl gallayl deleted the feat/entity-sync branch February 19, 2026 14:15
@codecov-commenter
Copy link

Bundle Report

Changes will increase total bundle size by 2.15kB (0.01%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
shades-showcase-app-esm 15.09MB 2.15kB (0.01%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: shades-showcase-app-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-*.js 2.15kB 224.62kB 0.97%

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.

2 participants

Comments