Fix API count decoding
This commit is contained in:
parent
5c13de1b8f
commit
5101eb5c73
3 changed files with 35 additions and 6 deletions
29
workplans/ADHOC-2026-06-15.md
Normal file
29
workplans/ADHOC-2026-06-15.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue