Repository navigation
Commit 9ce0c1c
committed
fix: address review feedback on external-import-shadow guard
- specifier_is_relative() now also recognizes Windows drive-letter
(C:\ / C:/) and UNC (\\server\share) specifiers as in-tree, not
external packages. pr-smoke runs this pipeline on Windows, and the
previous POSIX-only check ('.' / '/') classified those specifiers as
external, which could suppress a real edge on that platform only.
Added external_import_shadow_windows_relative_specifier_kept
(tests/test_registry.c): red before this fix, green after.
- old_workers / old_single in the #1355 pipeline test are now
const char*, matching getenv()'s read-only contract.
- The pad_files literal (50) is now a named
EXTERNAL_IMPORT_SHADOW_PARALLEL_PAD constant with a comment tying it
to MIN_FILES_FOR_PARALLEL (a private #define in pipeline.c, not
reachable for a static_assert from tests), so a future bump to that
threshold can't silently drop the fixture back onto the
sequential-only path.
Signed-off-by: Yyunozor <yyunozor@icloud.com>1 parent 30633b4 commit 9ce0c1c
3 files changed
Lines changed: 73 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
457 | 458 | | |
458 | 459 | | |
459 | 460 | | |
460 | | - | |
461 | | - | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
462 | 467 | | |
463 | | - | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
464 | 484 | | |
465 | 485 | | |
466 | 486 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4649 | 4649 | | |
4650 | 4650 | | |
4651 | 4651 | | |
| 4652 | + | |
| 4653 | + | |
| 4654 | + | |
| 4655 | + | |
| 4656 | + | |
| 4657 | + | |
| 4658 | + | |
| 4659 | + | |
| 4660 | + | |
| 4661 | + | |
| 4662 | + | |
4652 | 4663 | | |
4653 | 4664 | | |
4654 | 4665 | | |
| |||
4739 | 4750 | | |
4740 | 4751 | | |
4741 | 4752 | | |
4742 | | - | |
| 4753 | + | |
4743 | 4754 | | |
4744 | | - | |
| 4755 | + | |
| 4756 | + | |
| 4757 | + | |
4745 | 4758 | | |
4746 | | - | |
| 4759 | + | |
4747 | 4760 | | |
4748 | 4761 | | |
4749 | 4762 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
942 | 942 | | |
943 | 943 | | |
944 | 944 | | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
945 | 978 | | |
946 | 979 | | |
947 | 980 | | |
| |||
1039 | 1072 | | |
1040 | 1073 | | |
1041 | 1074 | | |
| 1075 | + | |
1042 | 1076 | | |
0 commit comments