Skip to content

Conversation

@lszydelko-google
Copy link
Collaborator

Introduce new mechanic to better handle longer tasks. Since smaller tasks will take only a little time, and longer one will drag, there is another calculation of remaining time based only of last 10 tasks times. That will filter out the small tasks and take into considerations only the longest ones that are finished. Also there is a logic that takes maximum of old way and a new way of calculating ETA to prevent regression when only small amount of tasks are finished.

Moreover I increase threshold for smallest remaining time from 1 minute to 15 minutes.

@github-actions
Copy link

github-actions bot commented Oct 9, 2025

Code Coverage Report

Overall Project 61.72% -0.04% 🍏
Files changed 91.91% 🍏

File Coverage
DurationFormatter.java 95.89% 🍏
TaskLoggingUtil.java 90.48% -9.52% 🍏
TasksRunner.java 47.68% 🍏

@lszydelko-google lszydelko-google merged commit 76912ad into main Oct 9, 2025
3 checks passed
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.

2 participants