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

Inconsistent task run bar coloring #11530

Closed
5 of 8 tasks
WillRaphaelson opened this issue Jan 2, 2024 · 2 comments
Closed
5 of 8 tasks

Inconsistent task run bar coloring #11530

WillRaphaelson opened this issue Jan 2, 2024 · 2 comments
Labels
bug Something isn't working ui Related to the Prefect web interface

Comments

@WillRaphaelson
Copy link
Contributor

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I refreshed the page and this issue still occurred.
  • I checked if this issue was specific to the browser I was using by testing with a different browser.

Bug summary

Task run bars at times display with gradients, at times with opacity, and at times with translucence.

image

image

Reproduction

This script will produce gradients

from time import sleep
import random
from prefect import flow, task


@task
def tree(time=0.5, dependencies=None):
    sleep(time)
    return random.random()


@flow
def my_flow():
    layers = 6
    trunk = tree.submit(time=1)
    for l in range(layers):
        t = trunk
        size = 10 * (layers - l)
        layer_tasks = []
        for _ in range(size):
            time = 8
            t = tree.submit(time=time - l, dependencies=trunk)
            layer_tasks.append(t)
        trunk = tree.submit(dependencies=layer_tasks)


my_flow()

Error

see summary

Browsers

  • Chrome
  • Firefox
  • Safari
  • Edge

Prefect version

No response

Additional context

No response

@WillRaphaelson WillRaphaelson added bug Something isn't working ui Related to the Prefect web interface needs:triage labels Jan 2, 2024
@zhen0 zhen0 removed the needs:triage label Jan 8, 2024
@markbaas
Copy link

Happens in all browsers in all my flows as well.

@pleek91
Copy link
Contributor

pleek91 commented Apr 10, 2024

I believe this should be fixed now by this PR PrefectHQ/graphs#460

I'm going to close this issue but please comment or reopen if you're still experiencing this.

@pleek91 pleek91 closed this as completed Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui Related to the Prefect web interface
Projects
None yet
Development

No branches or pull requests

4 participants