Skip to content

apify validate-schema passes schemas the platform build rejects #1364

Description

@patrikbraborec

Problem

apify validate-schema reports a schema as valid that the platform then rejects at build time. The known case is JSON Schema draft 2020-12: the local validator accepts it, the build does not. A false green locally is only discovered after a full push and build cycle.

Expected

apify validate-schema uses the same validator as the platform build, so a local pass means the build accepts the schema.

Steps to reproduce

  1. Write an input schema using draft 2020-12 constructs.
  2. Run apify validate-schema: it passes.
  3. Run apify push: the build fails on schema validation.

Activity

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

    t-buildersIssues owned by the Builders team.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions