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

Apply new progress evaluation bar design #465

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

andresgutgon
Copy link
Contributor

@andresgutgon andresgutgon commented Oct 18, 2024

What?

TODO

  • useFetcher in here

@@ -179,6 +179,39 @@ describe('runEvaluationJob', () => {
})
})

it('increment error counter when response has an error', async () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We were missing updating the counter of errors on an evaluation when the error happens in the response. We were checking only the result of the run.

Errors can happen:

  1. Before runChain occours. Errors on runEvaluation
  2. Errors on runChain which are inside the run.response

@andresgutgon andresgutgon force-pushed the feature/new-progress-evaluation-bar branch from 419d5a9 to 8a0f3ce Compare October 18, 2024 18:51
@andresgutgon andresgutgon mentioned this pull request Oct 18, 2024
11 tasks
geclos
geclos previously approved these changes Oct 18, 2024
@andresgutgon andresgutgon force-pushed the feature/save-errors-when-a-chain-run branch from a6f3d97 to cd9c5f4 Compare October 21, 2024 08:16
Base automatically changed from feature/save-errors-when-a-chain-run to main October 21, 2024 08:46
@andresgutgon andresgutgon dismissed geclos’s stale review October 21, 2024 08:46

The base branch was changed.

@andresgutgon andresgutgon force-pushed the feature/new-progress-evaluation-bar branch from 8a0f3ce to 36fb537 Compare October 21, 2024 09:01
We unify in a unique line completed and errored evaluation counters
@andresgutgon andresgutgon force-pushed the feature/new-progress-evaluation-bar branch from 36fb537 to cfdbfbb Compare October 21, 2024 09:20
@andresgutgon andresgutgon merged commit 9c92f04 into main Oct 21, 2024
3 checks passed
@andresgutgon andresgutgon deleted the feature/new-progress-evaluation-bar branch October 21, 2024 09:32
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants