test(host-kit): share destination test helpers and pin the UNC trailing-dot rule
Merged
TH
8d ago+21+21+01234567890123456789-19-19-01234567890123456789
Summary
Follow-ups to #4745 and #4747 from their review notes, 5 files:
skipOnWindowsandtree()are exported once fromscript-destination-host.fixtures.tsinstead of being declared in bothentry-name.test.tsandscript-destination-entry.test.ts.atomic-publish.test.tsuses thehost-kit-atomic-publish-temp-dir prefix.- The name table gains
\\server\share.\journey.adand\\server\pipe.\recorder, both refused, to pin the UNC trailing-dot rule. - The ADR 0016 sentence on
windows_path_formnow names every shape it refuses: drive-relative paths such asC:journey.ad, and relative or~/paths joined to a working directory or home of an unsupported shape.
Only that one ADR sentence changes. #4744 also edits ADR 0016; whichever lands second rebases.
Validation
At cbb05b9730:
- With the trailing-dot check removed from
entry-name.ts, both new rows fail; with it restored, they pass. - host-kit and remote unit suites: 996 passed. Typecheck, lint,
fallow audit --base origin/main: pass. - CI validates the head.
🤖 Generated with Claude Code
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.