fix(bridge): approval ENOENT race condition + multi-choice button grouping #task-276 #task-277

This commit is contained in:
2026-03-10 06:32:20 +09:00
parent 373c0f7ddc
commit aab1cfba27
8 changed files with 371 additions and 77 deletions

View File

@@ -0,0 +1,5 @@
# 2026-03-10 Devlog
| # | 시간 | 작업 설명 | 커밋 | 상태 |
|---|------|----------|------|------|
| 001 | 06:12~06:30 | Discord 승인 ENOENT race condition 수정 + 버튼 그룹화 (multi-choice) | `` | 🔧 |

View File

@@ -0,0 +1,14 @@
# Discord 승인 ENOENT 수정 + 버튼 그룹화 (multi-choice)
- **시간**: 2026-03-10 06:12 ~ 06:30
- **Commit**: ``
- **Vikunja**: #276 → 진행중 (E2E 검증 대기)
## 결정 사항
- **ENOENT 근본 원인**: extension.log에서 `[RESPONSE] error: ENOENT` 확인. `processResponseFile()`이 DOM observer response를 renderer가 polling하기 전에 삭제. DOM observer 경로만 response 보존, HTTP handler에서 삭제하도록 변경
- **버튼 그룹화**: `findButtonContainer()` + `collectSiblingButtons()`로 같은 컨테이너의 관련 버튼을 하나의 pending으로 묶음. `buttons` 배열 + `button_index` response로 Discord에서 원하는 버튼만 정확히 클릭
## 미완료
- AG 재시작 + V8 CachedData 삭제 후 E2E 검증 필요
- Run 승인 반복 테스트 (5회 이상)
- Allow Once / Allow This Conversation / Deny 3개 선택지 동시 출현 확인