dartlab icon indicating copy to clipboard operation
dartlab copied to clipboard

Pipeline failure: Data Sync, Update KindList

Open github-actions[bot] opened this issue 6 months ago • 2 comments

Pipeline Monitor Report (2026-06-03 22:30 UTC)

워크플로우 상태 링크
Data Sync :x: failure 보기
DART New Stocks Sync :white_check_mark: success 보기
Data Prebuild (DART) :white_check_mark: success 보기
EDGAR Data Sync (Bulk) :white_check_mark: success 보기
KRX Data Sync (Bulk) :white_check_mark: success 보기
KRX Index Data Sync (Bulk) :white_check_mark: success 보기
Update KindList :x: failure 보기

실패 상세

자동 생성 by Pipeline Monitor (2026-06-03 22:30 UTC)

github-actions[bot] avatar Jun 03 '26 22:06 github-actions[bot]

Pipeline Monitor Report (2026-06-04 21:47 UTC)

워크플로우 상태 링크
Data Sync :x: failure 보기
DART New Stocks Sync :white_check_mark: success 보기
Data Prebuild (DART) :x: failure 보기
EDGAR Data Sync (Bulk) :white_check_mark: success 보기
KRX Data Sync (Bulk) :white_check_mark: success 보기
KRX Index Data Sync (Bulk) :white_check_mark: success 보기
Update KindList :x: failure 보기

실패 상세

자동 생성 by Pipeline Monitor (2026-06-04 21:47 UTC)

github-actions[bot] avatar Jun 04 '26 21:06 github-actions[bot]

해결 완료

근본원인: gather 수집 일원화·리팩터로 패키지 모듈이 이동(providers.dart.openapi.client → core.dartClient, core.cross.corporateAggregate → macro.corporate.corporateAggregate)했으나 .github/scripts/ 의 import 가 미갱신. 스크립트는 패키지(src/dartlab) 밖이라 architecture import 테스트·lint 가 스캔하지 않아 조용히 깨졌고, 예약 sync 워크플로 실패(Data Sync·Update KindList)로만 뒤늦게 드러남.

정정 (전수 스캔으로 3건 발견):

  • buildCorpProfile.py(Update KindList) · syncRecent.py(Data Sync): openapi.client → core.dartClient
  • macro_backtest.py: core.cross.corporateAggregate → macro.corporate.corporateAggregate

재발 가드: tests/audit/test_scriptImports.py — .github/scripts 전 .py 의 dartlab import 를 AST 로 수집해 모듈 + 심볼/서브모듈 해소까지 ci-fast 에서 검증. 이 클래스(모듈/심볼 이동 후 스크립트 미갱신)를 예약 sync 실패 전에 선제 차단한다.

견고함 점검 후속: 데이터싱크 파이프라인 4 표면 전수 점검 결과 pipeline 패키지(src/dartlab/pipeline)는 견고(StageReport 격리·changed.txt SSOT·HF 재시도·seed 원자성·dartZip 무결성). 검증 통과한 저위험 개선 2건 추가 — buildPanel ref 부재 fail-fast, prebuild finance 산출 누락 fail-fast.

다음 예약 cron 실행에서 통과 확인 예정. 깨진 것은 import 그 자체였고 런타임 로직은 리팩터가 건드리지 않았다.

eddmpython avatar Jun 05 '26 02:06 eddmpython