feat: generate estimated finish time#535
Merged
deryrahman merged 26 commits intomainfrom Feb 18, 2026
Merged
Conversation
ef3c161 to
e863789
Compare
deryrahman
commented
Feb 18, 2026
deryrahman
commented
Feb 18, 2026
6f64e63 to
7193fc9
Compare
Mryashbhardwaj
approved these changes
Feb 18, 2026
deryrahman
added a commit
that referenced
this pull request
Feb 19, 2026
* feat: initial implementation of estimated finish time * refactor: use existing function from sla predictor service * feat: store estimated duration to db * fix: lint * feat: update proto * feat: add handler to generate estimated finish time * feat: integrate job finish time estimator service * feat: safety check for nil variables * test: add test cases for job estimator finish time * test: add test cases for generate estimation on handler * fix: linter * fix: test case * feat: skip disabled job * refactor: estimated -> estimator + enrich api response * refactor: remove unecessary vars * feat: create table if not exist * refactor: update the log using fmt.Sprintf * feat: when job is not started yet use buffer time as well * feat: when job doesn't have sufficient run to estimate duration * feat: when job already finished, it should be checked first * refactor: adjust the calculation + fix test cases * feat: use different config for job expectator detail * feat: integrate buffer duration config * feat: use different key to distinguished actual finish time * fix: new server config * feat: update proto commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.