Skip to content

feat: publish scheduled camera health status - #9

Merged
hoangsvit merged 5 commits into
mainfrom
feat/camera-health-status
Oct 6, 2026
Merged

hoangsvit merged 5 commits into
mainfrom
feat/camera-health-status

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Summary

Adds a scheduled health checker for all traffic cameras without changing the camera proxy.

Flow

  • reads all 797 camera IDs from data-camera.json
  • calls https://camera-proxy.eplus.dev/camera?id=... with Origin: https://eplus.dev
  • checks with concurrency 12 and a 6s timeout
  • requires 2 consecutive failed checks before marking a camera offline
  • publishes camera-status.json to the dedicated public status branch
  • runs every 15 minutes and supports manual dispatch

Validation

Two full runs were completed successfully:

  • first run: 752 online / 0 offline / 45 unknown
  • second run: 776 online / 21 offline / 0 unknown
  • full fleet check completed in about 57–61 seconds

@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f4eeafb4-76b0-4bc4-bdb5-76c08907d819
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@hoangsvit
hoangsvit merged commit 8b79f6f into main Oct 6, 2026
2 checks passed
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