Skip to content

feat(execution): 실행 실패 사유 코드 정의와 로컬 기록 (#101) - #113

Merged
exijn merged 1 commit into
developfrom
feature/101-failure-codes
Nov 10, 2026
Merged

exijn merged 1 commit into
developfrom
feature/101-failure-codes

Conversation

@exijn

@exijn exijn commented Nov 10, 2026

Copy link
Copy Markdown
Member

Part of #101 (Server 보고는 Poppy-Server#134 계약 확정 후 후속)

변경

검증

harness, ruff, ruff format, mypy, pytest(신규 11, fake 전용) 통과. 로봇·네트워크 접근 없음.

🤖 Generated with Claude Code

- FailureCode(SAFETY_REJECTED·APPROVAL_EXPIRED·TELEMETRY_STALE·POSTURE_UNKNOWN·SDK_REJECTED·TIMEOUT·
  NOT_MOVED·EXECUTION_ERROR)와 CodedError/failure_code_of 추가.
- guard·SDK client·backend 의 raise 위치에서 코드 지정, ExecutionResult.failure_code 와
  execution_failed 로그 failure_code 필드로 기록. Server 보고는 Poppy-Server#134 계약 확정 후.

Part of #101

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@exijn exijn added the robot POPPY robot label Nov 10, 2026

@inryeok-bot inryeok-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

변경사항과 관련 코드 경로를 확인했으며, 현재 수정이 필요한 문제는 발견하지 못했습니다.

@exijn
exijn merged commit 4be2983 into develop Nov 10, 2026
1 check passed
@exijn
exijn deleted the feature/101-failure-codes branch November 10, 2026 11:55
exijn added a commit that referenced this pull request Nov 16, 2026
#95 머지 뒤 base 를 develop 으로 바꾸며 생긴 충돌을 푼다.
- unitree_sdk.py import: develop 의 observability import 와 이 브랜치의 SportStateSample import 를 모두 둔다
- 테스트 FakeSportClient: robot(SimulatedRobot)과 fail_codes 를 모두 둔다
- 폐루프 경로의 'Move call blocked too long' 도 develop(#113)과 같이 FailureCode.TIMEOUT 으로 표시한다
pytest 542·ruff·ruff format·mypy·harness 통과.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

robot POPPY robot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant