Repository navigation
test(host-kit): share destination test helpers and pin the UNC trailing-dot rule - #4753
Conversation
…ng-dot rule - Export skipOnWindows and tree once from script-destination-host.fixtures.ts. - Rename the atomic-publish temp-dir prefix after its module. - Pin the UNC server/share trailing-dot rule with two refusal rows. - Word the ADR 0016 windows_path_form sentence for every shape it refuses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Size Report
Startup median (7 runs, lower is better):
|
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
This is ready at cbb05b9. The shared destination test helpers and the UNC trailing-dot rows are correct, and the new rows fail if the trailing-dot check in entry-name.ts is removed. All 19 checks pass, the diff is tests and docs only, and there are no conflicts. Not blocking: three host-kit tests still declare their own identical |
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.\\server\share.\journey.adand\\server\pipe.\recorder, both refused, to pin the UNC trailing-dot rule.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:entry-name.ts, both new rows fail; with it restored, they pass.fallow audit --base origin/main: pass.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.