Skip to content

Use job default arguments when checking for bad builds.#5219

Open
backes wants to merge 1 commit intogoogle:masterfrom
backes:fix-bad-build-check
Open

Use job default arguments when checking for bad builds.#5219
backes wants to merge 1 commit intogoogle:masterfrom
backes:fix-bad-build-check

Conversation

@backes
Copy link
Copy Markdown
Contributor

@backes backes commented Mar 25, 2026

This should allow regression and progression tasks to finish successfully if the issue is reproduced by a specific flag combination rather than an input, and thus even reproduces on an empty input file.

See https://crbug.com/495818765 and https://crbug.com/490450921 for examples where this would have been useful.

This should allow regression and progression tasks to finish
successfully if the issue is reproduced by a specific flag combination
rather than an input, and thus even reproduces on an empty input file.

See https://crbug.com/495818765 and https://crbug.com/490450921 for
examples where this would have been useful.
@backes backes requested a review from a team as a code owner March 25, 2026 12:45
@ViniciustCosta
Copy link
Copy Markdown
Collaborator

/gcbrun

Copy link
Copy Markdown
Collaborator

@ViniciustCosta ViniciustCosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Did you get to test this?

Maybe get a testcase that should maintain its behavior and one that should be fixed by this and run check_bad_build for both.

blob_name=blob_name,
stacktrace_upload_url=blob_upload_url)
# Setup testcase and its dependencies.
if uworker_env is not None:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think we can assume uworker_env is never None. Similarly to how was done in regression task.


data_handler.update_testcase_comment(testcase, data_types.TaskState.STARTED)

job_app_args = data_handler.get_value_from_job_definition(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: could we maybe move this into a centralized method in setup or testcase_manager (e.g. set_default_app_args(job_type, uworker_env))?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants