Skip to content

Workspace.path should return paths with a leading / #12970

Open

Description

@shykes

Problem

Workspace.path returns values like app/frontend.

But the rest of the Workspace API uses paths with a leading / for paths from the workspace boundary.

That makes Workspace.path confusing and easy to use wrong.

Solution

Make Workspace.path return paths with a leading / too.

Examples:

  • return / when the workspace directory is the workspace boundary
  • return /app/frontend instead of app/frontend for a nested workspace

This would make Workspace.path match the rest of the Workspace API and make it easier to use correctly.

Activity

  1. changed the title [-]Workspace.path should return a boundary-absolute path[/-] [+]Workspace.path should return paths with a leading /[/+] on Apr 13, 2026
  2. added 5 commits that reference this issue on Apr 16, 2026
    d086afc
    6797c49
    1c53914
    48c1fd1
    bb49e16
  3. added 3 commits that reference this issue on May 4, 2026
    5eeeb4a
    1852f5f
    88fc5a7
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