Repository navigation
Commit 4d60c40
committed
test(u5b): gate the Windows namespace-marker row to the Windows leg (#2357)
The ubuntu-latest platform-unit-test arm failed on one row of this unit's own
spec. Its CI assertion (job 128939518078, spec:1700) expected [deep, nested,
dirname(nested)] and received only the deepest directory, because the row built
its extended-length marker from path.resolve("C:/test-dir/nested") - on POSIX
that spelling is not absolute at all, so it resolves under the runner's cwd and
the marker fed to the writer is one the platform cannot report and the chain
cannot map. Only Windows reports mkdir's created directory under the extended
length namespace, so the row is now gated the way the icacls rows beside it are,
and a platform-neutral row pins the other half of the same contract: an answer
that is not on the walk from the target's own directory syncs no ancestor at all.
Measured with the pinned node v22.23.4, dir wt-u5a-2357/src, command
"node node_modules/vitest/vitest.mjs run --config vitest.services.config.ts
--coverage": 11 failed | 1688 passed | 1 skipped (1700) before this commit, 11
failed | 1689 passed | 1 skipped (1701) after, with services/file-safety absent
from the failure list. Those 11 are services/marketplace (2 rows),
services/rules (5 rows, EPERM on unprivileged symlink creation) and
services/code-index/processors/parser (TelemetryService not initialized); the
identical 11 also fail with the identical command on the sibling unit's head
fb03ecb, so they are not this delta. Targeted file-safety run on the Windows
leg: 86 passed (86). eslint --max-warnings=0 on the touched file: 0 problems,
same as at head. tsc --noEmit -p .: exit 0. prettier --check: clean.1 parent 066f153 commit 4d60c40
1 file changed
Lines changed: 52 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1670 | 1670 | | |
1671 | 1671 | | |
1672 | 1672 | | |
1673 | | - | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
1677 | | - | |
1678 | | - | |
1679 | | - | |
1680 | | - | |
1681 | | - | |
1682 | | - | |
1683 | | - | |
1684 | | - | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
1685 | 1722 | | |
1686 | | - | |
| 1723 | + | |
1687 | 1724 | | |
1688 | 1725 | | |
1689 | 1726 | | |
| |||
1696 | 1733 | | |
1697 | 1734 | | |
1698 | 1735 | | |
1699 | | - | |
1700 | | - | |
| 1736 | + | |
1701 | 1737 | | |
1702 | 1738 | | |
1703 | | - | |
| 1739 | + | |
1704 | 1740 | | |
1705 | 1741 | | |
1706 | 1742 | | |
| |||
0 commit comments