Kludex
uvicorn
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Intersect polled changes with the touched files in _reload_tester Accumulating every reported change over the poll window swept up unrelated churn in the watched tree (coverage data files written during the run), so negative assertions saw spurious paths. Keep only the touched files when deciding whether the watcher reported them.
cover-filefilter-exclude-dir-deterministically
8 minutes ago
Poll until the touched files are reported in _reload_tester Stopping at the first non-None result was not enough: under load the watcher can yield an empty, fully-filtered batch before the touched file is reported, so positive assertions (test_explicit_paths) still failed with 'assert []'. Accumulate changes until the watched files appear, bounded by a deadline. The excluded-file cases never match and fall through to the deadline, returning an empty result as before. Drop the standalone FileFilter test now that the exclude-dir branch is reliably covered by the integration tests again.
cover-filefilter-exclude-dir-deterministically
15 minutes ago
Use single backticks in the poll comment
cover-filefilter-exclude-dir-deterministically
28 minutes ago
Inline the watcher poll into _reload_tester It had a single caller and only applies to the WatchFilesReload branch, so keeping the polling next to touch_soon reads better. Also annotate the new FileFilter test return type.
cover-filefilter-exclude-dir-deterministically
32 minutes ago
Poll the watcher in _reload_tester instead of a single check The WatchFilesReload tests touched a file in a thread and then read a single next(reloader). The watcher is created with yield_on_timeout=True, so on a slow runner it yields an empty result before the touch is reported, making positive assertions (e.g. test_explicit_paths) fail intermittently with 'assert []'. Poll next() past the empty timeout yields until the watcher reports the change. Excluded files still resolve to an empty list immediately, so the negative assertions stay fast.
cover-filefilter-exclude-dir-deterministically
36 minutes ago
Cover FileFilter exclude-dir branch with a deterministic unit test The exclude-subdir branch in FileFilter.__call__ was only exercised by an integration test that touches a file and waits for the watcher. Since the watcher is created with yield_on_timeout=True, a slow runner can yield an empty changeset before the touch lands, so the filter is never invoked - the test still passes (negative assertion) but the branch goes uncovered, dropping total coverage below 100% and failing CI intermittently on Windows/macOS. Add a fast, deterministic unit test that calls FileFilter directly, removing the dependency on filesystem-watch timing.
cover-filefilter-exclude-dir-deterministically
48 minutes ago
Merge branch 'main' into combine-duplicate-forwarded-headers
combine-duplicate-forwarded-headers
4 hours ago
Move repeated-field note out of the trust-model intro
combine-duplicate-forwarded-headers
4 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
Make the watchfiles reload tests deterministic
#2972
9 minutes ago
a0de8fd
cover-filefilter-exclude-dir-deterministically
CodSpeed Performance Gauge
0%
Consume duplicate forwarding headers in ProxyHeadersMiddleware
#2971
4 hours ago
d24c3bf
combine-duplicate-forwarded-headers
CodSpeed Performance Gauge
0%
chore(deps): bump the github-actions group across 1 directory with 6 updates
#2960
7 hours ago
eb5eddb
dependabot/github_actions/github-actions-1a75326b4f
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs