Skip to content

feat(runner): cgroup 전용 자원 측정 적용 - #98

Open
PT3000 wants to merge 3 commits into
developfrom
feature/runner-cgroup-only-metrics
Open

feat(runner): cgroup 전용 자원 측정 적용#98
PT3000 wants to merge 3 commits into
developfrom
feature/runner-cgroup-only-metrics

Conversation

@PT3000

@PT3000 PT3000 commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

변경 사항

  • 모든 Execution Job에 실행별 상위 cgroup을 필수 생성하고 cgroup_parent로 전달
  • Docker Stats 기반 ResourceMonitor와 fallback 제거
  • memory.peak, pids.peak, memory.events, pids.events만 자원 측정 및 제한 판정에 사용
  • 필수 cgroup 파일 누락, 읽기 실패, 파싱 실패를 ERROR / INTERNAL_ERROR로 처리
  • cgroup 생성 및 측정 실패 시에도 Container, Volume, cgroup Cleanup 유지
  • execution_cgroup_enabled 설정 제거, execution_cgroup_root 경로 설정은 유지

검증

  • Runner 단위 테스트 64개 통과
  • Python compileall 통과
  • git diff --check 통과
  • production Runner 경로에 ResourceMonitor, Docker stats, execution_cgroup_enabled 참조 없음

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant