mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-18 20:49:28 +00:00
search-with-proof: diagnosable failures, pip install race, no duplicate tasks
Reasons carry type plus a sanitised message tail; command failures carry phase, exit code and bounded stderr. Scratch walk tolerates directories pip removes mid-walk; writable /workspace/home and runtime paths. Capacity retries delete a possibly created task before resubmitting. Docker smoke checks the image first. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
1d67412e2b
commit
941fbb5fb0
@@ -212,8 +212,8 @@ def task_main() -> None:
|
||||
demo.mkdir()
|
||||
(demo / "demo.json").write_text(json.dumps(spec["demo"]))
|
||||
result = run_side(Side(bundle / "checkout", products=bundle / "products"), demo, spec["family"], spec["timeout_seconds"])
|
||||
except task_storage.ScratchLimit:
|
||||
result = SideRecord("could_not_build", (), 0, "scratch limit", isolation_mode="task-boundary")
|
||||
except task_storage.ScratchLimit as exc:
|
||||
result = SideRecord("could_not_build", (), 0, task_storage.exception_reason(exc), isolation_mode="task-boundary")
|
||||
upload(urls["RESULT_URL"], json.dumps(asdict(result)).encode())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user