Actions
업무 #445
진행중
JL
JL
alphea-rpc next dev compose 및 admin devices v15 스키마 호환 수정
업무 #445:
alphea-rpc next dev compose 및 admin devices v15 스키마 호환 수정
설명
배경¶
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.exampledev 기본값 보강 - 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 확인 예정
JL James Lee이(가) 6달 전에 변경 · Edited
- 상태을(를) 신규에서 해결(으)로 변경되었습니다.
- 진척도을(를) 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/삭제 경로를 v15owner_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달 전에 변경 · Edited
후속 관측 스택 튜닝¶
commit:server2|1e12633
변경 내용¶
- SigNoz ClickHouse에
thread-pool.xmloverride를 추가했습니다. -
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