Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ void updateEtas() {
long eta = tc.chainRemainingSeconds(actor.get().tcToken(), run.buildId());
if (eta >= 0)
edit(actor.get().ghToken(), run.commentId(), run.baseBody()
+ "\n⏱ _~" + fmtDur(eta) + " remaining — ≈ " + finishAt(eta, actor.get().tz())
+ " (updates every ~5 min)._"
+ "\n⏱ _~" + fmtDur(eta) + " remaining — **≈ " + finishAt(eta, actor.get().tz())
+ "** (updates every ~5 min)._"
+ ("queued".equalsIgnoreCase(b.state()) ? " _Reply `/top` to jump the queue._" : ""));
}
catch (RestClientResponseException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ private record Snapshot(List<Persisted> enrollments, Map<Integer, Retry> retries
/** The ⏳ status line of the living comment while re-runs settle. */
private static String pendingLine(String what, int attempt, Long etaEpochSec, String tz) {
return "\n\n⏳ _Auto re-run in progress — " + what + " re-queued (attempt " + attempt + "/" + MAX_RERUNS + ")"
+ (etaEpochSec == null ? "" : ", ≈ settled by " + wallClock(etaEpochSec, tz))
+ (etaEpochSec == null ? "" : ", **≈ settled by " + wallClock(etaEpochSec, tz) + "**")
+ ". This comment updates when they settle._";
}

Expand Down
Loading