Skip to content

Local filesystem paths leak into published schema validation errors #2897

@lukejudd-lux

Description

@lukejudd-lux

Issue

flowctl publish can bake local file:// schema paths into published specs. These paths later appear in runtime validation errors, exposing user workstation paths.

Expected Behavior

Published specs should not retain local machine paths.

Suggested Fix

Sanitise local schema $ids during bundle/author/publish, for example:

file:///Users/alice/project/schemas/foo.yaml

to something like:

flow://source/schemas/foo.yaml

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