Skip to content

[BUG] Cypress v2 tests failing due to missing rustfmt in CI workflow #9806

@ayush22667

Description

@ayush22667

Bug Description

The Run Cypress tests on v2 and generate coverage report CI job was failing with a schema mismatch error when running database migrations with the --locked-schema flag. The error indicated that the generated schema_v2.rs file differed from the committed version

Expected Behavior

Diesel CLI generates schema_v2.rs with formatting that matches the committed file

  • locked-schema check passes
  • Migrations complete successfully

Actual Behavior

Diesel CLI generates schema_v2.rs with different formatting

  • locked-schema check fails
  • CI job fails at migration step

Have you spent some time checking if this bug has been raised before?

  • I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

Yes, I am willing to submit a PR!

Metadata

Metadata

Assignees

Labels

A-CI-CDArea: Continuous Integration/DeploymentC-bugCategory: BugS-awaiting-triageStatus: New issues that have not been assessed yet

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions