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

[Regression] Retry of command with defer error: Could not find manifest in --state path #9770

Closed
gshank opened this issue Mar 18, 2024 · 0 comments · Fixed by #9772
Closed
Labels
pre-release Bug not yet in a stable release

Comments

@gshank
Copy link
Contributor

gshank commented Mar 18, 2024

Current Behavior

Executing a "retry" command on a command with "defer" sees error: Could not find manifest in --state path

Expected Behavior

Retry command completes successfully

Steps to reproduce

Do a retry of a command with a "--defer" component.

Relevant log output

15:20:51 Encountered an error:
Runtime Error
Could not find manifest in --state path: "<dbt.contracts.state.PreviousState object at 0x112b56170>"

Additional context

This regression was caused by moving the "defer_state" parameter to global parameters. The existing code caused that flag to be instantiated as a "PosixPath('None')" object instead of Python None.

@gshank gshank added the pre-release Bug not yet in a stable release label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pre-release Bug not yet in a stable release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant