Commit Graph
45 Commits
Author SHA1 Message Date
devops f59dd6ebec fix(prisma): suppress CLI update banner during migrations and builds
Deploy Canina / deploy (push) Successful in 2m34s
2026-10-20 09:46:32 +00:00
devops 73f5d6d278 fix(deploy): prevent runtime prisma schema mutation
Deploy Canina / deploy (push) Failing after 5s
2026-10-15 06:18:47 +00:00
devops ddbf1ca026 test: comprehensive test suites and quality gates pass across backend, storefront and admin
Deploy Canina / deploy (push) Successful in 4m1s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s
- Backend (NestJS): 82 suites, 641 tests passing; 0 ESLint errors; 0 tsc errors. Hardened SSL cert/key matching, SSRF IP pinning, and eBank validation.
- Admin Panel (Vite/React): 48 suites, 300 tests passing; 0 ESLint errors; 0 tsc errors. Full coverage across all pages and settings.
- Storefront (Next.js): 62 suites, 368 tests passing; 0 ESLint errors; 0 tsc errors.
- Fixed unmount lifecycle guards, promise error handling, and component edge cases.
2026-10-13 16:01:00 +00:00
parsa aghaei 7203915e15 fix(backend): run prisma db push on container entrypoint and safeguard MenuService init
Deploy Canina / deploy (push) Successful in 52s
2026-08-22 11:14:00 +03:30
parsa aghaei bb03969d27 ci: add --ignore-scripts to backend npm ci and execute prisma generate through vpn proxy
Deploy Canina / deploy (push) Has been cancelled
2026-08-19 10:17:32 +03:30
parsa aghaei 40c670a89a ci: optimize npm ci sockets and proxy separation for backend build
Deploy Canina / deploy (push) Has been cancelled
2026-08-19 10:15:24 +03:30
parsa aghaei f051f094ea ci: disable opencollective in backend Dockerfile
Deploy Canina / deploy (push) Waiting to run
2026-08-19 10:04:59 +03:30
parsa aghaei cacb6341f0 ci: add no_proxy for nexus in backend Dockerfile npm ci
Deploy Canina / deploy (push) Has been cancelled
2026-08-19 09:59:26 +03:30
parsa aghaei f06ea49f34 ci: pass vpn tinyproxy to npm ci and prisma generate in backend Dockerfile
Deploy Canina / deploy (push) Failing after 4m0s
2026-08-19 09:50:50 +03:30
parsa aghaei 0bee82043a ci: enable tinyproxy routing for prisma build and restore build scripts
Deploy Canina / deploy (push) Has been cancelled
2026-08-19 09:46:19 +03:30
parsa aghaei 78ea486964 ci: add --ignore-scripts to Dockerfiles to prevent hanging on Prisma engine downloads
Deploy Canina / deploy (push) Has started running
2026-08-18 21:55:14 +03:30
parsa aghaei a2b8c91cf9 ci: fix prisma mirror and optimize docker context ignoring heavy uploads
Deploy Canina / deploy (push) Has been cancelled
2026-08-18 21:47:02 +03:30
parsa aghaei f880b942f1 ci: add --progress=plain to docker compose build and clean up docker npm proxy config
Deploy Canina / deploy (push) Has been cancelled
2026-08-18 21:14:22 +03:30
parsa aghaei 172fed92b7 fix: resolve nest build output structure, tsc compilation and docker npm ci proxy timeout
Deploy Canina / deploy (push) Has been cancelled
2026-08-18 20:39:47 +03:30
parsa aghaei 03c6ed58c7 chore(ci): restore original working Dockerfiles from run 280 and add auto-prune to deploy script
Deploy Canina / deploy (push) Successful in 2m15s
2026-08-17 13:50:36 +03:30
parsa aghaei 23a31203e3 fix(docker): copy prisma schema before npm ci and ensure prisma client target dir exists
Deploy Canina / deploy (push) Failing after 1m33s
2026-08-17 13:37:11 +03:30
parsa aghaei c8f3ce0cde fix(docker): ensure /app/node_modules/.prisma directory is created before prisma generate
Deploy Canina / deploy (push) Failing after 23s
2026-08-17 13:31:24 +03:30
parsa aghaei f1b77f3fba fix(backend): fix dist output structure and runtime entrypoint in Dockerfile
Deploy Canina / deploy (push) Successful in 32s
2026-08-16 14:31:09 +03:30
parsa aghaei f3ec164c38 fix(backend): use proxy during prisma generate and build
Deploy Canina / deploy (push) Has been cancelled
2026-08-15 16:19:42 +03:30
parsa aghaei cfc41e349d fix(backend): explicitly set USER root for apk add openssl in Dockerfile
Deploy Canina / deploy (push) Failing after 1m46s
2026-08-15 16:12:16 +03:30
parsa aghaei 034d4c71b0 fix(backend): install openssl via proxy to enable prisma native engine detection
Deploy Canina / deploy (push) Failing after 1m38s
2026-08-15 16:08:17 +03:30
parsa aghaei 9a65aa48cd fix(prisma): provide local musl openssl 3.0 engine paths
Deploy Canina / deploy (push) Failing after 3s
2026-08-15 16:04:04 +03:30
parsa aghaei dbbf75e3c5 fix(prisma): use native binaryTarget and clean hardcoded engine paths
Deploy Canina / deploy (push) Failing after 35s
2026-08-15 16:01:27 +03:30
parsa aghaei 8b0d3d972e fix(docker): ignore host node_modules and let prisma resolve engines automatically
Deploy Canina / deploy (push) Failing after 34s
2026-08-15 15:58:09 +03:30
parsa aghaei b1a9d1a5ba fix(backend): skip prisma postinstall during npm ci
Deploy Canina / deploy (push) Failing after 1m0s
2026-08-15 15:53:09 +03:30
parsa aghaei f05ea493f3 fix(backend): use direct local binary for prisma generate
Deploy Canina / deploy (push) Failing after 57s
2026-08-15 15:52:11 +03:30
parsa aghaei 3314a5cb0a fix(backend): use local prisma engines in Dockerfile during build
Deploy Canina / deploy (push) Has been cancelled
2026-08-15 15:50:52 +03:30
parsa aghaei c1bc9e1994 ci: fix runner setup, integrate nexus npm proxy and safe vpn wrapper
Deploy Canina / deploy (push) Failing after 2s
2026-08-09 11:23:21 +03:30
parsa aghaei a767e9a6b8 merge: sync develop fixes into main
Deploy Canina / deploy (push) Failing after 9m25s
2026-07-29 15:55:50 +03:30
parsa aghaei 84d9ed3a9d perf(docker): replace slow RUN chown -R with fast COPY --chown in backend Dockerfile 2026-07-29 15:48:26 +03:30
parsa aghaei 485c6bfec6 fix(prisma): add dedicated tsconfig.seed.json for clean cross-platform seeding
Deploy Canina / deploy (push) Successful in 5m57s
2026-07-29 14:36:20 +03:30
parsa aghaei 782720d86d fix: use ts-node transpile-only with CJS override for seed (no new packages)
Deploy Canina / deploy (push) Successful in 10m25s
- Remove tsx (Nexus doesn't have it cached - causes E404)
- Use ts-node --transpile-only --compiler-options with module:CommonJS
  to bypass nodenext ESM cycle issue without any new dependencies
- Copy tsconfig.json to runtime container for ts-node compatibility
2026-07-29 14:21:58 +03:30
parsa aghaei 431e2b547d fix: Prisma OpenSSL engine binary detection on Alpine
Deploy Canina / deploy (push) Successful in 34s
- Set PRISMA_SCHEMA_ENGINE_BINARY to 3.0.x binary path
- Set PRISMA_QUERY_ENGINE_LIBRARY to 3.0.x library path
- node:20-alpine has libssl.so.3 but no openssl CLI binary
- Prisma detection fails silently, defaults to 1.1.x engines
- Explicit paths bypass detection and use correct binaries
- Remove apk add openssl (not needed, causes build failure without VPN)
- backend Dockerfile: use PRISMA_CLI_BINARY_TARGETS to generate correct client
2026-07-29 09:21:39 +03:30
parsa aghaei 501addc909 fix: CI/CD pipeline, dynamic API URLs, Dockerfile fixes
Deploy Canina / deploy (push) Successful in 5m39s
- Backend Dockerfile: add chown for node_modules (Prisma permissions fix)
- Frontend Dockerfile: add ARG/ENV for NEXT_PUBLIC_API_URL, VITE_API_URL
- nginx.conf: template with __PLACEHOLDERS__ for per-env substitution
- deploy.yml: SSH keepalive, sudo for VPN
- api.ts: dynamic API URL via env vars instead of hardcoded
- next.config.ts: rewrite only in development mode
- scripts: deploy.sh, compose.stage.yml, compose.prod.yml
2026-07-28 16:37:05 +03:30
devops e4c196b080 fix: VPN build, caching, Dockerfile fixes for Iran network
Deploy Canina / deploy (push) Failing after 12s
2026-07-27 16:06:59 +00:00
devops 41d7629d2a fix: VPN build, caching, Dockerfile fixes for Iran network
Deploy Canina / deploy (push) Failing after 12s
2026-07-27 16:06:35 +00:00
devops 2c47e35153 fix: IngredientWiki fallback to scientificTerms from API with keywords as benefits
Deploy Canina / deploy (push) Successful in 1m8s
2026-07-14 12:27:43 +00:00
DevOps 3c8f7729c2 ci: use sh shell instead of bash for ci-runner (Alpine based)
Deploy Canina / deploy (push) Failing after 1m45s
2026-07-14 03:32:53 +00:00
DevOps a5b1b31ef8 ci: trigger deploy after SSH config fix
Deploy Canina / deploy (push) Failing after 1s
2026-07-13 13:13:52 +00:00
parsa aghaei 60939f14ea chore: remove committed build artifacts (node_modules, dist, .next)
- Remove node_modules, dist, .next from git tracking
- Add .next and *.tsbuildinfo to .gitignore
- Remove Iranian mirrors from Dockerfiles (arvancloud.ir)
- Add npm ci step for dependency installation
- Ready for VPN-based internet access workflow
2026-07-12 13:24:33 +03:30
parsa aghaei e236190aaa nodemodules added to repo 2026-07-11 20:56:16 +03:30
parsa aghaei b0d639996b dockerfile changes 2026-07-11 20:15:19 +03:30
parsa 4b69932409 chore: save initial uncommitted changes 2026-06-12 00:21:03 +03:30
parsa 40ff169dc2 feat: complete testing, security, dynamic content, and devops overhaul 2026-05-27 02:00:14 +03:30
parsa 467532713c feat: connect UI texts, address CRUD, OTP autofocus and profile to backend 2026-05-26 21:39:14 +03:30