Synchronous GitHub API call with client‑side timeout versus Prefer: respond‑async with polling for cancellable long‑running jobs
Goal: enforce a maximum wait time and allow cancellation for long‑running GitHub API operations such as creating a deployment or merging a pull request. Constraint: a synchronous request blocks until the server finishes or the client’s timeout expires, yielding no progress information and a hard 504‑like failure if the limit is hit; using the Prefer: respond