Files
inter-hub/workplans/ADHOC-2026-06-15.md
tegwick 5101eb5c73
Some checks failed
Build and Deploy / build-push-deploy (push) Has been cancelled
Fix API count decoding
2026-06-15 15:49:03 +02:00

30 lines
767 B
Markdown

---
id: ADHOC-2026-06-15
type: workplan
title: "Ad hoc Inter-Hub production fixes"
domain: custodian
repo: inter-hub
status: active
owner: codex
created: "2026-06-15"
updated: "2026-06-15"
---
# Ad hoc Inter-Hub production fixes
## Fix COUNT decode failures in v2 bootstrap endpoints
```task
id: ADHOC-2026-06-15-T01
status: progress
priority: high
```
Production Ops Hub bootstrap exposed a PostgreSQL/Haskell type mismatch in
the v2 API helpers. `COUNT(*)` returns `bigint`, while the helper code decoded
the result as `Int`, causing `UnexpectedColumnTypeStatementError` in widget
type validation and API request log rate-limit checks.
Fix the count queries so widget creation and authenticated hub-registry reads
work through the documented v2 bootstrap API.