Skip to content

feat(dashboard): add vehicle tracking dashboard SPA — fixes /dashboard/ 404#15

Open
actuatorsos wants to merge 1 commit intomainfrom
feat/dashboard-deploy
Open

feat(dashboard): add vehicle tracking dashboard SPA — fixes /dashboard/ 404#15
actuatorsos wants to merge 1 commit intomainfrom
feat/dashboard-deploy

Conversation

@actuatorsos
Copy link
Copy Markdown
Owner

Summary

  • Adds public/dashboard/index.html — the vehicle tracking dashboard SPA that was created locally but never committed due to git lock conflicts during concurrent agent operations
  • Fixes the production 404 at /dashboard/ (Vercel serves public/dashboard/index.html via the static catch-all route)
  • Dashboard fetches real-time data from /api/vehicles/positions and /api/routes, connects to /api/ws/track WebSocket for live position updates
  • Renders on MapLibre GL with RTL Arabic UI

Acceptance criteria

  • /dashboard/ returns 200 in production
  • Vehicle map loads, fleet stats populate from API
  • WebSocket connects for live updates

Test plan

  • Merge triggers Vercel auto-deploy
  • Visit production /dashboard/ — should show map, not 404
  • Confirm API calls to /api/vehicles/positions and /api/routes succeed
  • Confirm WebSocket connection via status indicator in header

Closes DAM-140

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
syrian-transit-system Ready Ready Preview, Comment Apr 8, 2026 11:51am

@actuatorsos
Copy link
Copy Markdown
Owner Author

🤖 CI/CD Monitor — Heartbeat Check (2026-04-01)

Pipeline Status: ✅ All checks passing on this PR and on main.

Branch Note: This branch is 8 commits behind main (diverged). Please rebase onto main before merging to ensure compatibility with the latest fixes (PostGIS location format, vehicle test mocks, actions/checkout v5 upgrade).

No blockers — just needs a rebase to stay current.

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

This branch is 9 commits behind main. All checks are currently passing, but they ran against stale code.

Action needed: Rebase or merge main into this branch before merging to ensure compatibility with recent changes (PostGIS location format updates, Node.js 24 CI upgrade, test mock fixes).

— CI/CD Monitor Agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

Status: All CI checks are passing

⚠️ Branch is 9 commits behind main. Since the last push to this branch, 9 commits have landed on main (including PostGIS location fixes, test mock updates, and Node.js 24 CI upgrade).

Recommendation: Update this branch from main (rebase or merge) before merging to ensure compatibility with the latest changes, then verify CI passes again.


Automated check by CI/CD Monitor agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🤖 CI/CD Monitor — Branch Hygiene Alert

Status: All checks passing ✅

Warning: This branch is 9 commits behind main and has diverged. Please rebase onto main before merging to avoid conflicts and ensure tests run against the latest code.

ahead_by: 1
behind_by: 9
status: diverged

Automated check by CI/CD Monitor agent — 2026-04-01

@actuatorsos
Copy link
Copy Markdown
Owner Author

🤖 CI/CD Monitor — Branch Hygiene Alert

All PR checks are passing

However, this branch is 9 commits behind main and has diverged. Please rebase against main before merging to ensure compatibility with recent changes (PostGIS location format updates, Node.js 24 CI fix, etc.).

Branch status: 1 ahead, 9 behind main (diverged)

— CI/CD Monitor Agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 9 commits behind main.

All CI checks are currently passing, but this branch has diverged from main. Please rebase onto main before merging to ensure compatibility with recent changes (PostGIS location format fixes, GTFS test updates, Node.js 24 CI update).

git fetch origin
git rebase origin/main
git push --force-with-lease

Pipeline status: ✅ All green

@actuatorsos
Copy link
Copy Markdown
Owner Author

🤖 CI/CD Monitor — Branch Hygiene Alert

This branch is 16 commits behind main. All CI checks are passing ✅, but please rebase or merge main before merging to avoid conflicts.

git fetch origin
git rebase origin/main

Pipeline status: All green.

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔧 CI/CD Monitor — Branch Hygiene Alert

This branch is 16 commits behind main and has diverged. All CI checks are currently passing, but please rebase onto main before merging to ensure no integration conflicts with recent changes (DAM-167 through DAM-171, Node.js 24 CI update, test mock fixes, etc.).

git fetch origin
git rebase origin/main
git push --force-with-lease

Once rebased, CI will re-run and I'll verify all checks still pass.

@actuatorsos
Copy link
Copy Markdown
Owner Author

🤖 CI/CD Monitor — Heartbeat Check (2026-04-02)

All CI checks on this PR are passing

⚠️ Branch hygiene note: This branch is currently 16 commits behind main and has diverged. Please rebase onto main before merging to avoid integration issues.

ahead_by: 1, behind_by: 16, status: diverged

@actuatorsos
Copy link
Copy Markdown
Owner Author

CI/CD Monitor — Branch Hygiene Alert

feat/dashboard-deploy is currently 16 commits behind main (diverged). All CI checks are passing, but please rebase onto main before merging to avoid conflicts and ensure the latest fixes are included.

git fetch origin && git rebase origin/main

🤖 Automated check by CI/CD Monitor

@actuatorsos
Copy link
Copy Markdown
Owner Author

🤖 CI/CD Monitor — Branch Hygiene Alert

All checks are passing ✅, but this branch is 16 commits behind main and has diverged.

Recommended action: Rebase onto main before merging to avoid potential conflicts and ensure the latest changes are included.

git fetch origin
git rebase origin/main
git push --force-with-lease

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔧 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 24 commits behind main (status: diverged).

All CI checks on this PR are passing, but the branch needs to be rebased or merged with main before it can be safely merged. This will ensure no conflicts with the 24 commits that have landed on main since this branch was created.

Recommended action: Rebase onto main or merge main into this branch, then re-run checks.

— CI/CD Monitor Agent (automated)

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 24 commits behind main.

All CI checks are passing, but this branch has diverged significantly. Before merging:

  1. Rebase onto main to pick up the latest 24 commits
  2. Re-run CI after rebase to confirm no conflicts

This avoids potential merge conflicts and ensures the PR integrates cleanly with current main.


Automated check by CI/CD Monitor agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 24 commits behind main.

All checks are currently passing, but this branch has diverged significantly. Please rebase onto main before merging to ensure:

  • Tests run against the latest code
  • No merge conflicts with recent changes (security headers, demo credentials, UI fixes, GTFS updates)
git fetch origin
git rebase origin/main
git push --force-with-lease

Automated CI/CD Monitor check — 2026-04-03 05:43 UTC

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔍 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 24 commits behind main (diverged).

All CI checks are currently passing, but this branch needs to be rebased or merged with main before it can be safely merged to avoid conflicts and ensure compatibility with recent changes.

Recommendation: Rebase onto main and re-run CI before merge.

CI/CD Monitor Agent (automated)

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 24 commits behind main.

  • PR checks are all passing ✅
  • However, the branch has diverged significantly (1 ahead, 24 behind)
  • Recommendation: Rebase or merge main into this branch before merging to avoid conflicts or regressions

This branch has been open since March 31. Please update it from main and re-verify checks before merge.

— CI/CD Monitor Agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔍 CI/CD Monitor — Branch Hygiene Alert

This branch is 24 commits behind main and has diverged. All CI checks are currently passing, but the branch needs to be rebased or merged with main before it can be safely merged.

Recommendation: Rebase onto main to pick up the latest 24 commits and resolve any potential conflicts before merging.

— CI/CD Monitor Agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

Branch: feat/dashboard-deploy
Status: Diverged — 1 commit ahead, 25 commits behind main

All CI checks are currently passing ✅, but this branch is significantly behind main. Recommend rebasing or merging main into this branch before merging to avoid conflicts or regressions.


Automated check by CI/CD Monitor agent

actuatorsos added a commit that referenced this pull request Apr 3, 2026
All 20 workflow runs green. No failures. PR #15 flagged as 25 commits behind main.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
actuatorsos added a commit that referenced this pull request Apr 3, 2026
All 10 recent runs green. PR #15 now 29 behind main (growing drift).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@actuatorsos
Copy link
Copy Markdown
Owner Author

🔍 CI/CD Monitor — Branch Hygiene Alert

Status: All CI checks passing ✅

⚠️ Branch Divergence Warning:
feat/dashboard-deploy is 30 commits behind main. This branch needs a rebase/merge from main before it can be safely merged to avoid conflicts or regressions.

Recommended action: Rebase onto main and re-run checks before merging.


Automated check by CI/CD Monitor agent — 2026-04-04

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔧 CI/CD Monitor — Branch Hygiene Alert (2026-04-04)

This branch is 30 commits behind main and has diverged. All CI checks are currently passing, but a rebase/merge from main is recommended before merging to avoid conflicts or regressions.

Please rebase onto main and re-run checks before requesting merge.

actuatorsos added a commit that referenced this pull request Apr 4, 2026
All 10 recent runs GREEN. main is healthy.
PR #15 (feat/dashboard-deploy): all checks passing, 30 commits behind main — needs rebase.
Branch hygiene: clean (only 2 branches: main + feat/dashboard-deploy).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@actuatorsos
Copy link
Copy Markdown
Owner Author

⚠️ Branch Drift Alert — CI/CD Monitor (Routine 11)

Date: 2026-04-04 ~06:00 UTC

This branch is now 30 commits behind main (up from 25 → 29 → 30 over recent checks). The drift is steadily increasing as main continues to receive commits.

All CI checks are passing and the PR is marked as mergeable, but a rebase onto main is strongly recommended before merging to:

  • Avoid potential merge conflicts
  • Ensure tests run against the latest codebase
  • Reduce risk of integration issues

Please rebase at your earliest convenience or let me know if you'd like assistance.

@actuatorsos
Copy link
Copy Markdown
Owner Author

CI/CD Monitor — Health Check (2026-04-04 ~07:10 UTC)

Pipeline: ALL GREEN — all checks passing on both main and this PR.

Branch Drift Update: This branch is now 33 commits behind main (was 30 at last check). Drift continues to increase. A rebase is required before merge to ensure compatibility with latest main.

Action needed: Please rebase onto main and push to re-trigger checks.

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

Status: All CI checks are passing

Issue: This branch is 34 commits behind main and has diverged. A rebase onto main is recommended before merging to avoid potential conflicts and ensure the latest changes (security scans, API updates, etc.) are incorporated.

ahead_by: 1 | behind_by: 34 | status: diverged

@actuatorsos Please rebase this branch onto main before merge.


Automated check by CI/CD Monitor agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔧 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 46 commits behind main.

All checks are currently passing, but this branch has diverged significantly. Before merging:

  1. Rebase onto main to pick up recent fixes (schema changes, security patches, test fixes)
  2. Re-run checks after rebase to confirm no conflicts

This is a blocking recommendation — merging a branch this far behind could introduce regressions.

— CI/CD Monitor Agent

@actuatorsos actuatorsos force-pushed the feat/dashboard-deploy branch from 0d3c2c6 to 37f3302 Compare April 5, 2026 09:40
@actuatorsos
Copy link
Copy Markdown
Owner Author

🔧 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 13 commits behind main.

This branch was created before several recent feature merges (analytics, security, ETA, docs, GTFS). It should be rebased onto main before merge to avoid integration issues.

Action needed: Rebase this branch onto main and re-run checks.


Automated by CI/CD Monitor agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

CI/CD Heartbeat — 2026-04-06

Main branch: ✅ GREEN — all checks passing on 82535eb

PR #15 checks: ✅ All passing (Lint, Tests & Coverage, Docker Smoke Test, API Contract Validation, Security Scan, Vercel Deploy)

Recent Fix

4 test failures in test_security.py::TestRateLimitHeaders (missing retry-after header on 429 responses) were fixed by commit 82535eb — propagates HTTPException headers in custom exception handler.

⚠️ Branch Hygiene

feat/dashboard-deploy is 20 commits behind main and has diverged. Please rebase onto main before merging to pick up recent fixes (lint formatting, GTFS validator, exception handler).

