You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3bba4c5
Browse filesBrowse the repository at this point in the historyBrowse files
error_message="Testing environment preparation failed. Please check the preparation script."
43
-
ifpreparation_temp_file_path:
44
-
error_message+=f" Full output available at: {preparation_temp_file_path}"
41
+
42
+
ifexit_codeinUNRECOVERABLE_ERROR_EXIT_CODES:
43
+
console.error(preparation_issue)
45
44
return (
46
-
self.FAILED_OUTCOME,
45
+
self.UNRECOVERABLE_ERROR_OUTCOME,
47
46
RenderError.encode(
48
-
message=error_message,
47
+
message="Testing environment preparation failed due to problems in the environment setup. Please check your environment or update the preparation script.",
49
48
error_type="ENVIRONMENT_ERROR",
50
49
exit_code=exit_code,
51
50
script=render_context.prepare_environment_script,
52
-
output_file=preparation_temp_file_path,
51
+
issue=preparation_issue,
53
52
).to_payload(),
54
53
)
54
+
55
+
# A failed preparation (typically a build/compile error introduced by the
56
+
# latest code changes) is handled like a failing conformance test: the fix
57
+
# loop gets the preparation output and corrects the code. The flag stays
58
+
# armed so the preparation re-runs after the fix is applied.
0 commit comments