Skip to content

fix(dependabot): 존재하지 않는 루트 npm 대상 제거 - #1106

Closed
seonghobae wants to merge 1 commit into
developfrom
fix/dependabot-frontend-directory-20260720
Closed

fix(dependabot): 존재하지 않는 루트 npm 대상 제거#1106
seonghobae wants to merge 1 commit into
developfrom
fix/dependabot-frontend-directory-20260720

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

문제

current develop SHA 58d19ee90b34c9cf18c163c03f1f8f05bbce2dce의 Dependabot run 29713481048dependency_file_not_found: /package.json not found로 실패했습니다.

저장소의 npm 매니페스트는 frontend/package.jsonfrontend/pnpm-lock.yaml에 있고, .github/dependabot.yml에는 이미 /frontend npm 업데이트 대상이 있습니다. 마지막 npm + directory: / 항목은 유효한 매니페스트가 없는 중복 대상입니다.

수정

  • 존재하지 않는 루트 npm 업데이트 항목을 제거했습니다.
  • 모든 Dependabot ecosystem/directory 쌍이 실제 매니페스트를 가리키며 중복되지 않는지 검증하는 release-governance 회귀 테스트를 추가했습니다.
  • 실패 메시지는 잘못된 ecosystem과 directory 및 기대 매니페스트 패턴을 직접 출력합니다.

검증

수정 전:

  • test_dependabot_update_directories_have_manifestsDependabot npm target / has none of package.json으로 실패함을 확인했습니다.

수정 후:

  • PYTHONPATH=backend python3 -m pytest backend/tests/test_release_governance.py -k dependabot_update_directories_have_manifests -q → 1 passed
  • PYTHONPATH=backend python3 -m pytest backend/tests/test_release_governance.py -q → 34 passed
  • ruff check backend/tests/test_release_governance.py → pass
  • git diff --check → pass
  • CodeGraph 재동기화 및 Dependabot 구성/테스트 계약 재탐색 완료

실패 로그: https://github.com/ContextualWisdomLab/naruon/actions/runs/29713481048

@seonghobae seonghobae moved this from Todo to In Progress in naruon Platform Roadmap Jul 20, 2026
@seonghobae seonghobae moved this from In Progress to Done in naruon Platform Roadmap Jul 20, 2026
@seonghobae

Copy link
Copy Markdown
Contributor Author

중복 PR을 정리합니다. 동일한 기본 브랜치 결함을 먼저 수정한 #1088이 invalid root npm 대상 제거뿐 아니라 7일 공급망 cooldown과 회귀 테스트, exact-head Noema 승인까지 포함합니다. #1088 HEAD ddf94fba9cd22d1d3d70d004f64718884abc9cf1을 별도 worktree에서 CodeGraph로 재색인하고 release-governance 35개 테스트, Ruff, diff 검사를 다시 통과시켰습니다. 이 PR의 브랜치는 복구 가능하도록 보존하고 #1088을 병합 후보로 계속 추적합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant