Repository navigation
feat(cli): 시연용 샘플 데이터를 쌓는 sil seed-demo 추가 (SIL-101) - #46
Closed
space-angel wants to merge 1 commit into
Closed
space-angel wants to merge 1 commit into
space-angel wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
관련 이슈
무엇을 바꿨나요
pnpm sil seed-demo명령을 더했어요. 시연 화면이 비어 보이지 않게 DB 함수(save_standard,revert_standard,save_answer)를 정해진 순서로 불러 이력을 쌓아요.apps/cli/src/demo-seed/steps.ts): 경하 PR에서 찾은 변경(notify.answer.two-questionsv2) → 경하app.screen.inbox-firstv2 → 정민 v3(신지 v2는 대체됨) → 신지 v3에 답함 → 정민 v1로 되돌림(v4).app.notify.title-length는 시연 S2에서 라이브로 바꾸니 건드리지 않아요.--apply와 연결된 DB 주소를 적는--confirm-host가 함께 있어야 해요. 시드 전 상태가 아니면(결정 사항 버전이 다르거나 확인할 변경이 이미 있으면) 하나도 저장하지 않고 멈춰요.apps/cli/README.md에 명령 설명을 더했어요.왜 바꿨나요
어떻게 확인했나요
pnpm check통과. 시드 테스트 6개를 더했어요 (run.test.ts: 저장 순서, 이미 돌렸을 때 멈춤, DB에 결정 사항이 없을 때, 답할 카드가 없을 때, 건수 비교).pnpm sil seed-demo미리 보기만 돌려 순서와 "시드 전 상태" 판정을 확인했어요 (읽기만 했어요).직접 확인하지 못한 부분
--apply를 실제 DB에서 돌려 보지 않았어요. 결정 사항과 답은 지울 수 없어서, 시연용 DB가 생긴 뒤 리허설 DB에서 먼저 돌리고 건수가 기대와 같은지 확인해야 해요 (SIL-101 9-4)..env분리)은 이 PR에 없어요.🤖 Generated with Claude Code