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

Added state change diagram #15899

Closed
wants to merge 75 commits into from
Closed

Conversation

mthatt
Copy link
Contributor

@mthatt mthatt commented Nov 1, 2024

This state change diagram should help users visualize how states transition in Prefect. mermaid.js is ordering the states strangely with mintlify, particular the section with 'AwaitingRetry' and 'Retrying' on the left.

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • If this pull request removes docs files, it includes redirect settings in mint.json.
  • If this pull request adds functions or classes, it includes helpful docstrings.

@discdiver
Copy link
Contributor

Thank you, @mthatt. The Mintlify preview deploy doesn't seem to be following, so not able to see a rendered version of the diagram. Are you able to add a screenshot from local?

@mthatt
Copy link
Contributor Author

mthatt commented Nov 1, 2024

Screenshot 2024-11-01 at 5 40 55 PM

Here's a screenshot of how it looks in docs

@discdiver
Copy link
Contributor

Cool! Re: the suboptimal retry placement. I'm not sure, but maybe it can be managed explicitly with divs?

@discdiver
Copy link
Contributor

If it can't be changed easily, I think this chart provides good value. Approving.

Copy link
Member

@cicdw cicdw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small request for a wording update, otherwise this is pretty helpful thank you

@discdiver discdiver requested a review from cicdw November 16, 2024 15:11
@discdiver
Copy link
Contributor

one small request for a wording update, otherwise this is pretty helpful thank you

I accepted your change @cicdw, if you want to approve we can merge.

Copy link
Contributor

github-actions bot commented Dec 2, 2024

This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment.

marvin-robot and others added 14 commits December 16, 2024 23:48
Worker logs are no longer experimental, so this PR removes references to the setting. We still want to avoid sending worker logs to open-source API servers until they support worker logs, though, so we use the existence of a backend_id on worker logs as a proxy for whether or not the worker is connected to Cloud. (Only workers connected to Cloud emit logs with worker IDs attached.)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@mthatt mthatt force-pushed the state-diagram-update branch from 43f7b1b to da4448e Compare December 17, 2024 05:49
@github-actions github-actions bot added upstream dependency An upstream issue caused by a bug in one of our dependencies migration ui-replatform Related to the React UI rewrite labels Dec 17, 2024
@mthatt mthatt removed upstream dependency An upstream issue caused by a bug in one of our dependencies migration ui-replatform Related to the React UI rewrite labels Dec 17, 2024
@mthatt mthatt enabled auto-merge (squash) December 17, 2024 05:59
Copy link
Contributor

This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment.

@discdiver discdiver closed this Dec 31, 2024
auto-merge was automatically disabled December 31, 2024 15:04

Pull request was closed

@discdiver
Copy link
Contributor

Closed as completed in another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.