Commit 5cd5689
committed
fix(locate): determinism layer 10 — total preference order for suffix path resolution
resolve_path_in_graph's fallback used .find() over tracked files in map
iteration order; with multiple suffix matches (vendored copies, e.g.
benchmark's test/CMakeLists.txt) the explicit-path +200 priority landed on a
per-process-random winner — when it hit the vendored copy it was then dropped
by vendored filtering, so the real file's priority flipped on/off across runs
(c5d5fa00 top-3 reorder). Preference: exact > shortest > lexicographic.1 parent cef9f44 commit 5cd5689
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11921 | 11921 | | |
11922 | 11922 | | |
11923 | 11923 | | |
| 11924 | + | |
| 11925 | + | |
| 11926 | + | |
| 11927 | + | |
11924 | 11928 | | |
11925 | 11929 | | |
11926 | 11930 | | |
11927 | | - | |
| 11931 | + | |
| 11932 | + | |
11928 | 11933 | | |
11929 | 11934 | | |
11930 | 11935 | | |
| |||
0 commit comments