Skip to content

Conversation

BrunoQuaresma
Copy link
Collaborator

Fixes #19570

Before:

image

After:

Screenshot 2025-08-27 at 09 11 31

Things to notice:

  • There is a task without a prompt at the end, it should not happen anymore
  • There is no test for this because we mock the API function and the fix was inside of it. It is a temp solution, the API should be ready to be used by the FE soon

@BrunoQuaresma BrunoQuaresma requested a review from a team August 27, 2025 12:16
@BrunoQuaresma BrunoQuaresma self-assigned this Aug 27, 2025
@BrunoQuaresma BrunoQuaresma requested review from code-asher and removed request for a team August 27, 2025 12:16
Copy link
Member

@Parkreiner Parkreiner left a comment

Choose a reason for hiding this comment

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

Some small nits, but this looks like a good change to me!

Comment on lines 2707 to 2709
}).then((res) =>
res.workspaces.filter((workspace) => !workspace.is_prebuild),
);
Copy link
Member

Choose a reason for hiding this comment

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

Nit: I know this is valid, but I feel like if we're going to be using await syntax, we shouldn't be using promise-chaining in the same function scope, just for consistency

Copy link
Member

Choose a reason for hiding this comment

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

Also, could we add a comment giving some extra context for why we're filtering pre-builds out?

Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

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

the API should be ready to be used by the FE soon

So we will be fixing this later on the API side? If so, I think this change makes sense temporarily. 👍

@BrunoQuaresma BrunoQuaresma merged commit abc946c into main Aug 28, 2025
32 checks passed
@BrunoQuaresma BrunoQuaresma deleted the bq/19570 branch August 28, 2025 15:14
@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Prebuilds are being displayed as tasks
3 participants