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

[dy] Expire certain pipeline runs #4727

Merged

Conversation

dy46
Copy link
Contributor

@dy46 dy46 commented Mar 9, 2024

Description

The /pipeline_runs query seems to be fetching cached data which is fine in most cases, but if there is a running pipeline run, the status of the pipeline run can sometimes get stuck. I'm added a check to expire a pipeline run in the session if it is in progress, so that the status can be properly updated in future queries.

How Has This Been Tested?

  • Tested locally with in progress pipeline runs

Checklist

  • The PR is tagged with proper labels (bug, enhancement, feature, documentation)
  • I have performed a self-review of my own code
  • I have added unit tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • If new documentation has been added, relative paths have been added to the appropriate section of docs/mint.json

cc: @wangxiaoyou1993

@dy46 dy46 linked an issue Mar 9, 2024 that may be closed by this pull request
@dy46 dy46 merged commit 9deae8d into master Mar 20, 2024
9 checks passed
@dy46 dy46 deleted the 4684-bug-delay-from-webui-pipeline-run-status-and-database-table branch March 20, 2024 18:13
@wangxiaoyou1993 wangxiaoyou1993 mentioned this pull request Mar 27, 2024
15 tasks
oonyoontong pushed a commit to bunker-tech/mage-ai that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - Delay from WebUI pipeline run status and database table.
2 participants