-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skip_report flag in prowjob only used by crier reporters that report back to CI system #22486
Conversation
This PR is unnecessary |
Had synced offline with @fejta, and updated PR description with more context, also this PR is open to discussion |
The other reporter could benefit from this is pubsub reporter |
7bdf044
to
9a8c75d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold
If we're concerned about safety we could add a reporter.AlwaysTryReport()
or something, but maybe not worth it
9a8c75d
to
9e1e046
Compare
the previous commit marked |
…back to CI system
9e1e046
to
1bc0635
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chaodaiG, fejta The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@alvaroaleman , any objection before I unhold this PR? |
no, sounds good to me. It makes the meaning of this field a bit confusing (maybe godoc that reporters themselves decide if they respect it?) but having something like k8s reporter always report makes a lot of sense. |
skip_report
initially was meant for skipping reporting on github as comment attest-infra/prow/config/jobs.go
Line 231 in 3be10e8
test-infra/prow/crier/controller.go
Line 181 in 6c4a2b3
test-infra/prow/pjutil/pjutil.go
Line 126 in 6c4a2b3
gcsreporter is responsible for uploading
finished.json
when sidecar failed to do so, as well as uploadingprowjob.json
. These should happen independent ofskip_report
.This PR classifies crier reporters to be either report back to or not to CI system, and
skip_report
is only respected by reporters that report back to CI system.