Compare commits

...

36 Commits

Author SHA1 Message Date
AI-Agent e3247de665 docs: add vin-decoder to pre-launch checklist quick-command snippets
Validate Flux manifests / kustomize-build (pull_request) Failing after 24s
Fix three omissions in the Quick Commands Reference section:
1. Pod-health loop: add vin-decoder to namespace list
2. DNS check loop: add vin subdomain (8th subdomain, not 7)
3. Health smoke-test loop: add vin.leeworks.dev/v1/health

Closes leeworks-agents/api-company#208
2026-06-05 05:02:07 +00:00
AI-Manager 8981122af8 Merge pull request 'docs: update STATUS.md for 2026-06-05 sprint planning cycle (#206)' (#207) from feature/issue-206-status-update-sprint-2026-06-04 into main
Validate Flux manifests / kustomize-build (push) Failing after 17s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 50s
2026-06-05 00:02:33 +00:00
AI-Agent be423719e1 docs: update STATUS.md for 2026-06-05 sprint planning cycle
Validate Flux manifests / kustomize-build (pull_request) Failing after 23s
Closes leeworks-agents/api-company#206

- Last-updated date set to 2026-06-05
- Completed This Cycle section records 2026-06-04 sprint planning outcomes:
  - Issue #204 (smoke-tests) reopened and relabeled blocked
  - ROADMAP cross-reference: all 18 unchecked items grounded (zero gaps)
  - Staleness check: oldest issue #2 is 18 days old (under 30-day threshold)
  - Label audit: no changes required
- Critical path confirmed: operator must create 0xWheatyz/api-company (#47),
  merge upstream Talos PR #14 (#187), and configure DNS (#33, #106, #150)
2026-06-05 00:02:12 +00:00
AI-Manager 1c04b047e8 Merge pull request 'docs: STATUS.md triage cycle #204 — all 29 agent-ready issues reviewed' (#205) from feature/status-update-204 into main
Validate Flux manifests / kustomize-build (push) Failing after 13s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 53s
2026-06-04 20:06:48 +00:00
AI-Agent 57a1f67802 docs: STATUS.md triage cycle #204 — all 29 agent-ready issues reviewed
Validate Flux manifests / kustomize-build (pull_request) Failing after 21s
Closes leeworks-agents/api-company#204 (smoke tests blocked — DNS not configured)

Summary:
- 29 issues triaged; all are blocked on operator actions (Flux wiring, DNS,
  secrets, RapidAPI listings, PayPal) or infrastructure not yet reachable
- kustomize build flux/ PASS — no regressions
- 0 open PRs
- Critical path: operator merge of 0xWheatyz/Talos PR #14 (#187) + create
  0xWheatyz/api-company repo (#47)
2026-06-04 20:06:21 +00:00
AI-Manager e4bf3ee12b Merge pull request 'docs: STATUS.md sprint cycle #200/#201 — Flux wiring infra update and sprint summary' (#202) from feature/status-update-cycle-200-201 into main
Validate Flux manifests / kustomize-build (push) Failing after 18s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 43s
2026-06-04 15:03:03 +00:00
AI-Agent fb68a12b86 docs: STATUS.md sprint cycle #200/#201 — Flux wiring infra update and sprint summary
Validate Flux manifests / kustomize-build (pull_request) Failing after 21s
- Infrastructure: update Flux wiring row — Fork PR #399 MERGED to leeworks-agents/Talos;
  upstream PR #14 open on 0xWheatyz/Talos awaiting operator merge
- Current Blockers #187/#90: add explicit reference to upstream PR #14 as critical gate
- Add Completed This Cycle entry for sprint cycle #200/#201

Closes leeworks-agents/api-company#200
Closes leeworks-agents/api-company#201
2026-06-04 15:02:33 +00:00
AI-Manager 5dd9f4dbc6 Merge pull request 'docs: update STATUS.md for 2026-06-04 sprint planning cycle' (#199) from feature/status-update-198 into main
Validate Flux manifests / kustomize-build (push) Failing after 25s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 52s
2026-06-04 10:04:51 +00:00
AI-Agent 01ec869a35 docs: update STATUS.md for 2026-06-04 sprint planning cycle
Validate Flux manifests / kustomize-build (pull_request) Failing after 23s
- Last-updated date: 2026-06-04
- Completed This Cycle section: 0 new code issues, 0 closed, 0 label changes
- Current Blockers: critical path operator-gated; Talos #187 unblocks #2/#3/#4
- kustomize build flux/ = PASS

Closes leeworks-agents/api-company#198
2026-06-04 10:04:24 +00:00
AI-Manager cfb8acea58 Merge pull request 'docs: update STATUS.md for 2026-06-04 sprint planning cycle (closes #196)' (#197) from feature/status-update-196 into main
Validate Flux manifests / kustomize-build (push) Failing after 14s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 46s
2026-06-04 05:02:04 +00:00
AI-Agent 3a56a9f4f3 docs: update STATUS.md for 2026-06-04 sprint planning cycle (closes #196)
Validate Flux manifests / kustomize-build (pull_request) Failing after 26s
2026-06-04 05:01:45 +00:00
AI-Manager cf33100c4b Merge pull request 'docs: annotate ROADMAP.md with #187/#166/#167 refs, update STATUS.md sprint 2026-06-03 (closes #194, #193)' (#195) from feature/sprint-annotations-193-194 into main
Validate Flux manifests / kustomize-build (push) Failing after 18s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 44s
2026-06-04 00:04:13 +00:00
AI-Agent ca91ebeae9 docs: annotate ROADMAP.md with #187/#166/#167 refs, update STATUS.md for 2026-06-03 sprint (closes #194, closes #193)
Validate Flux manifests / kustomize-build (pull_request) Failing after 26s
- ROADMAP.md Phase 0: add Talos PR implementation reference (issue #187) alongside issue #2
- ROADMAP.md Phase 6: add issue #166 (pre-launch checklist) and #167 (launch announcement)
- STATUS.md: new Completed This Cycle section for sprint planning cycle #193/#194
- STATUS.md Current Blockers: add #80 (gitea-image-automation-token) as item 10
- kustomize build flux/ = PASS

Closes leeworks-agents/api-company#194
Closes leeworks-agents/api-company#193
2026-06-04 00:03:35 +00:00
AI-Manager 8ffcdf53db Merge pull request 'docs: audit ZIP Enrichment and Holidays APIs, update STATUS.md (closes #190, #191)' (#192) from feature/audit-zip-holidays-190-191 into main
Validate Flux manifests / kustomize-build (push) Failing after 8s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 46s
2026-06-03 20:04:37 +00:00
AI-Agent dac39c8fa7 docs: audit ZIP Enrichment and Holidays spec/code, update STATUS.md (closes #190, #191)
Validate Flux manifests / kustomize-build (pull_request) Failing after 25s
- openapi.yaml confirmed present in leeworks-agents/zip-enrichment (57 KB, OpenAPI 3.0.3)
- openapi.yaml confirmed present in leeworks-agents/holidays (13 KB, OpenAPI 3.0.3)
- src/server.js entry points confirmed in both repos
- Route handlers confirmed for all paths in both specs
- X-RapidAPI-Proxy-Secret preHandler middleware confirmed in both repos
- /metrics Prometheus endpoint confirmed in both repos
- STATUS.md ZIP Enrichment Spec/Code updated [~] -> [x]
- STATUS.md Holidays Spec/Code updated [~] -> [x]

Closes leeworks-agents/api-company#190
Closes leeworks-agents/api-company#191
2026-06-03 20:04:00 +00:00
AI-Manager 5fccccb0ed Merge pull request 'docs: update STATUS.md for 2026-06-03 sprint planning cycle (closes #188, #186)' (#189) from feature/sprint-2026-06-03-status-update into main
Validate Flux manifests / kustomize-build (push) Failing after 22s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 46s
2026-06-03 15:07:39 +00:00
AI-Agent d8cc0402a3 docs: update STATUS.md for 2026-06-03 sprint planning cycle
Validate Flux manifests / kustomize-build (pull_request) Failing after 25s
- Set last updated date to 2026-06-03
- Update Air Quality row: Spec [x] and Code [x] (both confirmed present)
- Add sprint cycle summary: #186 audit, #187 Talos PR, #188 STATUS update
- Add #187 to Current Blockers before #90 (same unblock target)
- Update labels: #178 and #174 confirmed blocked

Closes leeworks-agents/api-company#188
Closes leeworks-agents/api-company#186
2026-06-03 15:07:09 +00:00
AI-Manager 1982e74aaf Merge pull request 'docs: mark Phase 4 metrics items as done in ROADMAP.md (closes #184)' (#185) from feature/roadmap-phase4-metrics-done-184 into main
Validate Flux manifests / kustomize-build (push) Failing after 8s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 39s
2026-06-03 10:01:57 +00:00
AI-Agent 64f1d1bd12 docs: mark Phase 4 metrics items as done in ROADMAP.md (closes leeworks-agents/api-company#184)
Validate Flux manifests / kustomize-build (pull_request) Failing after 25s
- Check off issue #27 (Instrument all APIs with api_requests_total,
  api_response_duration_seconds, api_data_freshness_seconds)
- Check off issue #180 (Add Prometheus metrics endpoint to holidays service)

Both tracking issues are closed; ROADMAP.md now reflects their completed status.
2026-06-03 10:01:37 +00:00
AI-Manager daa3866926 Merge pull request 'docs: annotate ROADMAP.md + update STATUS.md for 2026-06-03 sprint (closes #182, #181)' (#183) from feature/roadmap-status-sprint-2026-06-03-182-181 into main
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 45s
Validate Flux manifests / kustomize-build (push) Failing after 17s
2026-06-03 05:05:38 +00:00
AI-Agent 2208c61ff1 docs: annotate ROADMAP.md and STATUS.md for 2026-06-03 sprint (closes leeworks-agents/api-company#182, leeworks-agents/api-company#181)
Validate Flux manifests / kustomize-build (pull_request) Failing after 26s
2026-06-03 05:05:13 +00:00
AI-Manager 99ffdf48c4 Merge pull request 'docs: annotate ROADMAP.md Phase 6 unchecked items + update STATUS.md (#175, #176)' (#177) from feature/roadmap-phase5-6-annotations into main
Validate Flux manifests / kustomize-build (push) Failing after 9s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 46s
2026-06-02 20:03:43 +00:00
AI-Agent 2eadeeb4ee docs: annotate ROADMAP.md Phase 6 unchecked items + update STATUS.md sprint cycle
Validate Flux manifests / kustomize-build (pull_request) Failing after 24s
Closes leeworks-agents/api-company#176
Closes leeworks-agents/api-company#175

ROADMAP.md Phase 6 changes:
- DNS line: add '— issues #33, #106, #150'
- PayPal line: add '— issue #19'
- Paid tiers line: add '— issues #44 (original 3), #151 (VIN Decoder)'

STATUS.md changes:
- Last updated: 2026-06-02 (sprint planning cycle #175/#176)
- New 'Completed This Cycle' section with sprint summary
- Current Blockers date updated to 2026-06-02
- Added blockers #173 (ESO source secrets) and #174 (VIN metrics)

kustomize build flux/ = PASS
2026-06-02 20:03:12 +00:00
AI-Manager a30834db51 Merge pull request 'docs: add issue cross-references to ROADMAP.md + update STATUS.md (closes #171, #170)' (#172) from feature/roadmap-status-crossrefs-171-170 into main
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 43s
Validate Flux manifests / kustomize-build (push) Failing after 30s
2026-06-02 10:03:22 +00:00
AI-Agent b4460ad818 docs: add issue cross-references to ROADMAP.md and update STATUS.md
Validate Flux manifests / kustomize-build (pull_request) Failing after 26s
- Phase 0 unchecked items now link to #2, #3, #4
- Phase 4 unchecked items now link to #7, #8, #27
- Phase 5 unchecked item now links to #30
- STATUS.md Last updated set to 2026-06-02
- STATUS.md new Completed This Cycle entry for 2026-06-02 Sprint Planning Cycle

Closes leeworks-agents/api-company#171
Closes leeworks-agents/api-company#170
kustomize build flux/ = PASS
2026-06-02 10:02:53 +00:00
AI-Manager e228f61c21 Merge pull request 'docs: remove closed issues #120 and #121 from STATUS.md blockers' (#169) from feature/168-status-remove-closed-120-121 into main
Validate Flux manifests / kustomize-build (push) Failing after 17s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 54s
2026-06-02 05:04:03 +00:00
AI-Agent 80f4d5be22 docs: remove closed issues #120 and #121 from STATUS.md blockers (closes leeworks-agents/api-company#168)
Validate Flux manifests / kustomize-build (pull_request) Failing after 26s
2026-06-02 05:03:33 +00:00
AI-Manager ee224fba3d Merge pull request 'docs: update ROADMAP.md + STATUS.md after VIN Decoder #120/#121 confirmed closed (closes #163, #164)' (#165) from feature/163-164-roadmap-status-vin-decoder-complete into main
Validate Flux manifests / kustomize-build (push) Failing after 21s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 37s
2026-06-02 00:03:01 +00:00
AI-Agent 8f26dff2f6 docs: update ROADMAP.md and STATUS.md after VIN Decoder #120/#121 confirmed closed
Validate Flux manifests / kustomize-build (pull_request) Failing after 21s
- ROADMAP.md Phase 2: mark VIN Decoder data layer [x] (issue #120 — closed )
- ROADMAP.md Phase 3: mark VIN Decoder Fastify server [x] (issue #121 — closed )
- STATUS.md Current Blockers: remove #120 and #121 (both confirmed closed)
- STATUS.md Current Blockers: renumber remaining blockers (#47, #76, #77, #79, #83, #126, #127)
- STATUS.md Blockers — VIN Decoder: remove #120 and #121
- STATUS.md: add Sprint Planning Cycle completed section for 2026-06-01
- STATUS.md: add Sprint Summary for 2026-06-01 sprint planning cycle
- STATUS.md: update top actionable agent task to #163
- STATUS.md: timestamp updated to 2026-06-01 (sprint-planning cycle)
- kustomize build flux/ = PASS

Closes leeworks-agents/api-company#163
Closes leeworks-agents/api-company#164
2026-06-02 00:02:30 +00:00
AI-Manager a2f45be7f1 Merge pull request 'docs: mark VIN Decoder Code [x] in STATUS.md' (#162) from feature/status-vin-decoder-code-done into main
Validate Flux manifests / kustomize-build (push) Failing after 20s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 43s
2026-06-01 15:05:17 +00:00
AI-Agent 3c4c3aa1ab docs: mark VIN Decoder Code [x] in STATUS.md (closes leeworks-agents/api-company#157)
Validate Flux manifests / kustomize-build (pull_request) Failing after 25s
leeworks-agents/vin-decoder data layer (#120) and Fastify server (#121)
are confirmed merged. Previous PR #160 closed due to merge conflicts and
ROADMAP.md regressions (incorrectly unchecked completed items).

kustomize build flux/ = PASS
2026-06-01 15:04:52 +00:00
AI-Manager 34d12a696a Merge pull request 'docs: update ROADMAP.md checkboxes and STATUS.md sprint state (closes #156, closes #158)' (#159) from feature/156-158-roadmap-status-update into main
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 38s
Validate Flux manifests / kustomize-build (push) Failing after 24s
2026-06-01 05:05:37 +00:00
AI-Agent 52c0baedf5 docs: update ROADMAP.md checkboxes and STATUS.md sprint state (closes #156, closes #158)
Validate Flux manifests / kustomize-build (pull_request) Failing after 25s
ROADMAP.md (#156):
- Phase 0: mark cluster audit done (issue #36 )
- Phase 4: mark VIN Decoder metrics + Grafana dashboard done (issue #129 )
- Phase 5: mark docs-site skeleton (#28 ), CI pipeline (#29 #38 #85 ),
  and SEO blog posts (#39 #124 ) as complete
- Phase 6: mark legal docs (ToS, Privacy Policy, AUP) done (#40 #89 )

STATUS.md (#158):
- Update last-updated date to 2026-06-01
- Add Current Blockers section (as of 2026-06-01) with dependency-ordered P1 list
- Add Sprint Summary section: issues closed (#145-#154), opened (#150 #151 #156 #157 #158)
- Update VIN Decoder blockers: #129 marked closed, #126 added
- Add new Completed This Cycle entry for 2026-06-01

kustomize build flux/ = PASS
2026-06-01 05:05:07 +00:00
AI-Manager e0c70b861a Merge pull request '[Phase 4] feat: extend monitoring to include VIN Decoder API' (#152) from feature/129-vin-decoder-metrics into main
Validate Flux manifests / kustomize-build (push) Failing after 8s
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 44s
2026-06-01 00:05:51 +00:00
AI-Manager 10323a2874 Merge pull request '[Phase 0] docs: add VIN Decoder namespace steps to operator-runbook.md' (#155) from feature/154-runbook-vin-decoder into main
Build Docs Site / Aggregate OpenAPI Specs (push) Failing after 39s
Validate Flux manifests / kustomize-build (push) Failing after 21s
2026-06-01 00:05:35 +00:00
AI-Engineer 1bbcb8e28a feat: extend monitoring to include VIN Decoder API
Validate Flux manifests / kustomize-build (pull_request) Failing after 17s
- flux/monitoring/prometheusrule-apis.yaml: extend all 5 SLO alert
  rules to include vin-decoder in the job regex filter
- flux/monitoring/grafana-dashboard-apis.yaml: update all PromQL
  expressions to include vin-decoder in the api regex filter;
  update dashboard description
- flux/monitoring/vin-decoder-dashboard.yaml: new dedicated Grafana
  dashboard for VIN Decoder showing request rate by route, 5xx error
  rate, P50/P95/P99 latency by route, and data freshness gauge
- flux/monitoring/kustomization.yaml: add vin-decoder-dashboard.yaml
- flux/vin-decoder/servicemonitor.yaml: Prometheus ServiceMonitor
  for auto-discovery of /metrics on the vin-decoder service
- flux/vin-decoder/kustomization.yaml: add servicemonitor.yaml

Closes leeworks-agents/api-company#129
2026-05-31 20:11:03 +00:00
9 changed files with 364 additions and 48 deletions
+27 -20
View File
@@ -5,10 +5,12 @@ Cross-repo milestones. Per-API phases live in each API repo's ROADMAP.md.
> **As of 2026-05-30, a 4th API (VIN Decoder) has been added. Per-API phases also live in `leeworks-agents/vin-decoder`.** > **As of 2026-05-30, a 4th API (VIN Decoder) has been added. Per-API phases also live in `leeworks-agents/vin-decoder`.**
## Phase 0 — Orientation (one-time) ## Phase 0 — Orientation (one-time)
- [ ] Audit cluster: nodes, namespaces, ingress, Flux state → `docs/cluster-audit.md` - [x] Audit cluster: nodes, namespaces, ingress, Flux state → `docs/cluster-audit.md` (issue #36 — closed ✅)
- [ ] Add Flux GitRepository + Kustomization watching `leeworks-agents/api-company` - [ ] Add Flux GitRepository + Kustomization watching `leeworks-agents/api-company` — issue #2 (Talos PR implementation: issue #187)
- [ ] Deploy `gitea-act-runner` in cluster via Flux HelmRelease (`flux/gitea-runner/`) - [ ] Deploy `gitea-act-runner` in cluster via Flux HelmRelease (`flux/gitea-runner/`) — issue #3
- [ ] Stand up `registry.leeworks.dev` (container registry) — required before any API CI works - [ ] Stand up `registry.leeworks.dev` (container registry) — required before any API CI works — issue #4
- [ ] Validate ESO HelmRelease deployment and ExternalSecret sync for all 4 API namespaces — issue #178
- [ ] Extend full-stack Flux validation checklist to cover VIN Decoder — issue #179 (extends #66)
## Phase 1 — API Contracts ## Phase 1 — API Contracts
Each API repo writes its `openapi.yaml` first and lints it. Spec is the source of truth. Each API repo writes its `openapi.yaml` first and lints it. Spec is the source of truth.
@@ -16,36 +18,41 @@ Each API repo writes its `openapi.yaml` first and lints it. Spec is the source o
## Phase 2 — Data ## Phase 2 — Data
Per-API: pull free public data sources, cache locally (SQLite or in-memory), schedule monthly re-seed. Per-API: pull free public data sources, cache locally (SQLite or in-memory), schedule monthly re-seed.
- VIN Decoder: NHTSA vPIC as data source — SQLite cache seeded on demand (issue #120) - [x] VIN Decoder: NHTSA vPIC as data source — SQLite cache seeded on demand (issue #120 — closed ✅)
## Phase 3 — Servers ## Phase 3 — Servers
Per-API: implement Fastify/FastAPI service matching `openapi.yaml` exactly. RapidAPI proxy-secret middleware on every route. Per-API: implement Fastify/FastAPI service matching `openapi.yaml` exactly. RapidAPI proxy-secret middleware on every route.
- VIN Decoder: Fastify server implementation (issue #121) - [x] VIN Decoder: Fastify server implementation (issue #121 — closed ✅)
## Phase 4 — Monitoring ## Phase 4 — Monitoring
- [ ] Prometheus + Grafana via Flux HelmRelease (`flux/monitoring/`) - [ ] Prometheus + Grafana via Flux HelmRelease (`flux/monitoring/`) — issue #7
- [ ] Gatus public status page at `status.leeworks.dev` - [ ] Gatus public status page at `status.leeworks.dev` — issue #8
- [ ] Instrument every API with `api_requests_total`, `api_response_duration_seconds`, `api_data_freshness_seconds` - [x] Instrument every API with `api_requests_total`, `api_response_duration_seconds`, `api_data_freshness_seconds` (issue #27 — closed ✅)
- [ ] VIN Decoder metrics instrumentation + Grafana dashboard (issue #129) - [x] Add Prometheus metrics endpoint to holidays service (issue #180 — closed ✅)
- [ ] Verify VIN Decoder metrics endpoint and ServiceMonitor scrape config — issue #174
- [x] VIN Decoder metrics instrumentation + Grafana dashboard (issue #129 — closed ✅)
- [x] VIN Decoder Gatus health check (issue #134 — closed ✅) - [x] VIN Decoder Gatus health check (issue #134 — closed ✅)
## Phase 5 — Documentation site ## Phase 5 — Documentation site
- [ ] `docs-site/` Astro + Redoc skeleton - [x] `docs-site/` Astro + Redoc skeleton (issue #28 — closed ✅)
- [ ] Gitea Actions pipeline that copies per-API `openapi.yaml` files at build time - [x] Gitea Actions pipeline that copies per-API `openapi.yaml` files at build time (issues #29 ✅, #38 ✅, #85 ✅)
- [ ] Deploy to `docs.leeworks.dev` via Flux - [ ] Deploy to `docs.leeworks.dev` via Flux — issue #30
- [ ] One SEO blog post per API minimum (see master prompt §Phase 5) - [x] One SEO blog post per API minimum (issues #39 ✅ — ZIP/Holidays/AirQuality, #124 ✅ — VIN Decoder)
- [x] VIN Decoder docs page (issue #123 — closed ✅) - [x] VIN Decoder docs page (issue #123 — closed ✅)
- [x] VIN Decoder SEO blog post (issue #124 — closed ✅) - [x] VIN Decoder SEO blog post (issue #124 — closed ✅)
## Phase 6 — Pre-launch ## Phase 6 — Pre-launch
- [ ] `docs/legal/terms-of-service.md` - [x] `docs/legal/terms-of-service.md` (issue #40 — closed ✅)
- [ ] `docs/legal/privacy-policy.md` - [x] `docs/legal/privacy-policy.md` (issue #40 — closed ✅)
- [ ] `docs/legal/acceptable-use-policy.md` - [x] `docs/legal/acceptable-use-policy.md` (issues #40 ✅, #89 ✅)
- [ ] DNS: `zip.leeworks.dev`, `holidays.leeworks.dev`, `aqi.leeworks.dev`, `docs.`, `status.`, `registry.` - [ ] DNS: `zip.leeworks.dev`, `holidays.leeworks.dev`, `aqi.leeworks.dev`, `docs.`, `status.`, `registry.` — issues #33, #106, #150
- [x] VIN Decoder DNS `vin.leeworks.dev` (issue #130 — closed ✅) - [x] VIN Decoder DNS `vin.leeworks.dev` (issue #130 — closed ✅)
- [x] VIN Decoder RapidAPI listing (issue #131 — closed ✅ as tracker; operator action required) - [x] VIN Decoder RapidAPI listing (issue #131 — closed ✅ as tracker; operator action required)
- [ ] PayPal linked to RapidAPI (manual, on 18th birthday) - [ ] PayPal linked to RapidAPI (manual, on 18th birthday) — issue #19
- [ ] Paid tiers enabled on RapidAPI listings (manual) - [ ] Paid tiers enabled on RapidAPI listings (manual) — issues #44 (original 3), #151 (VIN Decoder)
- [ ] Execute pre-launch checklist before go-live — issue #166
- [ ] Publish launch announcement (HN, Reddit, Twitter, Dev.to) — issue #167
## Revenue target ## Revenue target
+145 -14
View File
@@ -1,20 +1,20 @@
# Company Status # Company Status
_Last updated: 2026-05-31 (sprint planning cycle)_ _Last updated: 2026-06-05_
## APIs ## APIs
| API | Spec | Code | Deployed | Listed on RapidAPI | Paying Users | MRR | | API | Spec | Code | Deployed | Listed on RapidAPI | Paying Users | MRR |
|----------------|------|------|----------|--------------------|--------------|-----| |----------------|------|------|----------|--------------------|--------------|-----|
| ZIP Enrichment | [~] | [~] | [ ] | [ ] | 0 | $0 | | ZIP Enrichment | [x] | [x] | [ ] | [ ] | 0 | $0 |
| Holidays | [~] | [~] | [ ] | [ ] | 0 | $0 | | Holidays | [x] | [x] | [ ] | [ ] | 0 | $0 |
| Air Quality | [ ] | [ ] | [ ] | [ ] | 0 | $0 | | Air Quality | [x] | [x] | [ ] | [ ] | 0 | $0 |
| VIN Decoder | [x] | [ ] | [ ] | [ ] | 0 | $0 | | VIN Decoder | [x] | [x] | [ ] | [ ] | 0 | $0 |
Legend: [x]=done, [~]=in-progress, [ ]=not started Legend: [x]=done, [~]=in-progress, [ ]=not started
## Infrastructure ## Infrastructure
- Cluster nodes: 3 control plane (10.0.1.3, .4, .5) + workers (testing1) - Cluster nodes: 3 control plane (10.0.1.3, .4, .5) + workers (testing1)
- **Flux wiring (api-company):** Manifests staged at `flux/api-company-source/`PENDING Talos merge (issue #2) - **Flux wiring (api-company):** `flux/api-company-source/`Fork PR #399 **MERGED** to leeworks-agents/Talos; upstream PR #14 open on 0xWheatyz/Talos — awaiting operator merge to activate Flux (issue #2)
- **Gitea Actions runner:** Flux manifest committed at `flux/gitea-runner/` — PENDING runner token secret + Talos wiring (issue #3) - **Gitea Actions runner:** Flux manifest committed at `flux/gitea-runner/` — PENDING runner token secret + Talos wiring (issue #3)
- **Container registry:** Gitea built-in registry selected; docs/registry.md committed — PENDING Gitea packages enabled (issue #4) - **Container registry:** Gitea built-in registry selected; docs/registry.md committed — PENDING Gitea packages enabled (issue #4)
- **Prometheus + Grafana:** Flux HelmRelease at `flux/monitoring/` — PENDING Flux wiring + Grafana secret (issue #7) - **Prometheus + Grafana:** Flux HelmRelease at `flux/monitoring/` — PENDING Flux wiring + Grafana secret (issue #7)
@@ -23,7 +23,137 @@ Legend: [x]=done, [~]=in-progress, [ ]=not started
- **Image automation:** `flux/image-automation/` — ImageRepository + ImagePolicy + ImageUpdateAutomation for all three APIs - **Image automation:** `flux/image-automation/` — ImageRepository + ImagePolicy + ImageUpdateAutomation for all three APIs
- **VIN Decoder manifests:** `flux/vin-decoder/` — Flux HelmRelease + Kustomization committed (issue #140) - **VIN Decoder manifests:** `flux/vin-decoder/` — Flux HelmRelease + Kustomization committed (issue #140)
## Completed This Cycle (2026-05-31 — Sprint Cycle) ## Completed This Cycle (2026-06-05 — Sprint Planning Cycle #206)
- **#206** — STATUS.md updated for 2026-06-05 sprint planning cycle (this entry). Last-updated date set to 2026-06-05.
- **Completed outcomes from 2026-06-04 sprint planning cycle recorded:**
- Issue #204 (smoke-tests): reopened and relabeled `blocked` — was prematurely closed while prerequisites (DNS #33/#150, Flux #2/#187) are still open.
- ROADMAP cross-reference: all 18 unchecked items confirmed grounded in open issues (zero gaps).
- Staleness check: oldest open issue is #2 from 2026-05-18 (18 days, under 30-day threshold — no closures).
- Label audit: no label changes required — all existing priority/complexity labels are correct.
- **Critical path confirmed:** Operator must (1) create `0xWheatyz/api-company` (#47), (2) merge upstream Talos PR #14 (#187) to activate Flux, (3) configure DNS (#33, #106, #150).
- **`kustomize build flux/` = PASS** — no regressions.
- **0 open PRs** — nothing to review or merge.
## Completed Previous Cycle (2026-06-04 — Triage Cycle #204)
- **Triage** — All 29 open `agent-ready` issues reviewed and commented with current status (2026-06-04).
- **#204** (smoke tests): ❌ BLOCKED — all HTTP endpoints timeout; DNS not configured; kubectl unreachable.
- **#203** (ClusterIssuer): ❌ BLOCKED — kubectl not accessible from agent environment.
- **#187, #90, #2** (Flux wiring): Waiting on operator to merge upstream Talos PR #14.
- **#179, #178, #66** (validation checklists): Blocked on Flux active + cluster access.
- **#174** (VIN metrics): `kustomize build flux/` PASS; blocked on cluster deploy.
- **#173, #81, #128, #126, #127, #83, #80, #79, #77, #76, #74, #73, #70** (secrets): Manual operator tasks, all documented.
- **#167, #166** (launch/pre-launch): Blocked on DNS + Flux + RapidAPI + PayPal.
- **#161, #151, #150, #139, #116, #106, #47, #44, #33, #30, #19, #8, #7, #4, #3**: Manual operator tasks or blocked on operator actions.
- **`kustomize build flux/` = PASS** — no regressions.
- **0 PRs open** — nothing to review or merge.
- **Critical path unchanged:** Operator must (1) create `0xWheatyz/api-company` (#47), (2) merge upstream Talos PR #14 (#187) to activate Flux.
## Completed Previous Cycle (2026-06-04 — Sprint Planning Cycle #200/#201)
- **#200** — STATUS.md Infrastructure section updated: Flux wiring row for `flux/api-company-source/` updated to reflect Fork PR #399 **MERGED** to leeworks-agents/Talos; upstream PR #14 open on 0xWheatyz/Talos awaiting operator merge. Current Blockers updated to note upstream PR #14 as critical gate.
- **#201** — Sprint planning STATUS.md update for 2026-06-04 cycle. Issues #200 and #201 created this cycle. ROADMAP cross-reference: all 18 unchecked items confirmed grounded in open issues (no gaps). Staleness check: oldest open issue is #2 from 2026-05-18 (17 days, not stale — threshold 30 days). Priority review: all labels confirmed appropriate. Critical path: operator-gated on 0xWheatyz/Talos PR #14 merge.
- **`kustomize build flux/` = PASS** — no regressions confirmed.
## Completed Previous Cycle (2026-06-04 — Sprint Planning Cycle #198)
- **#198** — STATUS.md updated for 2026-06-04 sprint planning cycle. Last updated date set to 2026-06-04.
- **Sprint Summary:** 0 new code issues created (all ROADMAP items grounded — all 18 unchecked items have corresponding open issues). 0 issues closed (no stale; oldest is #2 at 17 days). 0 label changes. Critical path is entirely operator-gated: Talos merge of #187 unblocks the #2/#3/#4 chain.
- **`kustomize build flux/` = PASS** — no regressions confirmed.
## Completed Previous Cycle (2026-06-04 — Sprint Planning Cycle #196)
- **#196** — STATUS.md updated for 2026-06-04 sprint planning cycle. Last updated date set to 2026-06-04.
- **Sprint Summary:** ROADMAP cross-reference complete — all 18 unchecked items have corresponding open issues (no gaps). 1 new issue created: #196 (this STATUS.md update). 0 issues closed (no stale issues; oldest open issue is #2 from 2026-05-18, only 17 days old). 0 label changes (all priority/complexity labels correct). Critical path remains entirely operator-gated.
- **`kustomize build flux/` = PASS** — no regressions confirmed.
## Completed Previous Cycle (2026-06-03 — Sprint Planning Cycle #193/#194)
- **#194** — ROADMAP.md annotated with missing issue cross-references: Phase 0 issue #2 entry updated to reference implementation issue #187; Phase 6 entries added for issue #166 (pre-launch checklist) and #167 (launch announcement). Closes leeworks-agents/api-company#194.
- **#193** — STATUS.md updated for 2026-06-03 sprint planning cycle. Current Blockers confirmed accurate; #80 (gitea-image-automation-token) listed. Closes leeworks-agents/api-company#193.
- **Sprint Summary:** 2 new documentation issues created (#193 STATUS.md update, #194 ROADMAP annotation). 0 issues closed. 0 stale. Critical path entirely operator-gated.
- **`kustomize build flux/` = PASS** — no regressions confirmed.
## Completed Previous Cycle (2026-06-03 — Audit Cycle #190/#191)
- **#190** — ZIP Enrichment API audit complete: `openapi.yaml` present at repo root (57 KB, OpenAPI 3.0.3); server entry point `src/server.js`; all routes confirmed implemented; `X-RapidAPI-Proxy-Secret` preHandler middleware on all routes except `/health`; `/metrics` Prometheus endpoint present; STATUS.md ZIP Enrichment Spec and Code rows updated to `[x]`. Closes leeworks-agents/api-company#190.
- **#191** — Holidays API audit complete: `openapi.yaml` present at repo root (13 KB, OpenAPI 3.0.3); server entry point `src/server.js`; all routes confirmed implemented; `X-RapidAPI-Proxy-Secret` preHandler middleware on all routes except `/health` and `/metrics`; `/metrics` Prometheus endpoint present (issue #180 confirmed done); STATUS.md Holidays Spec and Code rows updated to `[x]`. Closes leeworks-agents/api-company#191.
- **`kustomize build flux/` = PASS** — no regressions confirmed.
## Completed Previous Cycle (2026-06-03 — Sprint Planning Cycle)
- **#188** — STATUS.md updated for 2026-06-03 sprint planning cycle (this entry). Last updated date set to 2026-06-03.
- **#187** — Talos PR for api-company Flux source manifests: PR #399 on `leeworks-agents/Talos` confirmed valid; upstream deploy PR created targeting `0xWheatyz/Talos`.
- **#186** — Air Quality API audit complete: `openapi.yaml` ✅ exists at repo root in `leeworks-agents/air-quality`; server implementation ✅ present (`src/server.ts`, `src/app.ts`, `src/routes/`); STATUS.md Air Quality row updated to `[x]/[x]`.
- **#178** relabeled — added `blocked` label (depends on #173 + Flux active).
- **#174** relabeled — added `blocked` label (depends on #18 deploy + #7 monitoring).
- **Current Blockers updated:** #187 added before #90 (same unblock target, more actionable).
- **`kustomize build flux/` = PASS** — no regressions confirmed.
## Completed Previous Cycle (2026-06-02 — Sprint Planning Cycle #175/#176)
- **#176** — ROADMAP.md Phase 6 unchecked items annotated with issue cross-references: DNS — issues #33, #106, #150; PayPal — issue #19; Paid tiers — issues #44 (original 3), #151 (VIN Decoder). No checked items changed.
- **#175** — STATUS.md updated with 2026-06-02 sprint planning cycle results (this entry). Last updated date set to 2026-06-02.
- **Sprint Summary:** 2 new documentation issues created (#175 STATUS.md update, #176 ROADMAP Phase 5/6 annotation). 0 code issues created (all ROADMAP items already covered by existing issues). 0 issues closed (none stale). 0 reprioritizations.
- **Current Blockers updated:** #173 (ESO source secrets in `external-secrets` ns) and #174 (VIN Decoder metrics instrumentation) added.
- **`kustomize build flux/` = PASS** — no regressions confirmed.
## Completed Previous Cycle (2026-06-02 — Sprint Planning Cycle)
- **#171** — ROADMAP.md Phase 0 unchecked items annotated with issue #2, #3, #4; Phase 4 unchecked items annotated with issue #7, #8, #27; Phase 5 unchecked item annotated with issue #30. No checked-off items changed.
- **#170** — STATUS.md updated with 2026-06-02 sprint planning cycle results (this entry). Last updated date set to 2026-06-02.
- **Sprint Summary:** 2 new issues created (#171, #170), 0 issues closed this cycle, 0 stale found.
- **`kustomize build flux/` = PASS** — no regressions confirmed.
## Completed Previous Cycle (2026-06-02 — Triage Cycle #168)
- **#168** — STATUS.md cleanup: removed all stale “open, in progress” references to #120 and #121 (both confirmed closed ✅ in leeworks-agents/vin-decoder). Historical sections corrected. VIN Decoder Code column confirmed `[x]`.
- **`kustomize build flux/` = PASS** — no regressions.
## Completed Previous Cycle (2026-06-01 — Sprint Planning Cycle)
- **#163** — ROADMAP.md Phase 2 and Phase 3 VIN Decoder bullets marked `[x]` with closed ✅ references for issues #120 and #121.
- **#164** — STATUS.md Current Blockers updated: removed #120 and #121 (both confirmed closed ✅). Top actionable agent task updated to #163.
- **`kustomize build flux/` = PASS** — no regressions.
## Completed Previous Cycle (2026-06-01 — Triage Cycle)
- **#158** — STATUS.md updated with 2026-06-01 current blockers and sprint summary.
- **#156** — ROADMAP.md checkboxes updated: Phase 4 VIN Decoder metrics, Phase 5 docs-site/pipeline/blog, Phase 6 legal docs all checked off.
- **VIN Decoder Code `[x]`** — leeworks-agents/vin-decoder data layer (#120) and Fastify server (#121) confirmed merged; STATUS.md Code column updated.
- **PR #160 closed** — had merge conflicts and ROADMAP.md regressions (unchecked completed items). Clean fix applied here.
- **`kustomize build flux/` = PASS** — no regressions.
## Current Blockers (as of 2026-06-04)
In dependency order — operator tasks unless noted:
1. **P1 #47** — Create `0xWheatyz/api-company` upstream repo (operator) — **highest priority, unblocks everything**
2. **P1 #76** — Create `gitea-leeworks-agents-token` secret in `flux-system` (operator)
3. **P1 #77** — Create `gitea-runner-token` secret in `gitea-runner` namespace (operator)
4. **P1 #79** — Create `gitea-registry` imagePullSecrets in all API namespaces (operator)
5. **P1 #83** — Configure `GITEA_TOKEN` Actions secret in zip-enrichment, holidays, air-quality repos (operator)
6. **P1 #126** — Configure `GITEA_TOKEN` Actions secret in vin-decoder repo (operator — depends on #122 ✅)
7. **P1 #127** — Create `gitea-registry` imagePullSecret in `vin-decoder` namespace (operator)
8. **P1 #187** — Merge upstream PR #14 on 0xWheatyz/Talos to activate Flux for api-company (operator) — Fork PR #399 already MERGED to leeworks-agents/Talos; upstream PR #14 is the critical gate; unblocks #2, #3, #4, #66 chain
9. **P1 #90** — Wire Flux GitRepository + Kustomization for api-company in `0xWheatyz/Talos` (superseded by #187; upstream PR #14 pending operator merge)
10. **P2 #80** — Create `gitea-image-automation-token` secret in `flux-system` namespace (operator) — enables Flux image automation
11. **P2 #173** — Create ESO source secrets in `external-secrets` namespace for RapidAPI proxy-secret syncing (operator) — blocks ESO sync
12. **P2 #174** — VIN Decoder metrics instrumentation in `leeworks-agents/vin-decoder` repo (agent task, depends on #18 deploy)
13. **P2 #178** — Validate ESO HelmRelease deployment and ExternalSecret sync for all 4 API namespaces (depends on #173 + Flux active)
14. **P2 #179** — Execute extended full-stack Flux validation checklist including VIN Decoder (depends on #126, #127, #128)
## Sprint Summary (2026-06-01 — Sprint Planning Cycle)
- **Issues closed this cycle:** 0
- **New issues created this cycle:** 1 (#163 — ROADMAP/STATUS cleanup after #120/#121)
- **Stale issues found:** 0
- **Top actionable agent task:** #163 (pure doc update, immediately actionable)
- **Critical path:** Entirely operator-gated after #163 is merged (see Current Blockers)
## Sprint Summary (2026-06-01)
- **Issues closed since last STATUS update (#146):** #145#154 — VIN Decoder sprint docs + infra (✅ all closed)
- **Issues opened this sprint:** #150 (vin DNS reminder), #151 (VIN Decoder RapidAPI tiers), #155 (if applicable), #156 (ROADMAP.md update), #157 (full-stack validation), #158 (STATUS.md update), #163 (ROADMAP/STATUS cleanup post-#120/#121), #164 (STATUS.md sprint planning update)
- **Top actionable agent task:** #163 (ROADMAP/STATUS doc cleanup for #120/#121 — pure doc update, immediately actionable)
## Completed Previous Cycle (2026-05-31 — Sprint Cycle)
- **#146** — STATUS.md updated to reflect VIN Decoder sprint wave (#117#141): APIs table row added, completed wave documented, blockers updated. - **#146** — STATUS.md updated to reflect VIN Decoder sprint wave (#117#141): APIs table row added, completed wave documented, blockers updated.
- **#145** — ROADMAP.md updated to reference VIN Decoder as 4th API across all phases (Phase 16). `kustomize build flux/` = PASS. - **#145** — ROADMAP.md updated to reference VIN Decoder as 4th API across all phases (Phase 16). `kustomize build flux/` = PASS.
- **PR #147 opened** — docs: update ROADMAP.md and STATUS.md for VIN Decoder sprint wave (closes #145, #146). - **PR #147 opened** — docs: update ROADMAP.md and STATUS.md for VIN Decoder sprint wave (closes #145, #146).
@@ -31,8 +161,8 @@ Legend: [x]=done, [~]=in-progress, [ ]=not started
## Completed Previous Cycle (2026-05-30 — VIN Decoder Sprint Wave) ## Completed Previous Cycle (2026-05-30 — VIN Decoder Sprint Wave)
### VIN Decoder issues #117#141 — status as of 2026-05-31: ### VIN Decoder issues #117#141 — status as of 2026-05-31:
- **#117** — VIN Decoder spec + feasibility — **closed ✅** (`apis/vin-decoder/openapi.yaml` merged) - **#117** — VIN Decoder spec + feasibility — **closed ✅** (`apis/vin-decoder/openapi.yaml` merged)
- **#120** — VIN Decoder data layer (SQLite/NHTSA vPIC) — **open, in progress** (P1 blocker) - **#120** — VIN Decoder data layer (SQLite/NHTSA vPIC) — **closed ✅** (leeworks-agents/vin-decoder)
- **#121** — VIN Decoder Fastify server — **open, in progress** (P1 blocker, depends on #120) - **#121** — VIN Decoder Fastify server — **closed ✅** (leeworks-agents/vin-decoder)
- **#122** — Create `leeworks-agents/vin-decoder` repo — **closed ✅** - **#122** — Create `leeworks-agents/vin-decoder` repo — **closed ✅**
- **#123** — VIN Decoder docs page — **closed ✅** - **#123** — VIN Decoder docs page — **closed ✅**
- **#124** — VIN Decoder SEO blog post — **closed ✅** - **#124** — VIN Decoder SEO blog post — **closed ✅**
@@ -48,6 +178,8 @@ Legend: [x]=done, [~]=in-progress, [ ]=not started
- **#141** — Pricing page updated for VIN Decoder — **closed ✅** (PR #144 merged) - **#141** — Pricing page updated for VIN Decoder — **closed ✅** (PR #144 merged)
## Critical Path (operator must complete in order) ## Critical Path (operator must complete in order)
See **Current Blockers** section above for the full ordered list as of 2026-06-01.
1. **Create `0xWheatyz/api-company` repo** (#47) — **highest priority, unblocks everything** 1. **Create `0xWheatyz/api-company` repo** (#47) — **highest priority, unblocks everything**
2. **Add api-company Flux source to Talos** (#90) — needs Talos PR, reference manifests at `flux/api-company-source/` 2. **Add api-company Flux source to Talos** (#90) — needs Talos PR, reference manifests at `flux/api-company-source/`
3. **Create `gitea-leeworks-agents-token` secret** in `flux-system` (#76) 3. **Create `gitea-leeworks-agents-token` secret** in `flux-system` (#76)
@@ -56,16 +188,15 @@ Legend: [x]=done, [~]=in-progress, [ ]=not started
6. **All other secrets** (#70, #73, #74, #79, #80, #81, #83) follow in order 6. **All other secrets** (#70, #73, #74, #79, #80, #81, #83) follow in order
## Blockers — VIN Decoder critical path ## Blockers — VIN Decoder critical path
- **P1: #120** — VIN Decoder data layer (NHTSA vPIC SQLite cache) — agent work pending
- **P1: #121** — VIN Decoder Fastify server — agent work pending, depends on #120
- **P1: #127** — Create `gitea-registry` imagePullSecret in `vin-decoder` namespace — operator manual task - **P1: #127** — Create `gitea-registry` imagePullSecret in `vin-decoder` namespace — operator manual task
- **P2: #126** — Configure `GITEA_TOKEN` secret in `vin-decoder` repo — operator manual task
- **P2: #128** — Create `rapidapi-proxy-secret` in `vin-decoder` namespace — operator manual task - **P2: #128** — Create `rapidapi-proxy-secret` in `vin-decoder` namespace — operator manual task
- **P2: #129** — VIN Decoder Prometheus metrics instrumentation — agent work pending, depends on #121 - ~~**P2: #129** — VIN Decoder Prometheus metrics instrumentation~~**closed ✅** (PR merged)
- **P3: #139** — Add RAPIDAPI_VIN_* Actions secrets — operator task, depends on RapidAPI listing (#131) - **P3: #139** — Add RAPIDAPI_VIN_* Actions secrets — operator task, depends on RapidAPI listing (#131)
## New Issues This Sprint (2026-05-30, #120#146) ## New Issues This Sprint (2026-05-30, #120#146)
- **#120** — VIN Decoder data layer — **open, P1** - **#120** — VIN Decoder data layer — **closed ✅** (leeworks-agents/vin-decoder)
- **#121** — VIN Decoder Fastify server — **open, P1** - **#121** — VIN Decoder Fastify server — **closed ✅** (leeworks-agents/vin-decoder)
- **#126** — Operator: GITEA_TOKEN secret in vin-decoder repo — manual operator task - **#126** — Operator: GITEA_TOKEN secret in vin-decoder repo — manual operator task
- **#127** — Operator: gitea-registry imagePullSecret in vin-decoder namespace — manual operator task, P1 blocker - **#127** — Operator: gitea-registry imagePullSecret in vin-decoder namespace — manual operator task, P1 blocker
- **#128** — Operator: rapidapi-proxy-secret in vin-decoder namespace — manual operator task - **#128** — Operator: rapidapi-proxy-secret in vin-decoder namespace — manual operator task
+4 -4
View File
@@ -77,7 +77,7 @@ Use this checklist as the final go-live gate — run through every item the day
flux get all flux get all
# Check API pod health # Check API pod health
for ns in zip-enrichment holidays air-quality docs-site; do for ns in zip-enrichment holidays air-quality vin-decoder docs-site; do
echo "=== $ns ===" echo "=== $ns ==="
kubectl get pods -n $ns kubectl get pods -n $ns
done done
@@ -85,13 +85,13 @@ done
# Verify TLS certs # Verify TLS certs
kubectl get certificates -A kubectl get certificates -A
# Check all 7 DNS subdomains # Check all 8 DNS subdomains
for sub in zip holidays aqi docs status registry grafana; do for sub in zip holidays aqi vin docs status registry grafana; do
echo "$sub.leeworks.dev -> $(dig $sub.leeworks.dev +short)" echo "$sub.leeworks.dev -> $(dig $sub.leeworks.dev +short)"
done done
# Smoke test health endpoints # Smoke test health endpoints
for svc in "zip.leeworks.dev/health" "holidays.leeworks.dev/health" "aqi.leeworks.dev/health"; do for svc in "zip.leeworks.dev/health" "holidays.leeworks.dev/health" "aqi.leeworks.dev/health" "vin.leeworks.dev/v1/health"; do
echo "$svc: $(curl -s -o /dev/null -w '%{http_code}' https://$svc)" echo "$svc: $(curl -s -o /dev/null -w '%{http_code}' https://$svc)"
done done
+1 -1
View File
@@ -9,7 +9,7 @@ data:
api-dashboard.json: | api-dashboard.json: |
{ {
"annotations": { "list": [] }, "annotations": { "list": [] },
"description": "Request rate, latency, error rate, and data freshness for zip-enrichment, holidays, and air-quality APIs", "description": "Request rate, latency, error rate, and data freshness for zip-enrichment, holidays, air-quality, and vin-decoder APIs",
"editable": true, "editable": true,
"graphTooltip": 1, "graphTooltip": 1,
"panels": [ "panels": [
+1
View File
@@ -8,3 +8,4 @@ resources:
- gatus-helmrelease.yaml - gatus-helmrelease.yaml
- grafana-dashboard-apis.yaml - grafana-dashboard-apis.yaml
- prometheusrule-apis.yaml - prometheusrule-apis.yaml
- vin-decoder-dashboard.yaml
+9 -9
View File
@@ -18,9 +18,9 @@ spec:
- alert: APIHighErrorRate - alert: APIHighErrorRate
expr: | expr: |
( (
sum by (job) (rate(api_requests_total{status=~"5..", job=~"zip|holidays|air-quality"}[5m])) sum by (job) (rate(api_requests_total{status=~"5..", job=~"zip|holidays|air-quality|vin-decoder"}[5m]))
/ /
sum by (job) (rate(api_requests_total{job=~"zip|holidays|air-quality"}[5m])) sum by (job) (rate(api_requests_total{job=~"zip|holidays|air-quality|vin-decoder"}[5m]))
) > 0.05 ) > 0.05
for: 5m for: 5m
labels: labels:
@@ -36,9 +36,9 @@ spec:
- alert: APIHighErrorRate - alert: APIHighErrorRate
expr: | expr: |
( (
sum by (job) (rate(api_requests_total{status=~"5..", job=~"zip|holidays|air-quality"}[5m])) sum by (job) (rate(api_requests_total{status=~"5..", job=~"zip|holidays|air-quality|vin-decoder"}[5m]))
/ /
sum by (job) (rate(api_requests_total{job=~"zip|holidays|air-quality"}[5m])) sum by (job) (rate(api_requests_total{job=~"zip|holidays|air-quality|vin-decoder"}[5m]))
) > 0.20 ) > 0.20
for: 5m for: 5m
labels: labels:
@@ -55,7 +55,7 @@ spec:
expr: | expr: |
histogram_quantile( histogram_quantile(
0.95, 0.95,
sum by (job, le) (rate(api_response_duration_seconds_bucket{job=~"zip|holidays|air-quality"}[5m])) sum by (job, le) (rate(api_response_duration_seconds_bucket{job=~"zip|holidays|air-quality|vin-decoder"}[5m]))
) > 2 ) > 2
for: 5m for: 5m
labels: labels:
@@ -70,7 +70,7 @@ spec:
# ------------------------------------------------------------------- # -------------------------------------------------------------------
- alert: APIDataStale - alert: APIDataStale
expr: | expr: |
api_data_freshness_seconds{job=~"zip|holidays|air-quality"} > 2592000 api_data_freshness_seconds{job=~"zip|holidays|air-quality|vin-decoder"} > 2592000
for: 30m for: 30m
labels: labels:
severity: warning severity: warning
@@ -84,7 +84,7 @@ spec:
# ------------------------------------------------------------------- # -------------------------------------------------------------------
- alert: APIDataCriticallyStale - alert: APIDataCriticallyStale
expr: | expr: |
api_data_freshness_seconds{job=~"zip|holidays|air-quality"} > 5184000 api_data_freshness_seconds{job=~"zip|holidays|air-quality|vin-decoder"} > 5184000
for: 1h for: 1h
labels: labels:
severity: critical severity: critical
@@ -98,9 +98,9 @@ spec:
# ------------------------------------------------------------------- # -------------------------------------------------------------------
- alert: APIDown - alert: APIDown
expr: | expr: |
absent(up{job=~"zip|holidays|air-quality"} == 1) absent(up{job=~"zip|holidays|air-quality|vin-decoder"} == 1)
or or
up{job=~"zip|holidays|air-quality"} == 0 up{job=~"zip|holidays|air-quality|vin-decoder"} == 0
for: 2m for: 2m
labels: labels:
severity: critical severity: critical
+161
View File
@@ -0,0 +1,161 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-dashboard-vin-decoder
namespace: monitoring
labels:
grafana_dashboard: "1"
data:
vin-decoder-dashboard.json: |
{
"annotations": { "list": [] },
"description": "Request rate, latency, error rate, and cache hit ratio for the VIN Decoder API",
"editable": true,
"graphTooltip": 1,
"panels": [
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 },
"id": 1,
"title": "VIN Decoder — Request Rate",
"type": "row"
},
{
"datasource": { "type": "prometheus", "uid": "prometheus" },
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": { "axisLabel": "requests/sec", "drawStyle": "line", "fillOpacity": 10, "lineWidth": 1, "showPoints": "never" },
"unit": "reqps"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 1 },
"id": 2,
"options": {
"legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom" },
"tooltip": { "mode": "multi" }
},
"targets": [
{
"expr": "sum by (route) (rate(api_requests_total{api=\"vin-decoder\"}[5m]))",
"legendFormat": "{{route}}",
"refId": "A"
}
],
"title": "Request Rate by Route",
"type": "timeseries"
},
{
"datasource": { "type": "prometheus", "uid": "prometheus" },
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": { "axisLabel": "", "drawStyle": "line", "fillOpacity": 10, "lineWidth": 1, "showPoints": "never" },
"unit": "percentunit"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 1 },
"id": 3,
"options": {
"legend": { "calcs": ["mean", "last"], "displayMode": "table", "placement": "bottom" },
"tooltip": { "mode": "multi" }
},
"targets": [
{
"expr": "sum(rate(api_requests_total{api=\"vin-decoder\",status_code=~\"5..\"}[5m])) / sum(rate(api_requests_total{api=\"vin-decoder\"}[5m]))",
"legendFormat": "5xx error rate",
"refId": "A"
}
],
"title": "5xx Error Rate",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 9 },
"id": 10,
"title": "VIN Decoder — Latency",
"type": "row"
},
{
"datasource": { "type": "prometheus", "uid": "prometheus" },
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": { "axisLabel": "seconds", "drawStyle": "line", "fillOpacity": 5, "lineWidth": 1, "showPoints": "never" },
"unit": "s"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 24, "x": 0, "y": 10 },
"id": 4,
"options": {
"legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom" },
"tooltip": { "mode": "multi" }
},
"targets": [
{
"expr": "histogram_quantile(0.50, sum by (route, le) (rate(api_response_duration_seconds_bucket{api=\"vin-decoder\"}[5m])))",
"legendFormat": "P50 {{route}}",
"refId": "A"
},
{
"expr": "histogram_quantile(0.95, sum by (route, le) (rate(api_response_duration_seconds_bucket{api=\"vin-decoder\"}[5m])))",
"legendFormat": "P95 {{route}}",
"refId": "B"
},
{
"expr": "histogram_quantile(0.99, sum by (route, le) (rate(api_response_duration_seconds_bucket{api=\"vin-decoder\"}[5m])))",
"legendFormat": "P99 {{route}}",
"refId": "C"
}
],
"title": "Response Latency P50 / P95 / P99 by Route",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 18 },
"id": 20,
"title": "VIN Decoder — Cache & Data Freshness",
"type": "row"
},
{
"datasource": { "type": "prometheus", "uid": "prometheus" },
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"steps": [
{ "color": "green", "value": null },
{ "color": "yellow", "value": 2592000 },
{ "color": "red", "value": 5184000 }
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 19 },
"id": 5,
"options": { "reduceOptions": { "calcs": ["lastNotNull"] }, "orientation": "auto", "textMode": "auto", "colorMode": "background" },
"targets": [
{
"expr": "api_data_freshness_seconds{api=\"vin-decoder\"}",
"legendFormat": "data freshness",
"refId": "A"
}
],
"title": "Data Freshness (seconds since last NHTSA fetch)",
"type": "stat"
}
],
"refresh": "1m",
"schemaVersion": 38,
"tags": ["vin-decoder", "api-company"],
"title": "VIN Decoder API",
"uid": "vin-decoder-api",
"version": 1
}
+1
View File
@@ -4,3 +4,4 @@ resources:
- namespace.yaml - namespace.yaml
- externalsecret.yaml - externalsecret.yaml
- helmrelease.yaml - helmrelease.yaml
- servicemonitor.yaml
+15
View File
@@ -0,0 +1,15 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: vin-decoder
namespace: vin-decoder
labels:
release: kube-prometheus-stack
spec:
selector:
matchLabels:
app: vin-decoder
endpoints:
- port: http
path: /metrics
interval: 30s