Skip to content

Commit

Permalink
Removing build-failure label from oss-fuzz-build-status (#4292)
Browse files Browse the repository at this point in the history
This label does not exist anymore, given the monorail-buganizer data
mapping, and is causing oss-fuzz-build-status cron to error out,
avoiding new bugs being opened:

```
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://issuetracker.googleapis.com/v1/issues?templateOptions.applyTemplate=true&alt=json returned "Invalid value at 'issue.issue_state.type' (type.googleapis.com/google.devtools.issuetracker.v1.Issue.Type), "Build-Failure"". Details: "[{'@type': 'type.googleapis.com/google.rpc.BadRequest', 'fieldViolations': [{'field': 'issue.issue_state.type', 'description': 'Invalid value at \'issue.issue_state.type\' (type.googleapis.com/google.devtools.issuetracker.v1.Issue.Type), "Build-Failure"'}]}]">
```
  • Loading branch information
vitorguidi authored Oct 4, 2024
1 parent 0911670 commit ed73c3f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/clusterfuzz/_internal/cron/oss_fuzz_build_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ def file_bug(issue_tracker, project_name, build_id, ccs, build_type):
project_name=project_name, build_type=build_type.capitalize())
issue.body = _get_issue_body(project_name, build_id, build_type)
issue.status = 'New'
issue.labels.add('Type-Build-Failure')
issue.labels.add('Proj-' + project_name)

for cc in ccs:
Expand Down

0 comments on commit ed73c3f

Please sign in to comment.