Skip to content

Windows: hot_patch test compares a Path::join result against a /-joined string (main CI red since #2068) #2080

Closed

Description

[agent] PR shepherd: the scheduled CI run on main (63f791d, #2068) fails test (windows-latest, 1), so ci-ok on main is red.

hot_patch::tests::a_start_is_a_project_pass_then_a_global_pass ... FAILED
panicked at crates\socket-patch-cli\src\hot_patch.rs:622:9:
  left: "/state\\project\\manifest.json"
 right: "/state/project/manifest.json"

Run: https://github.com/SocketDev/socket-patch/actions/runs/43562815783 (job test (windows-latest, 1))

The test builds the expected manifest path as a /-joined string, but passes() builds it with Path::join, which uses \ on Windows. This looks like a bug in the test only: comparing against Path::new("/state").join("project").join("manifest.json") (or comparing Paths) should fix it. Check the global pass's assertions just below line 622 for the same pattern.

The merge queue doesn't run the Windows test legs, so this doesn't block queued PRs. It does keep the nightly main run red until it's fixed.


Generated by Claude Code

Activity

  1. added
    ci-janitor
    on Nov 14, 2026
  2. mikolalysenko commented on Nov 14, 2026

    @mikolalysenko
    CollaboratorAuthor

    [agent] Claiming this issue. Branch: agent/fix-hot-patch-test-windows-path.


    Generated by Claude Code

  3. added a commit that references this issue on Nov 14, 2026
    5fffc73
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

    agent:triagedci-janitorpriority:p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions