-
Notifications
You must be signed in to change notification settings - Fork 16
Provide support for an overall status #18
Comments
Tentative spec: # OPTIONAL
# Specify the context group to which this testsuite belongs.
# This commit status context will be marked as successful
# only if all the member testsuites are successful. If
# omitted, no group context is defined.
context-group: 'Red Hat CI - Overall status' For example, in the Homu use case, this would allow you to define the set of testsuites on which we want to gate (e.g. you might have a testsuite that is flaky/a work in progress). |
Seems OK. Though I wonder if it's simpler to support rolling suites under a single context by default, like:
The advantage would be less visual noise per PR. Something like this:
|
I like the idea of less visual noise and decoupling contexts from suites. Though I'd prefer if we were more explicit. How about we leave |
So one would probably rely on |
How about |
Yes exactly! Sure, |
Am currently thinking for ostree naming the contexts like |
And the suites like |
Thinking about this a bit more. The trade-off we're making here is that we get less feedback. E.g. within one context, if a suite is already done but others are still going, we'll get no feedback until all the suites are completed and the artifacts get uploaded. I suppose what we'd have to do here is:
But also, what constitutes visual noise can be somewhat subjective. Since almost all the projects use homu, I'm guessing this Since we rely so much on homu, maybe it would make sense to have a homu-specific feature here. E.g. add a
I'm not saying the |
I'm not so concerned about waiting for feedback myself, when using Homu one can approve before waiting for PR status, and I definitely do that. I'll be even more confident when we implement this and the context gates on multiple tests (like C7 and Fedora). But long term, we'll clearly want some public facing server with dynamic logs, like Travis etc. do. As far as adding more Homu features...probably yes, but I'm not sure it's the same thing as this issue. If we called the context |
But that's a choice we should be able to make per-repository, right? E.g. I can see this making sense in the ostree case where we have multiple sanitizers, whereas on rpm-ostree I think it'd make more sense to keep Essentially, GitHub already provides a nice way of presenting the state of different testsuites and accessing their logs, so let's make use of it when it makes sense, rather than having to partially re-implement it on S3.
Right, definitely separate. What I mean here is, for a start, let's implement the What do you think? Just to formalize the # OPTIONAL
# Mark this testsuite as required. This causes a special
# "required" context to be reported to GitHub on branch
# tests. The result is set to successful only if all
# testsuites marked as required are also successful.
required: true ? |
|
Some services like Homu watch for statuses to determine whether to merge a commit. In those cases, it might be easier for it to watch for a single "overall" status rather than multiple statuses, whose set may change over time.
The text was updated successfully, but these errors were encountered: