Skip to content

data: sync 202 missing published traffic cameras - #5

Merged
hoangsvit merged 2 commits into
developfrom
data/sync-published-cameras-20261006
Oct 6, 2026
Merged

hoangsvit merged 2 commits into
developfrom
data/sync-published-cameras-20261006

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Mục tiêu

Đồng bộ các camera Publish:true còn thiếu từ endpoint camera giao thông TP.HCM vào dataset hiện tại.

Kết quả đối chiếu

  • Nguồn SearchQuery: 796 camera published
  • Dataset trước sync: 595 camera
  • Camera thiếu được bổ sung: 202
  • Dataset sau sync: 797 camera
  • Camera nguồn còn thiếu sau sync: 0
  • Duplicate CamId: 0
  • Camera cũ chỉ có trong repo: 1 (TTH 190) — giữ nguyên, không xóa theo yêu cầu "bổ sung camera còn thiếu"

Lý do tổng sau sync là 797 thay vì 796: dataset cũ có 1 camera hiện không còn nằm trong response nguồn mới.

Chuẩn hóa camera mới

  • CamId: theo nguồn
  • CamName: ưu tiên DisplayName thực tế để search/SEO tốt hơn
  • Disctrict: giữ giá trị nguồn, fallback N/A
  • SnapshotUrl: giữ logic tương thích dataset cũ (SnapshotUrl hoặc CamType)
  • ManagementUnit: giữ dữ liệu nguồn nếu có

Quality

  • Bổ sung CI reject duplicate CamId
  • Sitemap động sẽ tự tăng theo dataset mới

Base: develop

@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

@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4ee292d8-60b5-44a8-b89a-7fb3297d2438

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • 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.

@hoangsvit
hoangsvit merged commit 6e974dd into develop Oct 6, 2026
2 checks passed
@hoangsvit
hoangsvit deleted the data/sync-published-cameras-20261006 branch October 6, 2026 03:47
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