Skip to content

Remote session URL uses "copilot" owner instead of repository owner #2994

@vladimirbacinsky

Description

@vladimirbacinsky

Describe the bug

When running the /remote command in Copilot CLI interactive mode, the generated remote session URL uses "github.com/copilot/tasks/" instead of
"github.com///tasks/".

This results in a 404 error when clicking the link, even though the session is active.

Affected version

GitHub Copilot CLI 1.0.36.

Steps to reproduce the behavior

  1. Run: copilot
  2. Type: /remote
  3. Wait for "Remote control enabled" message
  4. Check the displayed URL or look in logs
  5. Expected: https://github.com/vladimirbacinsky/test/tasks/
  6. Actual: https://github.com/copilot/tasks/

Expected behavior

The /remote command should generate a URL using the actual repository owner and name from the Git remote, not hardcode "copilot" as the owner.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sessionsSession management, resume, history, session picker, and session state

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions