Skip to content

Assert the Fallback Fetch URL in hub-fetch-run.py's Tests #2339

Closed

Description

@ptr727

Problem

tests/test_hub_fetch_run.py's fallback cases assert the stderr line and that the gate still runs, but not that the raw fetch then uses the main path. A regression that fetched from a malformed or empty commit path on fallback would pass the suite. Copilot raised this in its overview of #2333.

Done When

Each fallback subtest asserts that the last fetched URL ends with /main/ followed by the prose gate path, and a mutation that fetches from the unresolved value instead fails the test.

Activity

  1. added
    enhancement
    on Oct 4, 2026
  2. added a commit that references this issue on Oct 4, 2026
    f75f9b5
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions