Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Manifest upgrade_schema_version needs to process v11 manifests #9487

Closed
2 tasks done
jtcohen6 opened this issue Jan 30, 2024 · 0 comments · Fixed by #9488
Closed
2 tasks done

[Bug] Manifest upgrade_schema_version needs to process v11 manifests #9487

jtcohen6 opened this issue Jan 30, 2024 · 0 comments · Fixed by #9488
Labels
bug Something isn't working pre-regression Regression not yet in a stable release

Comments

@jtcohen6
Copy link
Contributor

Is this a new bug in dbt-core?

  • I believe this is a new bug in dbt-core
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

Try running a command on dbt-core main using --state from v1.7:

mashumaro.exceptions.MissingField: Field "unit_tests" of type Mapping[str, UnitTestDefinition] is missing in WritableManifest instance

Expected Behavior

Don't see this error. Support backwards compatibility for v1.7-produced manifests (v11).

Steps To Reproduce

  1. Create a manifest using dbt-core v1.7, and stick in state/ directory
  2. Switch to dbt-core v1.8.0-a1 (main)
  3. Run any command which uses state: dbt ls -s state:modified --state state/
  4. See the error

Relevant log output

No response

Environment

- OS: macOS 13.4.1
- Python: 3.10.11
- dbt: main

Which database adapter are you using with dbt?

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pre-regression Regression not yet in a stable release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant