2.4 KiB
2.4 KiB
CI Observer - Latest Context (2026-02-11)
Final Production State
- Production folder on runner:
/webapps/ci-observer-dashboard-prod - Production container:
ci-observer-dashboard-prod - Production port:
8089 -> 8088 - Production branch policy: deploy from
main - Current app is running and data is visible.
Repository
- Repo:
Wolkabout/ci-observer-dashboard - Local path used for development:
/home/nikola/codex-cli/ci-observer-dashboard
Important Commits on main
689a78cmerge: GHA metadata cards + race clock improvementsa719b7ddocs: runbook + architecture + stack overviewd33f96emerge: light mode bulb toggle + light contrast tuning
Major Features Implemented
- Metadata-rich run cards:
- Added event, actor, author, commit short SHA, commit message, date, duration.
- Repo name simplification:
- Card header shows short repo name (
IoT-Platform-Core,argocd) instead ofOrg/repo.
- Race clock UI:
- Large 24h digital time in top-right:
HH:MM:SS.cc - Seconds and centiseconds visually de-emphasized.
- Subtle pulse each second.
- Date shown with clock (
YYYY-MM-DD).
- Light mode + bulb toggle:
- Default: dark mode.
- User toggle: hanging bulb button placed between title and clock.
- Theme saved in browser localStorage.
- Light mode pass/fail contrast tuned (medium level).
- Documentation added to repo:
docs/OPERATIONS_RUNBOOK.mddocs/ARCHITECTURE.mddocs/STACK_OVERVIEW.md
Runtime Config Notes
- App currently requires both
GH_REPOSandGH_WORKFLOWS. - If
GH_WORKFLOWSis empty, polling does not start (UI loads but no runs). - Required
.envkeys:GITHUB_TOKENGH_REPOSGH_WORKFLOWSREFRESH_SECONDSDASHBOARD_TITLE
Current Cleanup Status
- Old test containers and folders were cleaned.
/webappsnow keeps production folder only for CI Observer.
Standard Production Update Command
cd /webapps/ci-observer-dashboard-prod
git checkout main
git pull
docker compose up -d --build
If Data Disappears But UI Loads
- Check
.envfirst (GH_WORKFLOWSis usually the cause). - Then rebuild:
docker compose up -d --build
Next Session Starting Point
- Start from production folder:
/webapps/ci-observer-dashboard-prod - Verify status:
docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}" | grep ci-observer-dashboard-prod
curl -s http://127.0.0.1:8089/api/config