fix #258: add migration 0002 to add embedding column to agents table #267

Merged
Mark merged 1 commit from fix/mesh-seed-258-embedding-column into master 2026-08-04 20:59:51 +00:00
Owner

Summary

The Agent model has an embedding field but the initial migration (0001) does not include it. AgentView.getitem raises IndexError when reading row["embedding"] from the agents table.

Fix: Migration 0002 adds ALTER TABLE agents ADD COLUMN embedding TEXT DEFAULT .

Verification: All 23 ledger tests pass, ruff lint clean.

Closes #258

## Summary The Agent model has an embedding field but the initial migration (0001) does not include it. AgentView.__getitem__ raises IndexError when reading row["embedding"] from the agents table. **Fix**: Migration 0002 adds ALTER TABLE agents ADD COLUMN embedding TEXT DEFAULT . **Verification**: All 23 ledger tests pass, ruff lint clean. Closes #258
fix #258: add migration 0002 to add embedding column to agents table
Some checks failed
CI / Type Check (pull_request) Successful in 40s
CI / Security Check (pull_request) Failing after 51s
CI / Code Quality Checks (pull_request) Successful in 38s
CI / Unit Tests (pull_request) Failing after 35s
CI / Smoke Tests (pull_request) Failing after 31s
CI / Lint and Format (pull_request) Failing after 3m16s
CI / Full Test Suite (pull_request) Has been skipped
CI / Integration Tests (pull_request) Successful in 1m42s
3e49e412c0
The Agent model has an embedding field but the initial migration
(0001) does not include it. AgentView.__getitem__ raises IndexError
when reading row['embedding'] from the agents table.

Migration 0002 adds: ALTER TABLE agents ADD COLUMN embedding TEXT DEFAULT '';
All 23 ledger tests pass.
Mark merged commit 18946b07ac into master 2026-08-04 20:59:51 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/mesh-seed!267
No description provided.