Skip to content

test(host-kit): share destination test helpers and pin the UNC trailing-dot rule - #4753

Merged
thymikee merged 1 commit into
mainfrom
test/host-kit-destination-followups
Nov 19, 2026
Merged

thymikee merged 1 commit into
mainfrom
test/host-kit-destination-followups

Conversation

@thymikee

@thymikee thymikee commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Follow-ups to #4745 and #4747 from their review notes, 5 files:

  • skipOnWindows and tree() are exported once from script-destination-host.fixtures.ts instead of being declared in both entry-name.test.ts and script-destination-entry.test.ts.
  • atomic-publish.test.ts uses the host-kit-atomic-publish- temp-dir prefix.
  • The name table gains \\server\share.\journey.ad and \\server\pipe.\recorder, both refused, to pin the UNC trailing-dot rule.
  • The ADR 0016 sentence on windows_path_form now names every shape it refuses: drive-relative paths such as C: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
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

…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>
@github-actions

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 6.41 MB 6.41 MB 0 B
Package (unpacked) 6.41 MB 6.41 MB 0 B
Package (download) 1.95 MB 1.95 MB -3 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 23.8 ms 21.6 ms -2.2 ms
CLI --help 51.2 ms 43.3 ms -7.9 ms

@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of cbb05b9

No open findings.

Reviewed with this repository's own Sentinel configuration (7b6500cd2da2).

💬 Talking to Sentinel

In a finding's thread, reply with:

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.

@thymikee

Copy link
Copy Markdown
Member Author

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 skipOnWindows: script-destination-ancestry.test.ts:46, the parent test and the private-ancestry test. Importing the one the fixtures now export would finish the sharing. Take it or leave it.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 19, 2026
@thymikee
thymikee merged commit 629128d into main Nov 19, 2026
19 checks passed
@thymikee
thymikee deleted the test/host-kit-destination-followups branch November 19, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant