Repository navigation
Conversation
fix(attendance): 운영 Pi 뷰어를 보존해 모니터 연결 플랫폼 Access와 기존 조회 스냅샷 계약을 유지합니다. 원장 KV 쓰기 없이 수신 요약과 Rocky 헬스를 독립 조회합니다. 폐기된 Worker 쓰기 경로와 미사용 화면·로직을 제거합니다.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
목적
배포 중 발견한 현재 운영
bcsd-attendancePi 읽기 전용 뷰어를 보존하면서 #81 수신 요약·Rocky 헬스를 연결합니다. main의 이전 KV 쓰기 앱으로 운영을 덮어쓰지 않습니다.변경
14123da2-340c-47df-9f5c-3adf034b332c에서 소스맵과 Text HTML을 복원해 유지 가능한src/viewer.ts·src/dashboard.html로 관리합니다. 미확인 과거 Git 브랜치를 정본으로 추정하지 않았습니다.ctx.access.aud검증, GET/HEAD 허용 목록, 5분 스냅샷 신선도, PNG/본문 제한, 보안 헤더, SSE·관측 시각 표시와 기존 조회 화면을 유지합니다. 헤더·쿠키·Basic·기기 토큰을 Access 우회로 사용하지 않습니다./api/automation은 Access 검증 뒤 Pi 스냅샷 조회 전에 고정 service binding을 읽습니다. 스냅샷이 없어도 오류 수신/호스트 관측은 독립적입니다. 브라우저에 서버 Bearer를 전달하지 않습니다.VIEW_STATEnamespaceb519a98db46d4b088baee97a256bf0f0를 보존합니다. 원장 KV는 읽거나 쓰거나 삭제하지 않습니다.keep_vars로 외부 관리 audience를 유지하고 현재 workers.dev=true/preview=false 노출 상태를 변경하지 않습니다.servedAt과 단조 시계로 모니터 신선도를 계산합니다. 마지막 관측과 미확인 상태를 구분하고, 추가 패널로 이름이 잘리지 않도록 기존 카드 페이지의 행 수를 가용 높이로 결정합니다.검증
운영
사용자의 명시적 강제 머지·배포 요청에 따른 #81 운영 완결 보완입니다. 정상 develop/main 승격 후 출근부만 별도 배포하며 현재 Access audience와 기존 secret을 보존합니다. 신규
ERROR_MONITOR_TOKEN은 보호 파일로 주입하고 기존 model/device/Basic 토큰이나 데이터·접근 정책을 변경하지 않습니다. 새 공개 테스트 Worker·임시 인증 우회는 없습니다. 로컬 플랫폼 컨텍스트 fixture를 실제 Cloudflare 사용자 로그인 증거로 주장하지 않습니다.