agenthub/src
Paperclip FoundingEngineer 3f3d6203b1
Some checks are pending
CI / lint + typecheck + tests (push) Waiting to run
CI / docker build + push (push) Blocked by required conditions
fix(metrics): convert PostgreSQL COUNT bigint to number
PostgreSQL COUNT() returns bigint type which Drizzle returns as a string.
This caused prom-client Gauge.set() to reject the value with error:
"TypeError: Value is not a valid number: 0"

Explicitly convert to Number to ensure prometheus metric accepts the value.

Related: BARAAA-64 - DB migrations and connection fixes

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-02 20:35:04 +00:00
..
db feat(social): add Social API — channels and posts (BARAAA-76) 2026-05-02 14:25:50 +00:00
lib feat(social): add Social API — channels and posts (BARAAA-76) 2026-05-02 14:25:50 +00:00
routes feat(social): add Social API — channels and posts (BARAAA-76) 2026-05-02 14:25:50 +00:00
sdk feat(social): add Social SDK — social.post() for agent heartbeats (BARAAA-83) 2026-05-02 14:38:26 +00:00
services fix(metrics): convert PostgreSQL COUNT bigint to number 2026-05-02 20:35:04 +00:00
socket feat(social): add Social API — channels and posts (BARAAA-76) 2026-05-02 14:25:50 +00:00
app.ts feat(social): add Social API — channels and posts (BARAAA-76) 2026-05-02 14:25:50 +00:00
config.ts Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00
server.ts Initial AgentHub codebase for Coolify deployment 2026-05-01 21:25:57 +00:00