프로젝트

일반

사용자정보

Actions

업무 #445

진행중
JL JL

alphea-rpc next dev compose 및 admin devices v15 스키마 호환 수정

업무 #445: alphea-rpc next dev compose 및 admin devices v15 스키마 호환 수정

James Lee이(가) 약 5시간 전에 추가함.

상태:
해결
우선순위:
높음
담당자:
목표버전:
시작일:
2026/05/13
완료일:
진척도:

100%

추정시간:

설명

배경

alphea-rpc:next dev stack 실행 중 GoTrue/RPC 재시작 루프와 Admin Devices 페이지 오류가 확인됐다.

증상

  • GoTrue container: API_EXTERNAL_URL 누락 및 auth schema namespace 문제
  • RPC server: edge node bootstrap 이 v15 이후 제거/변경된 wallet ownership schema와 불일치
  • Admin /admin/devices: owner_wallet_address 컬럼 참조로 SQLSTATE 42703
  • Dev 환경에서 OTEL collector 연결 오류 로그 반복

작업 범위

  • docker compose / .env.example dev 기본값 보강
  • GoTrue API_EXTERNAL_URL, GOTRUE_DB_NAMESPACE, dev JWT 기본값 정리
  • Admin wallet/devices query를 owner_user_id / wallets(user_id, wallet_address) 구조에 맞춤
  • edge node bootstrap을 고정 dev edge user UUID 및 최신 wallets schema에 맞춤
  • Dev 기본 OTEL endpoint를 비워 noop 사용

검증

  • go test ./internal/store ./internal/admin ./internal/engine
  • /monitor, /admin/devices, /admin/api/devices, GoTrue health 확인 예정

연결된 일감 1 (한 건 진행 중 — 모두 미완료)

다음 일감과 관련됨: 이슈 #443: Phase 0.7 Wallet-as-Identity MVP — WalletChallenge/Verify + Reference Clients (sdktest wallet-login + Web Console 4섹션)진행Henry Park2026/05/13

Actions

JL James Lee이(가) 6달 전에 변경 · Edited Actions #1

  • 상태을(를) 신규에서 해결(으)로 변경되었습니다.
  • 진척도을(를) 0에서 100(으)로 변경되었습니다.

구현 완료

commit:server2|be03366

변경 내용

  • Dev compose 기본값을 보강해 GoTrue/RPC stack 이 .env 최소 설정으로 기동되도록 조정했습니다.
  • GoTrue API_EXTERNAL_URL, GOTRUE_DB_NAMESPACE, dev JWT 기본값을 compose에 반영했습니다.
  • Admin /admin/devices 및 관련 API/삭제 경로를 v15 owner_user_id + wallets(user_id, wallet_address) 스키마에 맞췄습니다.
  • edge node bootstrap 이 최신 user_id 기반 schema에서 계정/지갑/노드를 생성하도록 수정했습니다.
  • Dev 기본 OTEL endpoint를 비워 SigNoz collector 미사용 시 noop으로 동작하게 했습니다.

검증

  • go test ./internal/store ./internal/admin ./internal/engine 통과
  • /monitor, /admin/devices, /admin/api/devices, GoTrue health 확인 완료

이번 커밋으로 이슈의 DoD가 충족되어 해결 처리합니다.

JL James Lee이(가) 6달 전에 변경 Actions #2

  • 다음 일감과 관련됨:에 이슈 #443: Phase 0.7 Wallet-as-Identity MVP — WalletChallenge/Verify + Reference Clients (sdktest wallet-login + Web Console 4섹션)이(가) 추가되었습니다.

JL James Lee이(가) 6달 전에 변경 · Edited Actions #3

후속 관측 스택 튜닝

commit:server2|1e12633

변경 내용

  • SigNoz ClickHouse에 thread-pool.xml override를 추가했습니다.
  • docker-compose.override.yml에서 해당 override를 /etc/clickhouse-server/config.d/thread-pool.xml로 read-only mount 하도록 연결했습니다.
  • ClickHouse worker/background pool 크기를 제한해 dev observability stack의 리소스 사용량을 더 예측 가능하게 했습니다.

이 변경은 #445에서 처리한 dev stack 안정화의 후속 보강입니다.

Actions

내보내기 PDF Atom