Skip to content

Give dbc sync --locked validation failures a dedicated JSON error code #629

Backlog

Description

@eitsupi

With dbc sync --locked --json (#616), lock mismatches and trust problems both use the generic sync_failed code.
CI needs to parse the message to distinguish those problems from a download failure.

A run can report both kinds of problems.
Use a single code, such as lock_validation_failed, for the aggregated validation error.
Keep the existing message and add mismatches and trust arrays so CI can check each category independently.
Treat the array entries as display text.
Missing or invalid lock files would continue to use sync_failed.

Review discussion (#616 (comment))

Activity

  1. added this to the 0.4.0 milestone on Nov 30, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions