Skip to content

[LIMITED] #54838: Windows absolute paths rejected before path handling #206

Open

Description

@kvnloo

P2 / LIMITED — source-only review handoff

Owner YidaWeng retains implementation. Two independent source reviews; zero executed tests or code changes. Exact head rechecked October 12 at 15:54 UTC: db5fbf4.

open.ts lines 24–38 checks URL.canParse before native path.isAbsolute. Raw Windows drive-qualified paths in either slash style enter the URL branch with protocol c: and return undefined before the absolute-path branch.

Actual callers: transcript handler skips opening an undefined target; shared Link swallows the rejected openHref promise. Terminal-native handling may still work. file:///C:/ paths use the separate fileURLToPath path; do not claim all Windows links fail.

Requirement and proof limit

The PR promises absolute-path support and adds an absolute-path test; Windows appears in the unit-test matrix. Origin anomalyco#54816's reproduction is macOS: this is incomplete broader support in the proposed feature, not a regression from the previous HTTP-only handler.

Existing test should expose this on a drive-backed Windows checkout. This is a source prediction, not an executed RED. Exact-head workflow is action_required with zero jobs. Native Windows runner is unqualified.

Suggested owner repair: check native absolute paths before URL parsing; cover both Windows slash styles and retain file-URL/HTTP controls. No competing patch prepared.

Dedupe and handoff

Refreshed factory #14/#70/#77, current policies, origin comments/reviews and exact-number fork search. Current reviews concern relative paths, modifiers and OS-handler policy. Latest author response addresses the first two; no equivalent drive-letter finding was found.

Credit YidaWeng's feature and current reviewers' related feedback. Hermes owns any authorized upstream review. Refresh head, duplicate feedback and authorization before posting; do not label this native PASS or implementation-ready. No upstream action occurred.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions