Skip to content

Commit 7aae3bf

Browse files
committed
docs(core): state the cancel route's 404 contract
1 parent d85d770 commit 7aae3bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/core/src/v3/serverOnly/checkpointClient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ export class CheckpointClient {
160160

161161
/**
162162
* cancelCheckpoints returns "unsupported" when the route is absent, which is expected while a
163-
* newer caller runs against an older checkpoint service.
163+
* newer caller runs against an older checkpoint service. The route answers 202 even when the run
164+
* has nothing in flight, so a 404 only ever means the route itself is missing.
164165
*/
165166
async cancelCheckpoints({
166167
runFriendlyId,

0 commit comments

Comments
 (0)