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
prefect deploy entrypoint
errors with "Conflicting entry found" if create a deployment and then move the directory with the flow and try to create deployment again
#9983
Comments
prefect deploy my_file:my_flow
prefect deploy my_file:my_flow
prefect deploy my_file:my_flow
prefect deploy my_file:my_flow
prefect deploy my_file:my_flow
prefect deploy entrypoint
looks for deleted entrypoint files and incorrectly concludes Conflicting entry found for flow with name
prefect deploy entrypoint
looks for deleted entrypoint files and incorrectly concludes Conflicting entry found for flow with name
prefect deploy entrypoint
errors with "Conflicting entry found" if create a deployment and then move the directory and try to create deployment again
prefect deploy entrypoint
errors with "Conflicting entry found" if create a deployment and then move the directory and try to create deployment againprefect deploy entrypoint
errors with "Conflicting entry found" if create a deployment and then move the directory with the flow and try to create deployment again
@desertaxle or @serinamarie - probably of interest to you. |
Somewhat related - flows.json also gets created and populated in ~/.prefect directory even if the |
Ideally flows.json would not be created at all. We saw an error resulting from hard-to-find flows.json at PACC London. |
I had the same issue but then I deleted |
I agree with this comment regarding |
This issue is stale because it has been open 30 days with no activity. To keep this issue open remove stale label or comment. |
@discdiver @taylor-curran I have an issue where I run prefect deploy --all on my local machine (Windows), which works and populates the flow.json. The problem is that I have a GitHub action that runs the same command but errors out because the pathing is different using a Ubuntu runner. Not having a flows.json would be nice. |
@desertaxle fyi - passing along, @johnkangw |
First check
Bug summary
flows.json file in the root ~./prefect directory has the incorrect absolute value if you move your entrypont file and run prefect deploy again. This was tricky to debug because I didn't know where the old file path was stored.
Rerunning
prefect deploy 104/flows.py:pipe
after changing the file path where you flow code exists results in:
The indicated directory no longer exists. I'm not sure why it would matter if it did exist. There is no other
flow.py
file in the directory where I run the command.Relevant section of the codebase:
Reproduction
`prefect deploy my_file.py:my_flow`
Error
Versions
The text was updated successfully, but these errors were encountered: