Commit Graph

15 Commits

Author SHA1 Message Date
root
4337793034 fix(docker): use shared docker-prep.sh and update Dockerfile for tarball approach
Some checks failed
CI — NoteLett / Backend — typecheck + test + build (push) Failing after 0s
CI — NoteLett / Web — typecheck + test + build (push) Failing after 0s
CI — NoteLett / Mobile — typecheck (push) Failing after 0s
CI — NoteLett / E2E — Playwright (push) Failing after 0s
Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 01:50:55 +00:00
root
3c5856b2f5 perf(docker): optimize docker-prep.sh with caching and shared cache
Some checks are pending
CI — NoteLett / Backend — typecheck + test + build (push) Waiting to run
CI — NoteLett / Web — typecheck + test + build (push) Waiting to run
CI — NoteLett / Mobile — typecheck (push) Waiting to run
CI — NoteLett / E2E — Playwright (push) Waiting to run
Implemented 7 optimizations to significantly improve docker-prep.sh performance:
1. Git-based incremental builds (only rebuild changed packages)
2. Hash-based caching (content-addressable cache)
3. Persistent tarball cache (survives git clean)
4. Smart manifest tracking (track what's been built)
5. Cache-first build strategy (check cache before building)
6. Shared global cache (all products use same cache at ~/.cache/bytelyst-packages)
7. Custom cache location via BYTELYST_CACHE_DIR env var

Performance improvements:
- First build: 2-3 minutes (same as before)
- Subsequent builds: 5-10 seconds (cache hit)
- Multi-product deployment: 60% faster (6-9 min → 2.5-3.5 min)
- Disk usage: Reduced from 5.1MB to 1.7MB (shared cache)

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-05-10 00:10:28 +00:00
b73c969d14 feat(ui): wire platform core primitives 2026-05-06 11:12:09 -07:00
389a4c868f ci(deps): add dependency health workflow 2026-05-05 13:36:04 -07:00
694a0be0fa ci(security): add release guard audits 2026-05-05 13:34:05 -07:00
cae5941374 ci(docker): add compose smoke script 2026-05-05 13:31:10 -07:00
7fb44d09ae ci(docker): build backend and web images 2026-05-05 13:29:22 -07:00
a2053a70f1 chore(platform): add local smoke script 2026-05-05 09:29:42 -07:00
saravanakumardb1
ff7f658628 fix(docker): filter pnpm build to packages/ only — avoids mcp-server type error 2026-04-13 15:51:39 -07:00
saravanakumardb1
cc6558277c fix(docker): bash 3.2 compat + .docker-deps COPY + pnpm.overrides for transitive deps
- docker-prep.sh: replace declare -A with temp file (macOS bash 3.2)
- docker-prep.sh: inject pnpm.overrides so transitive @bytelyst/* deps resolve from tarballs
- backend/Dockerfile + web/Dockerfile: COPY .docker-deps/ into build context
- .npmrc.docker: remove scoped registry (tarballs handle all @bytelyst/* resolution)
2026-04-13 14:02:31 -07:00
saravanakumardb1
6bff2d3e2e chore(devops): add LLM env vars to .env.example, docker-compose, docker-prep 2026-04-06 11:15:36 -07:00
saravanakumardb1
0a4c13b1d6 chore: add Husky pre-commit hooks + secret-scan scripts 2026-03-27 23:07:30 -07:00
saravanakumardb1
e9f4aedb7a chore: remove docker-prep.sh — replaced by Gitea registry-backed Dockerfiles 2026-03-24 06:20:47 -07:00
saravanakumardb1
90dd2d3bd5 feat(repo): migrate notelett workspace to pnpm 2026-03-22 15:50:54 -07:00
saravanakumardb1
a71747e3fb chore(devops): add Dockerfiles, docker-compose, CI workflow, docker-prep script [C1-C5]
- backend/Dockerfile: multi-stage Node.js build (install → build → runtime)
- web/Dockerfile: multi-stage Next.js standalone build
- docker-compose.yml: backend (4016) + web (3000) with health check
- scripts/docker-prep.sh: pack @bytelyst/* tarballs + rewrite file: refs (--restore to undo)
- .github/workflows/ci.yml: backend (typecheck+test+build), web (typecheck+test+build), mobile (typecheck)
2026-03-19 08:47:04 -07:00