Open briancain opened 2 years ago
Good catch. I don’t think I twigged that QueueProject
would also contain valuable info when I added this screen.
@jgwhite - To add to the details here, it doesn't look like it's "required" for the Init op to fail to trigger this too. You probably know this already. If the QueueProject op fails, the project page ends up being blank. Just an FYI for other readers, you don't need to have a failing Init op to reproduce this, just a failing QueueProject job.
Describe the bug
If a new project has an initial error, such as https://github.com/hashicorp/waypoint/issues/2454 where the
Init
operation fails to find git on the path, then the following operationQueueProject
also fails, the UI never updates to say the latest failure in the project.Typically I get the
Init
operation error every time I make a new project (a separate bug), but since the following operation forQueueProject
failed, the UI never surfaced the latest issue and I had to dive into the CLI to figure it out.Steps to Reproduce
Get the
Init
operation to fail, and try to queue a project with an HCL error such as no default value for a dynamic config variable.Expected behavior
The UI should surface the latest job failures for a given project on the project page.
Waypoint Platform Versions Additional version and platform information to help triage the issue if applicable:
docker
,nomad
,kubernetes
)aws/ecs
,pack
,azure
)Additional context Add any other context about the problem here.