This is an archive of the discontinued LLVM Phabricator instance.

Updated the step completition detection for annotated steps.
ClosedPublic

Authored by vvereschaka on Nov 5 2020, 2:04 PM.

Details

Summary

Process the completed step statuses properly in case when we consume the annotated log faster than operating with the buildbot api.

Diff Detail

Event Timeline

vvereschaka requested review of this revision.Nov 5 2020, 2:04 PM
vvereschaka created this revision.
gkistanova accepted this revision.Nov 9 2020, 1:15 PM

Thanks, Vlad!
Looks good with a nitpick.

zorg/buildbot/commands/AnnotatedCommand.py
127

Could you use the str.format() interface here and in the other change below instead, please?

We are Python 3.x only now. No need to keep the backward compatibility.

This revision is now accepted and ready to land.Nov 9 2020, 1:15 PM

OK, it is not a problem.
I'll prepare another patch with the string formatting fixes.