Open georgesalvino1 opened 7 months ago
Confirming I am also facing this issue!
Hi @georgesalvino1 and @aniltolwani -- unfortunately this is somewhat expected behavior (although the error message is not particularly helpful). When you execute a job from a script like that, there is no way for dagster to access that same execution context when re-executing from the UI (as that script context is necessarily ephmeral). So "re-executing" that job is to some extent not possible -- you'd just be creating a new run of the same job (which would have a different executor and everything).
Dagster version
1.6.1
What's the issue?
When triggering jobs through a Python script, calling it by using the
execute_in_process
method, the UI displays the following message when trying to re-execute the run:I was able to re-execute a run created through the CLI, but when that same job run is created through the script using
execute_in_process
, re-execution doesn't work.It looks like for some reason, it's being unable to create that
external_job_origin
object when fetching info from that job.What did you expect to happen?
Expected the run to be re-executed
How to reproduce?
execute_in_process
Deployment type
Local
Deployment details
No response
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a đź‘Ť! We factor engagement into prioritization.