B6-3: Frontend build cache — npm + Turborepo remote #77

Closed
opened 2026-05-11 20:36:23 +00:00 by lekss361 · 1 comment
lekss361 commented 2026-05-11 20:36:23 +00:00 (Migrated from github.com)

Эшелон: 🚀 DevOps / Infra

Зачем

Deploy 1m20s warm — уже хорошо (Session_End_May11_part2). Но frontend build — самый долгий шаг (2-4 мин cold). Дальнейший speedup для DX.

Что сделать

  • Проверить hit rate GHA cache для frontend build
  • Hit rate <50% → улучшить:
    • npm ci в отдельный Dockerfile слой (cache mount уже есть — проверить)
    • Multi-stage build optimization
  • Опционально: Turborepo remote cache (бесплатно до 10GB для OSS, аккаунт Vercel)
  • Опционально: shared base image gendesign-frontend-base с pre-installed node_modules — peбuild только app code

Acceptance

  • Cache hit rate >70%
  • Cold build <3 мин
  • Warm build <1 мин

Owner

devops-engineer

Effort

~1 день

**Эшелон:** 🚀 DevOps / Infra ## Зачем Deploy 1m20s warm — уже хорошо (Session_End_May11_part2). Но frontend build — самый долгий шаг (2-4 мин cold). Дальнейший speedup для DX. ## Что сделать - Проверить hit rate GHA cache для frontend build - Hit rate <50% → улучшить: - `npm ci` в отдельный Dockerfile слой (cache mount уже есть — проверить) - Multi-stage build optimization - Опционально: Turborepo remote cache (бесплатно до 10GB для OSS, аккаунт Vercel) - Опционально: shared base image `gendesign-frontend-base` с pre-installed node_modules — peбuild только app code ## Acceptance - [ ] Cache hit rate >70% - [ ] Cold build <3 мин - [ ] Warm build <1 мин ## Owner `devops-engineer` ## Effort ~1 день
Owner

Status check 2026-05-23

Issue остаётся в силе. После security pivot (PRs #426-#442) frontend build pipeline не менялся — npm + Turborepo cache по-прежнему отсутствует.

Priority после pilot demo 28.05: low — tech debt

Привязка: добавлен в umbrella epic(infra): Pilot infra status 2026-05-23 — после security pivot.

## Status check 2026-05-23 Issue остаётся в силе. После security pivot (PRs #426-#442) frontend build pipeline не менялся — npm + Turborepo cache по-прежнему отсутствует. **Priority после pilot demo 28.05**: low — tech debt Привязка: добавлен в umbrella `epic(infra): Pilot infra status 2026-05-23 — после security pivot`.
Sign in to join this conversation.
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lekss361/gendesign#77
No description provided.