ahead: 1 | behind: 20 | status: diverged

🤖 Automated CI/CD Monitor heartbeat

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 8 commits behind main.

All PR checks currently pass, but the branch has diverged. Recent changes on main include:

  • fix(vercel): ALLOWED_ORIGINS literal value fix
  • fix(ci): GTFS-RT cache clearing + ruff formatting
  • feat(mobile): Capacitor 6 native wrapper scaffold
  • feat(gtfs-rt): Alert entities, StopTimeUpdates, 15s cache

Recommendation: Rebase onto main before merging to catch any integration conflicts early.


Automated check by CI/CD Monitor agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

⚠️ CI/CD Monitor: This branch is 16 commits behind main and has diverged. Several CI fixes and the TRACCAR_WEBHOOK_SECRET changes have landed on main since this branch was created.

Please rebase onto main before merging to avoid conflicts and ensure all recent fixes are included.

git fetch origin
git rebase origin/main

All checks on this PR are currently passing. Main is also green.

@actuatorsos
Copy link
Copy Markdown
Owner Author

⚠️ Branch Hygiene Alert — CI/CD Monitor

feat/dashboard-deploy is 16 commits behind main and has diverged.

Main has received significant fixes since this branch was created:

  • Security patches (ruff lint fixes, import order)
  • TRACCAR_WEBHOOK_SECRET env var added to CI workflows and docker-compose
  • Production fix: deferred secret check from import to request time

Action needed: Rebase or merge main into this branch to pick up these fixes. The 2 skipped checks (Deploy to Vercel, Production Smoke Tests) may be gated on the branch being up-to-date.

All other PR checks are currently passing.


Automated check by CI/CD Monitor agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

This branch is 16 commits behind main (diverged). All CI checks are passing, but please rebase or merge main into this branch before merging to avoid potential conflicts with recent changes (including TRACCAR_WEBHOOK_SECRET fixes and security patches).

Status: diverged
Ahead: 1 commit
Behind: 16 commits

Once rebased, CI will re-run and this PR should be ready to merge.

— CI/CD Monitor Agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔧 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 16 commits behind main.

Since this PR was opened (Mar 31), 16 commits have landed on main including critical security patches and CI fixes (TRACCAR_WEBHOOK_SECRET, ruff lint fixes, etc.). The branch should be rebased or merged with main before merging to avoid integration issues.

Current PR checks: All passing (on stale base)
Recommended action: Rebase onto main and re-run checks

— CI/CD Monitor Agent

Adds the missing dashboard files so /dashboard/ returns 200 in production
instead of 404. The SPA shows real-time vehicle positions via MapLibre GL,
fetches from /api/vehicles/positions and /api/routes, and connects to the
WebSocket track endpoint for live updates.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert

Status: All CI checks ✅ passing on this PR.

Issue: Branch feat/dashboard-deploy is 2 commits behind main (diverged). Recent fixes on main (async test conversion, health check) are not in this branch.

Recommendation: Rebase onto main before merging to ensure no conflicts and that the latest fixes are included.


Automated by CI/CD Monitor agent (b6d19534)

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Heartbeat 2026-04-10

Pipeline status: All checks passing ✅

Branch hygiene note: This branch is now 3 commits behind main (diverged). Please rebase onto main before merging to avoid conflicts.

ahead_by: 1, behind_by: 3, status: diverged

— CI/CD Monitor Agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔍 CI/CD Monitor — Branch Hygiene Alert (2026-04-13)

Branch: feat/dashboard-deploy is diverged from main — 1 ahead, 4 behind.

  • All CI checks on this PR are passing
  • PR has been open for 13 days (since Mar 31)
  • Needs rebase onto main to incorporate 4 newer commits

Recommendation: Rebase and merge this PR to keep the branch count clean and avoid further divergence.

— CI/CD Monitor (automated)

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔧 CI/CD Monitor — Branch Hygiene Alert (2026-04-13)

Branch feat/dashboard-deploy is 8 commits behind main.

All PR checks are currently passing, but the branch has diverged. Before merging, please rebase or merge main into this branch to avoid integration issues.

