You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fcf1d1b
Browse filesBrowse the repository at this point in the historyBrowse files
Three independent reds, none of which CI could have caught before the
work that introduced them landed:
mypy tests/. Six errors were mine, from the aggregate/COPY client tests
-- I ran `mypy vgi/` but never `mypy tests/`, which CI runs separately.
A heterogeneous `pa.schema([pa.field(...), ...])` infers `list[object]`,
so those go through the `vgi.schema(...)` helper instead; the writer
options dict needs an explicit `dict[str, pa.Scalar[Any]]` annotation to
survive dict invariance; and read_schema takes a Buffer, not a
BufferReader. Drops a tautological `assert copy_to(...) is None` -- the
contract it gestured at (a COPY-TO sink has no Source phase) is what
test_copy_to_rejects_a_non_copy_handler actually pins.
mypy + ruff format on the Rust codegen. Two stale
`# type: ignore[attr-defined]` on `rpc_methods` (it resolves now, as the
un-ignored import in ts_client.py already showed), a dict-invariance
error, and three files that were committed unformatted. pa.map_'s
`keys_sorted` keeps a narrow ignore: the runtime keyword really is
`keys_sorted` taking a bool, and pyarrow-stubs says `key_sorted` taking
a literal.
A teardown flake that predates all of it. `proc.wait(timeout=...)` was
unguarded, so a worker slow to exit raised TimeoutExpired straight out
of `stop()` / `__exit__` -- leaking the process and masking whatever
exception was already unwinding. On main this reddens whichever test
happens to be teardown-adjacent under load; stashing the fix and running
tests/client tests/table tests/scalar reproduced it 4 runs out of 4,
across three different files. Now the wait kills and reaps on timeout,
and PROCESS_WAIT_TIMEOUT goes 5s -> 30s: it is a hang guard, not a
latency budget, and a saturated machine (the suite under `pytest -n
auto`, each fixture worker booting its own sub-workers) can push a
perfectly clean exit past five seconds. The regression test forces the
timed wait to raise rather than shrinking the budget, so it does not
race a worker that exits promptly.
Same slice: 4/4 flaky before, 5/5 clean after; full suite 3/3 clean.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments