- Use 'prisma/config' import (re-export from @prisma/config for better compatibility)
- Change workflow condition from always() to failure() for proper job triggering
- Fix migration rollback command syntax with proper schema path
- All changes verified and tested successfully
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Fix import path from 'prisma/config' to '@prisma/config' in prisma.config.ts
- Add proper output path to generator in schema.prisma for monorepo structure
- Make dotenv import optional with try/catch for CI environments
- Prisma client now generates successfully in frontends/nextjs/node_modules/.prisma/client
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- analyze-workflow-logs.ts: Basic log analysis with error/warning detection
- fetch-workflow-run-logs.ts: Stub for fetching workflow logs from GitHub API
- parse-workflow-run-logs-options.ts: Parse query parameters for log options
These stubs resolve build errors and can be fully implemented later.
- Updated Prisma from 6.19.1 to 7.2.0 (major version)
- Migrated Prisma schema to remove datasource URL (Prisma 7.x requirement)
- Updated PrismaClient initialization to pass datasourceUrl
- Fixed API route handlers to accept NextRequest parameter
- Updated MUI Grid component to include component prop for v7 compatibility
- Added AWS SDK dependencies to DBAL development module
- Created stub implementations for GitHub workflow log analysis functions
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Updated getRoleLevel test to include new 'moderator' level at position 3
- Fixed auth.test.ts canAccessLevel tests to match new level assignments:
- admin: level 4 (was 3)
- god: level 5 (was 4)
- supergod: level 6 (was 5)
- Updated API levels route test to expect 6 levels instead of 5
- Fixed capability keyword test to use existing capabilities
- Reduced failing tests from 11 to 4 (96% success rate)
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Updated vi.mock() paths to match actual source file imports
- Changed '../dbal-client' to correct relative paths (../../core/dbal-client, ../../../core/dbal-client, etc.)
- Fixed tests in users, pages, workflows, components, sessions, packages, etc.
- Reduced failing tests from 82 to 11 (87% reduction)
- Reduced failing test files from 97 to 64 (34% reduction)
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Added exports for Icon, Radio, Link, Text, TextArea, and AtomSelect to ui/atoms/index.ts
- Updated ui/index.ts to re-export all new atoms with proper types
- New atoms now accessible via `import { Icon, Radio, etc } from '@/components/ui'`
- God Tier panel (/builder) can now use all new atoms
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Fixed core/dbal-client index path to use ../dbal-client (not ../../)
- Added AWS SDK to webpack externals to prevent build errors
- S3 storage is optional - will throw error if @aws-sdk/client-s3 not installed
- Fixed circular re-export issue between core/dbal-client and dbal-client
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Created dbal/shared/ui directory for shared UI components
- Implemented getStatusResponse() for status API endpoint
- Implemented DBALDaemonPage component with metadata
- Updated tsconfig.json @dbal-ui path to point to dbal/shared/ui
- Updated next.config.ts webpack alias for @dbal-ui
- Components support both development and production DBAL modes
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Removed all stub files (dbal-stub, database-lib/dbal-stub)
- Updated all imports to use real DBAL from @/dbal
- Updated tsconfig.json to add @/dbal path (without wildcard)
- Updated next.config.ts webpack alias to dbal/development/src
- Updated dbal-state, get-dbal, and dbal-client to use real DBALClient
- Frontend now exclusively uses real DBAL (development or production mode)
- No fallback to stub - proper error handling only
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Changed forwardRef type from any to HTMLDivElement to match MUI Select
- Addressed code review feedback for type safety
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Merged main branch with DBAL restructure (ts -> development, cpp -> production)
- Updated initialize-dbal.server.ts imports to use @/dbal path alias
- Fixed dbal-stub import path to @/lib/dbal/dbal-stub
- Updated core/dbal-client index.ts to use correct relative path (../../dbal-client)
- Resolved merge conflicts from DBAL refactor
- Frontend now supports both development (TypeScript) and production (C++ daemon) DBAL
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Fixed import paths in blob providers (filesystem, memory, s3, tenant-aware) to use ../blob-storage
- Added type annotation to prisma-adapter createMany method
- Fixed package-lib/package-catalog.ts path to use ../packages/core
- Cleared Next.js build cache to resolve stale module issues
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Removed stub dbal-client directory, fixed import path to use real implementation
- Implemented proper workflow log analysis functions (analyze, fetch, parse)
- Created workflows/analysis/logs directory with real implementations
- Fixed package catalog circular import (now points to packages/core)
- Fixed prisma-adapter updateMany TypeScript error with type annotation
- All GitHub workflow functions now properly implemented using Octokit API
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Created stub dbal-client directory with get-adapter, close-adapter, and types
- Fixed secure-db index.ts to export listAuditLogs as getAuditLogs
- Fixed database-lib/database.ts to export from db/core directly
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>