Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apps/
web/ TanStack Start 프론트엔드·SSR Worker
api/ Hono 업무 API Worker (레거시, 기본 비활성)
b-bot/ Slack 봇 Worker
attendance/ 출근부: 카드 태그 기록 Worker·대시보드, 라즈베리파이 리더
attendance/ 비공개 Pi 관측 스냅샷 뷰어·오류 수신/Rocky 읽기 전용 모니터
error-automation/ 오류 웹훅 수신과 자동 수정 작업 시작
packages/
telemetry/ 공통 민감정보 마스킹
Expand Down
113 changes: 45 additions & 68 deletions apps/attendance/README.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion apps/attendance/src/automation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ interface MonitorResult<TSnapshot> {

export type AutomationResult = MonitorResult<ErrorMonitorSnapshot>;
export interface AutomationDashboardResult extends AutomationResult {
servedAt: number;
rocky: MonitorResult<RockyMonitorSnapshot>;
}

Expand Down Expand Up @@ -93,6 +94,6 @@ export async function handleAutomation(env: AutomationEnv): Promise<Response> {
getAutomationResult(env),
getMonitorResult(env, ROCKY_HEALTH_URL, parseRockyMonitorSnapshot, Date.now),
]);
const result: AutomationDashboardResult = { ...ingress, rocky };
const result: AutomationDashboardResult = { ...ingress, rocky, servedAt: Date.now() };
return Response.json(result, { headers: UNKNOWN_HEADERS });
}
Loading
Loading