Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
86061af
feat(raw_posts): StarStyle.com adapter (#466) (#481)
cocoyoon May 7, 2026
efcb74f
chore: retrigger CI with bump label
cocoyoon May 7, 2026
4c0b3ff
fix(starstyle-backfill): mirror hero images to R2 before INSERT (#466…
cocoyoon May 7, 2026
3b5d5fc
Merge remote-tracking branch 'origin/main' into dev
cocoyoon May 7, 2026
47f31a8
feat(raw_posts): R2 cleanup on delete + storage rename (#466) (#486)
cocoyoon May 7, 2026
5443b42
feat(web): add vton item and post selection
thxforall May 7, 2026
23a7eb8
fix(web): use local supabase fallback for posts
thxforall May 7, 2026
6a0316a
fix(web): serve local vton seed images
thxforall May 7, 2026
2dbcdb5
fix(web): seed local post images for vton qa
thxforall May 7, 2026
8c57c3a
docs: design profile tries detail modal
thxforall May 7, 2026
8201801
feat(web): add try detail snapshots
thxforall May 7, 2026
b5ca3ea
fix(raw_posts): preserve vision log thumbnails (#490)
CIOI May 7, 2026
6647c59
fix(web): remove missing supabase client export (#491)
CIOI May 7, 2026
28da9df
feat(verify): R2 relocate raw → operation at verify time (#466) (#492)
cocoyoon May 8, 2026
910081f
fix(wiki): remove unknown tags (profile, vton) from profile-tries spe…
cocoyoon May 8, 2026
c53f0d4
Merge remote-tracking branch 'origin/main' into dev
cocoyoon May 8, 2026
0a08891
feat(cost-tracking): Gemini API per-call cost tracking + admin dashbo…
cocoyoon May 14, 2026
01b8c5a
feat(content-studio): AI-powered content generation pipeline (#498)
thxforall May 14, 2026
1b048cf
feat(admin): verify observability — stats page + daily-digest nag (#499)
cocoyoon May 14, 2026
b8dab14
merge: main into dev — resolve admin router/sidebar/home conflicts
cocoyoon May 14, 2026
006c967
feat(content-studio): DB persistence for local dev parity (#510)
thxforall May 14, 2026
d5755a7
feat(editorial): thumbnail regen button + pipeline error surfacing (#…
cocoyoon May 14, 2026
0b95cb2
chore(dx): dev-reset PRD seed + pre-push lint fixes (#525)
thxforall May 14, 2026
9a88c56
chore(release): backend bump ai=1.6.0 api=0.11.0 [skip ci]
May 14, 2026
8f37d04
fix(daily-digest): use single quotes for UUID array literals in psql …
cocoyoon May 14, 2026
39a9951
merge: main into dev — record main as merged (content already in dev …
cocoyoon May 14, 2026
76ad523
feat: complete virtual try-on UX (#529)
thxforall May 14, 2026
333263a
fix: keep vton modal above post detail drawer (#531)
thxforall May 14, 2026
0e8c40a
fix: restore try-on photo upload
thxforall May 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 23 additions & 6 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,37 @@ dev-down:
bash "{{ repo }}/scripts/local-deps-down.sh"

# DB 초기화 + 마이그레이션 + seed — 깨끗한 상태로 리셋 (Supabase CLI 필요)
# PRD_DB_URL 이 env 또는 .env.local 에 있으면 PRD 데이터로 시딩, 없으면 로컬 seed.sql 사용
dev-reset:
#!/usr/bin/env bash
set -euo pipefail
if ! command -v supabase >/dev/null 2>&1; then
echo "❌ supabase CLI not found. Install: brew install supabase/tap/supabase"
exit 1
fi
echo "⚠️ Supabase 로컬 DB 를 리셋합니다 (볼륨 유지, schema 재적용)..."
( cd "{{ repo }}" && supabase db reset ) || true
echo "⏳ Waiting 3s for postgres..."
sleep 3

# PRD_DB_URL 자동 감지: env → packages/web/.env.local
if [ -z "${PRD_DB_URL:-}" ]; then
ENV_FILE="{{ repo }}/packages/web/.env.local"
if [ -f "$ENV_FILE" ]; then
PRD_DB_URL=$(grep '^PRD_DB_URL=' "$ENV_FILE" | cut -d'=' -f2- || true)
export PRD_DB_URL
fi
fi

if [ -n "${PRD_DB_URL:-}" ]; then
echo "🔄 PRD 데이터로 리셋합니다 (seed-from-prod --yes)..."
bash "{{ repo }}/scripts/seed-from-prod.sh" --yes
else
echo "⚠️ PRD_DB_URL 없음 — 로컬 seed.sql 로 리셋합니다..."
( cd "{{ repo }}" && supabase db reset ) || true
echo "⏳ Waiting 3s for postgres..."
sleep 3
just seed || echo "⚠️ seed 실패 (Auth 유저 FK 등) — Studio 에서 유저 생성 후 재시도"
fi

# supabase db reset 은 컨테이너를 재시작하므로 decoded-backend 네트워크 재연결 필요
bash "{{ repo }}/scripts/local-deps-connect.sh"
just seed || echo "⚠️ seed 실패 (Auth 유저 FK 등) — Studio 에서 유저 생성 후 재시도"
bash "{{ repo }}/scripts/local-deps-connect.sh" 2>/dev/null || echo "ℹ️ 네트워크 재연결 건너뜀 (just local-deps 미실행 상태)"
echo "✅ DB reset 완료. Start apps with: just dev"

# seed.sql 적용 — postgres 가 기동 중이어야 함 (Supabase CLI 기본 DB)
Expand Down
Loading
Loading