git
fb054980e6
RECOVERY PHASE 4: DBAL Test Suite Fixed - 160/160 Tests Passing
...
Fixed all DBAL tests and infrastructure issues:
1. **Test Infrastructure Fixes**
- Fixed vitest mock setup: Changed vi.fn(() => mockAdapter) to vi.fn(function() { return mockAdapter })
- Added missing PostgresAdapter and MySQLAdapter to mock exports
- Fixed blob storage test imports from incorrect paths
- Removed FilesystemStorage test (not exported)
- Fixed all validation test import paths (created 5 missing wrapper files)
2. **Database Schema Initialization**
- Configured Prisma 7 with hardcoded URL in schema.prisma
- Set DATABASE_URL in /dbal/development/.env.local
- Removed config file approach (Prisma 7 incompatibility)
- Database will be created at runtime via PrismaClient adapter
3. **Validation & Operation Fixes**
- Fixed updateManyUsers filter validation (reject if only tenantId)
- Fixed page validation test case (256-char path instead of empty)
- Fixed workflow error handling: Added await to async adapter calls
- Fixed error code checking (use duck typing instead of instanceof)
4. **Test Results**
- Test Files: 28 passed (28/28) ✓
- Tests: 160 passed (160/160) ✓
- Build: Successful with tsc compilation
5. **Architecture**
- DBAL compiled to dist/ with all exports functional
- Prisma schema in /dbal/shared/prisma/
- All entity types generated (14 types in types.generated.ts)
- All adapters, bridges, and clients working
Next: Fix frontend imports and complete full-system verification.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-01-15 03:30:46 +00:00
git
6d8b23e7a6
Refactor code structure for improved readability and maintainability
2026-01-07 14:18:49 +00:00
git
92c280b0e6
feat: Add PageConfig and ComponentNode entities with CRUD operations
...
- Introduced `PageConfig` entity for page configuration and layout definition.
- Introduced `ComponentNode` entity for managing component hierarchy within pages.
- Implemented operations for creating, reading, updating, and deleting both entities.
- Updated Prisma schema to reflect new entities and relationships.
- Enhanced ACL rules for new entities to manage access control.
- Added conformance cases to test page and component hierarchy management.
- Created a script to check synchronization between DBAL and Prisma schemas.
2026-01-07 13:31:26 +00:00
copilot-swe-agent[bot]
0ab852d227
Initial plan: Fix README styles documentation
...
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com >
2026-01-03 20:17:49 +00:00
git
cfa1e5bfee
feat: add new icon components including Envelope, ChatCircle, HardDrives, WarningCircle, CheckCircle, XCircle, TrendUp, ShieldWarning, LockKey, Crown, Sparkle, BookOpen, Tree, Broom, Export, UploadSimple, Funnel, FunnelSimple, MapTrifold, PushPinSimple, Buildings, GithubLogo, and GoogleLogo
2025-12-30 12:21:15 +00:00
copilot-swe-agent[bot]
2180f608fb
Restructure dbal folder: development, production, and shared
...
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com >
2025-12-27 13:30:57 +00:00