This is an archive of the discontinued LLVM Phabricator instance.

[clang][ci] Don't block all jobs on clang-format
ClosedPublic

Authored by ldionne on Aug 30 2023, 6:23 AM.

Details

Summary

It was expressed in some reviews that Clang folks didn't want to hold
off other testing jobs in case clang-format failed. This patch makes
it so that the basic clang testing jobs will run even if clang-format
fails on the patch. The overall build will still be marked as failed,
but it will be possible to see the failures in clang tests so at least
there will be some feedback available.

The whole pipeline was originally blocked on clang-format because we
inherited that pipeline definition from libc++, where we want to block
on clang-format for capacity reasons.

Diff Detail

Event Timeline

ldionne created this revision.Aug 30 2023, 6:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2023, 6:23 AM
ldionne requested review of this revision.Aug 30 2023, 6:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2023, 6:23 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Thank you for this! I'm not qualified to say the changes are correct (they look sensible to me though), but I am really appreciative of the change.

Thank you for this! I'm not qualified to say the changes are correct (they look sensible to me though), but I am really appreciative of the change.

Yup this is mostly for awareness, the changes are simple enough and the CI run in this review shows that they worked (there's no wait step anymore after the clang-format).

This revision was not accepted when it landed; it landed in state Needs Review.Aug 31 2023, 6:53 AM
This revision was automatically updated to reflect the committed changes.