Skip to content

register: parse describe's JSON instead of matching its spacing #524

Closed

Description

@winding-lines

morca register checks that describe output starts with exactly {"pipeline": , and built_with searches for "morca": ". Both depend on the exact spacing, so a pipeline binary that prints compact JSON (serde_json's default) is refused. Parse the JSON instead. This is needed before #521 (morca-sdk).

Found while writing docs/pipeline-protocol.md (#518, PR #523).

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