fleet-memory/hindsight-api/hindsight_api/worker
Chris Bartholomew 9c95a1ac1d
fix: pass tenant extension to worker MemoryEngine for correct schema context (#236)
The worker loaded the tenant extension for the poller (schema discovery)
but did not pass it to MemoryEngine. When execute_task set _current_schema
via the _schema field, _authenticate_tenant would immediately reset it to
"public" because self._tenant_extension was None, causing all worker writes
to land in the public schema instead of the tenant schema.

Move load_extension() before MemoryEngine creation and pass
tenant_extension to the constructor.
2026-01-29 18:35:38 +01:00
..
__init__.py feat: new 'worker' service (#176) 2026-01-20 10:17:56 +01:00
main.py fix: pass tenant extension to worker MemoryEngine for correct schema context (#236) 2026-01-29 18:35:38 +01:00
poller.py fix: multi-tenant schema context for worker task execution (#208) 2026-01-27 12:28:47 +01:00