Skip to content

Dev#41

Merged
alde23 merged 147 commits into
mainfrom
dev
Jun 1, 2026
Merged

Dev#41
alde23 merged 147 commits into
mainfrom
dev

Conversation

@alde23

@alde23 alde23 commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Version 1.1

alde23 and others added 30 commits April 26, 2026 23:24
- Replace deprecated node10 moduleResolution with NodeNext
- Update module to NodeNext to match requirement
- Resolves TypeScript 7.0 deprecation warning
…ine-structure

Refactor(pipeline)/clean data pipeline structure
…onents

Feat(pipeline)/revise missing components
feat(api): initial schema baseline and docker setup
chore(ci): separate migration workflow and add push triggers
A
fix(api): resolve prisma generator merge casualty

:wq
alde23 and others added 28 commits May 29, 2026 20:03
…ansion

Feat(mobile)/watermelondb sync expansion
…ols-and-guide

feat(pipeline): add extracted demo dataset and usage guide
chore(shared): setup docker postgres, ci, mobile auth, and schema upd…
…kend-integration-flows

## Description
This PR introduces comprehensive test coverage across both the `api` and `mobile` apps to achieve our >70% coverage threshold, while specifically focusing on the mobile client's backend-integration flows and pipeline stabilization.

### Key Changes
- **API Coverage**: Created missing `spec.ts` test suites for core backend services (`auth`, `warranty`, `commissioning`, `jobs`, `scheduling`, `service-logs`, `sync-conflicts`, and `roles`).
- **Mobile Integration Tests**: Added robust backend-integration tests for `HomeScreen` data fetching, `unified-sync` workflows, and the `Analytics` screen (specifically mocking and verifying the "Add Expense" modal).
- **Sync Fixes**: Resolved case-sensitivity issues in `unified-sync.service` (changed `PENDING` to `pending`) to ensure queue items are successfully picked up and processed.
- **Currency Standards**: Enforced Bosnian `BAM` / `KM` as the default monetary currency across expense tracking and analytics summaries.
- **CI Pipeline Stabilisation**: Appended the `--forceExit` flag to our Jest test runner in `.github/workflows/ci.yml`. This fixes a critical pipeline bug where the CI would hang indefinitely waiting on active autosave timers spawned by WatermelonDB's `LokiJS` test adapter.
- **Memory & Handle Leaks**: Addressed various leaking `fetch` mock promises and asynchronous tear-downs to appease `--detectOpenHandles`.
@alde23
alde23 merged commit d98afe4 into main Jun 1, 2026
2 checks passed
@nx-cloud

nx-cloud Bot commented Jun 1, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit ae65798

Command Status Duration Result
nx run-many --target=test --all --coverage --fo... ✅ Succeeded 3s View ↗
nx build api ✅ Succeeded 5s View ↗
nx build shared-schema ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-06-01 16:13:46 UTC

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.

4 participants