Repository navigation
ci: DB 구조를 Prober 로 보내기 - #368
Merged
Merged
Conversation
- backend-migration-check 끝에 2단계: erd.sql 로 구조 읽기 → Strata 에 올리기 → PR 코멘트(하나를 고친다) - continue-on-error — Strata 가 실패해도 마이그레이션 게이트는 그대로 - 포크 PR 은 시크릿이 없어 건너뛴다 - scripts/strata/erd.sql: MySQL 쿼리 하나로 erd.json (언어 무관) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
DB 구조 · studyclub-engineering:backend비교할 기준이 아직 없습니다 — 첫 스냅샷입니다 (테이블 28개). |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- discord/.strata/schema.json: 봇이 만드는 테이블 2개(study_reservation · voice_channel_activity) - tests/test_strata_schema.py: 실제 CREATE TABLE 을 임시 SQLite 에 돌려 PRAGMA 로 대조, 다르면 실패. 같은 모듈로 파일을 다시 뽑는다 - .github/workflows/discord-strata.yaml: 파일을 그대로 올리고 PR 에 beta 대비 코멘트 - AGENT.md: CREATE TABLE 을 고치면 같은 커밋에서 schema.json 도 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DB 구조 · studyclub-engineering:discord비교할 기준이 아직 없습니다 — 첫 스냅샷입니다 (테이블 2개). |
- .strata/concepts.json: 계정 · 스터디 운영 · 모집 · 제안 · 활동 · 알림 · 운영 · 디스코드 봇. CREATED_BY·RECIPIENT_USER_ID·UPDATED_BY_ADMIN_ID → ACCOUNT (docs/erd 근거), 디스코드·구글 ID 는 시스템 밖 (봇 study_reservation.study_id 가 backend STUDY 로 잘못 짐작되던 것을 끊는다) - .strata/flows: 스터디 신청 · 디스코드 출석 체크 · 회원 탈퇴 — 각 스펙의 처리 순서 - strata-knowledge 워크플로 + scripts/strata/collect-knowledge.cjs (strata-engineering 이 비공개라 사본) - AGENT.md: 테이블·처리 순서를 바꾸면 같은 PR 에서 .strata 도 dry-run (2026-10-27): 문서 53 중 47 이 테이블과 이어짐, 경고 2 — docs/erd 의 SESSION·SITE_NOTICE 는 DB 에 없다 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er/map/ - 워크플로를 prober-map.yml 하나로 (changes · schema · knowledge · pr job). pr job 이 PR 열림 · 고침 · 닫힘 · 머지를 Prober 에 올린다 - 시크릿 STRATA_TOKEN → PROBER_TOKEN, API api.prober.im, 프로젝트 id 는 Prober 쪽 - 지도 파일 .strata/ → .prober/map/ - PR 코멘트는 옛 표식(<!-- strata:… -->)도 찾아 같은 코멘트를 고친다 Strata 는 Prober 로 합쳤다 (prober-engineering specs/strata-merge) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…이지 않게) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 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.
Strata 를 Prober 로 합쳐서 이 PR 도 Prober 기준으로 다시 깔았습니다. 워크플로는
prober-map.yml하나, 시크릿은PROBER_TOKEN, 지도 파일은.prober/map/이고, PR 열림·닫힘·머지도 Prober PR 화면에 올라갑니다. 예전 Strata 코멘트는 같은 코멘트를 고쳐 씁니다.마이그레이션 검증(backend-migration-check)이 빈 MySQL 에 Flyway 로 만든 스키마를 그대로 읽어 Prober(ERD 지도)로 보내고, PR 에는 beta 대비 바뀐 테이블·컬럼과 위험한 변경(컬럼 삭제 · default 없는 NOT NULL 등)을 코멘트로 남깁니다.
scripts/prober/erd.sql은 MySQL 쿼리 하나로 구조를 JSON 으로 뽑습니다🤖 Generated with Claude Code