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
hardport — hardcoded TCP/UDP ports in test listeners.
maporder — assertions that depend on map-iteration order.
eventuallyeffect — count-dependent side effects inside polling callbacks.
version command: flakylint version (also --version / -version) prints
the build version, commit, and date, falling back to runtime/debug.ReadBuildInfo when built without release ldflags.
Changed
Autofix safety: suggested fixes are no longer offered when they would corrupt
the source. httptestclose keeps the diagnostic but drops the fix inside if/for/switch statement initializers; exitfatal suppresses its fix when
the testing receiver name is shadowed at the call site.
Precision narrowing from corpus evaluation and an external audit: hardport validates the network argument and port range and no longer flags http.Server{Addr:} literals; eventuallyeffect ignores channels declared
inside the callback; maporder is now source-order aware and ignores
per-iteration accumulators used only as testify message arguments.
Upgrade notes
The new default-enabled checks may surface findings in downstream CI that
previous versions did not report. Pin @v0.2.0 in CI installs (rather than @latest) so a future release does not change results unexpectedly.