• d

    Dilip Thiagarajan

    1 year ago
    hi all, had a question re: how flows are run when registered. I noticed that when they are run on an agent after registering, the actual 
    flow.run
     method isn’t called. Does anyone know if that’s expected?
  • Sai Srikanth

    Sai Srikanth

    1 year ago
    Hey team, how do I get prefect CLI? I tried from docs but couldn't find it
    Sai Srikanth
    Dylan
    +1
    11 replies
    Copy to Clipboard
  • Verun Rahimtoola

    Verun Rahimtoola

    1 year ago
    hi, may we assume that the output format of the prefect CLI will remain unchanged? basically we might have a need to grab the latest flow_run_id of a flow, and i see now that the cli returns this information in descending order (most recent flow run at the top). is it safe to write logic against the format of this output? we could also directly go against the graphql db, but i'm wondering if the data stored in the backend will have a relatively stable schema from one prefect version to the next? so as not to break any of our graphql queries
    Verun Rahimtoola
    Dylan
    3 replies
    Copy to Clipboard
  • i

    itay livni

    1 year ago
    Hi - I got an error message in Prefect Cloud
    Failed to load and execute Flow's environment: SyntaxError("invalid or missing encoding declaration for '/home/.../MOC/etl_moc.py'")
    -After the flow began and executed some tasks successfully. The flow was run locally. Is this a bug or something not configured correctly on my end? Thanks
    i
    Chris White
    6 replies
    Copy to Clipboard
  • Joël Luijmes

    Joël Luijmes

    1 year ago
    When I cancel a flow in the UI, it stops further execution of tasks right? I got two questions/remarks: • Is the active task killed in some way? Or will it wait until it completes? • When I use a resource manager, I noticed that unfortunately the cleanup will not be called 😕 . Is there some way I can cancel my flow, but still cleanup resources? Maybe force it with a state handler, if state handlers still are triggered?
    Joël Luijmes
    nicholas
    2 replies
    Copy to Clipboard
  • d

    Dan Corbiani

    1 year ago
    Hi, I'm new to prefect and I'm trying to use it to evaluate the performance of code / parameter changes. I've created a basic flow but cannot figure out how to get historical metrics on each of the tasks. Is there something that I'm missing? My hope would be to get a table that looks like: | Flow Name | Parameters | Task Name | Start Time | End Time | Duration | I've tried going through the graphQL api and I've looked through the UI. Any direction would be appreciated.
    d
    nicholas
    6 replies
    Copy to Clipboard
  • j

    Jeff Williams

    1 year ago
    Is there a place where the exit codes are documented? When I stop the server on my GCP implementation, I see several components exit with code 137. This may be perfectly normal, but it would be nice to know what the exit codes mean. Also, the window that I started the server in does not return to a command prompt when it is stopped. Is that normal? It tells me that "tmp_ui_1 exited with code 137" and that is the last message I get.
    j
    1 replies
    Copy to Clipboard
  • m

    Marwan Sarieddine

    1 year ago
    Hi folks, we ran into an issue where one of our child tasks ran until Success then was restarted for some reason causing our flow to crash. Any idea why this happened ? and is there a way to prevent this ? We are running a kubernetes agent and a dask kubernetes execution environment on EKS...
    m
    Chris White
    10 replies
    Copy to Clipboard
  • v

    Vipul

    1 year ago
    I am trying to setup a project with Prefect and I do have setup and teardown process. I could register the flow and project during the setup and could delete the project during teardown but I am not sure how can I remove the entry for Prefect Agent from Prefect Server. Any suggestion? Thanks
    v
    nicholas
    6 replies
    Copy to Clipboard
  • m

    Matt

    1 year ago
    Has anyone used Prefect to manage Dataform runs and mind sharing with me how they designed it?