Commit graph

9 commits

Author SHA1 Message Date
29af2df858
refactor(logger): table-based LogOpts; add sync, on_done to test stream
Problem: `logger.log` positional args were hard to extend, and adding
`sync` support for pre-block notifications required a clean API. Test
stream completion had no user-visible signal. `setup_contest` could
silently overwrite files when a user's `filename` config returned
colliding paths.

Solution: Replace `(msg, level, override)` with `(msg, LogOpts?)` where
`LogOpts` carries `level`, `override`, and `sync`. Sync path calls
`vim.notify` directly; async path uses `vim.schedule` as before. Add
`on_done` callback to `scrape_all_tests`, fired via `on_exit` and
surfaced as a "Loaded N tests." notification. Detect filename collisions
in `proceed()` before touching the filesystem. Migrate all call sites.
2026-03-05 12:54:37 -05:00
18dbcd43d2 fix(cache): contest override 2025-10-04 12:48:57 -04:00
9e84d57b8a feat: context, not config 2025-09-24 18:21:34 -04:00
540364926d feat: improve logging 2025-09-23 16:14:21 -04:00
e171017ab0 fixup 2025-09-23 09:42:45 -04:00
beda8a3a03 fix(logger): remove config 2025-09-22 16:48:46 -04:00
373e7f6e76 fix(test): mock caches and everything else 2025-09-21 12:26:06 -04:00
bc315818e4 fix(ci): format 2025-09-18 20:04:36 -04:00
e9f1b06843 feat: update logging with debug logs 2025-09-12 23:21:32 -05:00