julia
647bf3a7 - test: Ignore test-defined isequal methods in missing.jl's inference sweep

Commit
100 days ago
test: Ignore test-defined isequal methods in missing.jl's inference sweep The all-methods return_types(isequal, Tuple{Any,Any}) sweep from #49800 asserts over every isequal method in the session - including ones added by OTHER test files sharing the worker process. test/arrayops.jl defines isequal(::totally_not_five26034, ::Number) (and its mirror), which infer Bool in isolation but degrade to Any once the LinearAlgebra tests have inflated the ==/Number method tables earlier in the same process. The failure therefore appears whenever the scheduler happens to run arrayops (after the LinearAlgebra tests) before missing on one worker - deterministically reproducible with JULIA_CPU_THREADS=1 julia test/runtests.jl LinearAlgebra/triangular2 \ LinearAlgebra/structuredbroadcast triplequote intrinsics iobuffer \ staged arrayops combinatorics euler client terminfo errorshow \ goto llvmcall some docs interpreter floatfuncs missing Restrict the assertion to methods owned by Base and the stdlibs (module root not Main); in a fresh process this still covers all 27 shipped methods. CI failure: https://buildkite.com/julialang/julia-pr/builds/392#019f59bc-668b-4c95-81ed-e80a15899a30 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KLwCBAR64r3cTdfaC5krU
Author
Committer
Parents
Loading