1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-07 07:02:53 +03:00

if the record_results endpoint fails, don't fail the job

Summary:
A request to record_results failed, which caused a folly gcc 8 build
regression to slip in, which broke the Watchman and EdenFS builds.

Instead, turn record_results requests into a logged warning.

Reviewed By: xavierd

Differential Revision: D38170729

fbshipit-source-id: d59ae5fa48b5cbcf649281108d958ff95e319e35
This commit is contained in:
Chad Austin
2022-07-26 16:43:01 -07:00
committed by Facebook GitHub Bot
parent ce56514e97
commit cb29710222

View File

@@ -850,7 +850,8 @@ if __name__ == "__main__":
testpilot_args.append("--env")
testpilot_args.extend(f"{key}={val}" for key, val in env.items())
testpilot_args += ["--run-id", str(run_id)]
if run_id is not None:
testpilot_args += ["--run-id", run_id]
if test_filter:
testpilot_args += ["--", test_filter]