#280 print start/finish timestamps for job progress - #280
Open
VasilevNStas wants to merge 1 commit into
Open
Conversation
baza.rb polls finished? without any indication of whether the job actually started or how long it's been running. Print ISO 8601 timestamps before and after judges update, giving baza.rb and operators wall-clock progress information. If judges fails (non-zero exit), only the start timestamp is printed, which itself signals that the job started but didn't complete normally.
Contributor
Author
Why this matters
After this PR, every job produces: The key insight: if you see |
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.
baza.rbpollsfinished?without any indication of whether the job actually started or how long it's been running. The user sees only "waiting..." until the polling timeout.What this PR does
Adds ISO 8601 timestamps around
judges update:What this enables
"started at ..."visible in stdout"started at ..."+"finished at ...""started at ..."only — signals abnormal exitIf
judges updatefails (non-zero exit),set -emeans only the start timestamp is printed — which itself signals that the job started but didn't complete normally.Checklist
bundle exec rubocop— 0 offencesbundle exec rake— all tasks pass@yegor256 please review