Commit Graph

6 Commits

Author SHA1 Message Date
a2183af6e2 fix: test suite — seed reset, FK mappings, standalone focus tests
- Change all seed inserts from ON CONFLICT DO NOTHING to DO UPDATE SET
  so seeds always reset to canonical values between test runs
- Add meeting_id, decision_id, link_id to FK_FIELD_MAP in form_factory
- Add item_ids, direction, label, content to NAME_PATTERNS
- Add TestStandaloneFocusItems (7 tests): quick-add, edit, project tab
- Add TestFocusConversion (6 tests): convert to task/note/link/list item
- Add focus_standalone seed with fixture
- Update focus_page_loads test for permanent (non-date-scoped) items
- All 398 tests passing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 03:08:53 +00:00
0ed86ee2dc Links and Other Enhancements 2026-03-02 19:55:04 +00:00
cf84d6d2dd various enhancements for new tabs and bug fixes 2026-03-02 17:35:00 +00:00
9dedf6dbf2 various bug fixes Sunday 20260301 5:15pm 2026-03-01 23:44:47 +00:00
a427f7c781 fix: test suite green (156 passed, 7 skipped)
- Fix seed data to match actual DB schemas (capture.processed, daily_focus.completed, weblinks junction table)
- Add date/datetime coercion in BaseRepository for asyncpg compatibility
- Add UUID validation in BaseRepository.get() to prevent DataError on invalid UUIDs
- Fix focus.py and time_tracking.py date string handling for asyncpg
- Fix test ordering (action before delete) and skip destructive admin actions
- Fix form_factory FK resolution for flat UUID strings
- Fix route_report.py to use get_route_registry(app)
- Add asyncio_default_test_loop_scope=session to pytest.ini

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 21:30:27 +00:00
f7c5ac2d89 Commit prior to Claude Code implementation on VM 2026-03-01 14:45:15 +00:00