Status: diverged
Ahead: 1 commit
Behind: 8 commits

Action needed: Rebase onto main or merge main into the feature branch, then re-run checks.

— CI/CD Monitor Agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert (2026-04-13)

Branch feat/dashboard-deploy is 8 commits behind main (diverged status).

All CI checks are currently passing, but the branch should be rebased on main before merging to avoid integration conflicts.

Recommended action: Rebase onto main and re-run checks before merge.


Automated check by CI/CD Monitor (DAM-411)

@actuatorsos
Copy link
Copy Markdown
Owner Author

CI/CD Monitor — Heartbeat 2026-04-14

Pipeline: All green — main and PR #15 checks passing.

Branch status: feat/dashboard-deploy is still 8 commits behind main (diverged, 1 ahead). Previously flagged at 16 behind — progress made but rebase still needed before merge.

Recommendation: Rebase onto main to pick up latest changes and ensure clean merge.


Automated check by CI/CD Monitor agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔍 CI/CD Monitor — Branch Hygiene Alert (2026-04-14)

Branch feat/dashboard-deploy is 8 commits behind main (diverged).

All CI checks on this PR are passing, but the branch needs a rebase onto main to incorporate recent changes before merge. This will prevent potential integration conflicts.

Action needed: Rebase feat/dashboard-deploy onto main and force-push, then verify CI passes again.


Automated check by CI/CD Monitor agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔍 CI/CD Monitor — Branch Hygiene Alert (2026-04-14)

Status: feat/dashboard-deploy is diverged from main — 1 ahead, 8 behind.

This PR has been open for 14 days and is falling behind main. All CI checks are currently passing, but the branch should be rebased or merged with main to avoid conflicts and ensure compatibility with recent changes.

Recommendation: Rebase onto main and re-run checks before merging.


Automated check by CI/CD Monitor agent

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 Branch Hygiene Alert (CI/CD Monitor — 2026-04-14)

This branch is 14 commits behind main and has diverged. Recent main commits include:

  • 0bbca27 — fix(tests): reset rate limiter between tests (DAM-431)
  • 4f64a3d — fix(lint): reformat cache.py for ruff (DAM-417)
  • d8c4070 — fix(security): in-memory rate limit fallback (DAM-414)
  • 75562e1 — fix(security): X-Forwarded-For spoofing fix (DAM-413)

Recommendation: Rebase or merge main into this branch before merging to avoid conflicts and ensure security patches are included.

PR checks are currently passing on the existing commits.

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔧 CI/CD Monitor — Branch Hygiene Alert

Branch feat/dashboard-deploy is 14 commits behind main.

All CI checks are currently passing, but this branch has diverged significantly from main. A rebase or merge from main is recommended before merging to avoid potential conflicts with recent changes (rate limiter fixes, cache reformatting, security patches).

Action needed: Rebase onto main and re-run checks before merge.

— CI/CD Monitor Agent (automated)

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔧 CI/CD Monitor — Branch Hygiene Alert

Status: All checks passing ✅ but branch is 14 commits behind main.

This branch has diverged from main and needs a rebase or merge to incorporate recent changes, including:

  • Rate limiter security fixes (DAM-413, DAM-414)
  • Rate limiter test reset fix (DAM-431)
  • Lint/formatting fixes (DAM-417)

Recommendation: Rebase onto main before merging to ensure no conflicts with the security and test infrastructure changes.


Automated check by CI/CD Monitor agent — 2026-04-15

@actuatorsos
Copy link
Copy Markdown
Owner Author

🔄 CI/CD Monitor — Branch Hygiene Alert (2026-04-15)

Branch feat/dashboard-deploy is 14 commits behind main.

All PR checks are passing, but the branch has diverged significantly. Please rebase onto main before merging to avoid integration issues.

Recent changes on main include:

  • Rate limiter fixes (DAM-413, DAM-414, DAM-431)
  • Lint/cache fixes (DAM-417)
  • Health check logging (DAM-428)

Action needed: Rebase feat/dashboard-deploy onto main and re-run checks.

— CI/CD Monitor Agent

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