Skip to content

Non-public schema failure #257

@MagnusLarsAndersson

Description

@MagnusLarsAndersson

Bug Description

Just ran a docker build for the latest git (~ official v.0.4.5) still resulting in schema problems.

Steps to Reproduce

  1. docker build -t hindsight:local -f docker/standalone/Dockerfile --build-arg PRELOAD_ML_MODELS=false .
  2. docker compose -p hindsight up -d with : HINDSIGHT_API_DATABASE_URL: postgresql://postgres:passw@supabase-db:5432/postgres HINDSIGHT_API_DATABASE_SCHEMA: hindsight

Expected Behavior

Function as normal...

Actual Behavior

INFO: Application startup complete.

INFO: Uvicorn running on http://0.0.0.0:8888⁠ (Press CTRL+C to quit)

2026-01-30 16:15:38,618 - WARNING - hindsight_api.worker.poller - Worker 5ae366c5048f failed to recover tasks for schema public: relation "async_operations" does not exist

2026-01-30 16:15:38,619 - INFO - hindsight_api.worker.poller - Worker 5ae366c5048f starting polling loop (max_slots=10, consolidation_max_slots=2)

2026-01-30 16:15:38,620 - WARNING - hindsight_api.worker.poller - Worker 5ae366c5048f failed to claim tasks for schema public: relation "async_operations" does not exist

2026-01-30 16:15:39,122 - WARNING - hindsight_api.worker.poller - Worker 5ae366c5048f failed to claim tasks for schema public: relation "async_operations" does not exist

🎛️ Starting Control Plane...

✅ Hindsight is running!

📍 Access:

Control Plane: http://localhost:9999⁠

API: http://localhost:8888⁠

2026-01-30 16:15:39,624 - WARNING - hindsight_api.worker.poller - Worker 5ae366c5048f failed to claim tasks for schema public: relation "async_operations" does not exist

▲ Next.js 16.1.6

✓ Starting...

✓ Ready in 57ms

2026-01-30 16:15:40,126 - WARNING - hindsight_api.worker.poller - Worker 5ae366c5048f failed to claim tasks for schema public: relation "async_operations" does not exist

Still looks like tables are created in i newly created schema hindsight.
Calling create bank in UI results in:
2026-01-30 16:16:31,832 - ERROR - hindsight_api.api.http - Error in /v1/default/banks: relation "public.banks" does not exist

Version

Docker build

LLM Provider

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions