Minimal remote run control after run lifecycle #115
stainlu
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
now that the v1 run lifecycle exists (
runId,run_start/run_end, run replay, run stream), i think the next control surface can stay very small.not a full admin API / dashboard / registry yet. just one primitive:
rough shape:
CallHandle.abort()where possible202when cancellation is requested404/409when the run is unknown, already terminal, or not abortablerun_end { runId, status: "cancelled" }/runs/:runId/streamshould then show the cancellation through the same event pathwhat i would not include in v1:
main question: should this abort the whole run, or should Flue expose operation-level abort first now that
operationIdexists too?my instinct: run-level first, because it maps cleanly to the remote observable thing from #91. operation-level control can follow once there is a concrete case where aborting the whole HTTP invocation is too broad.
Beta Was this translation helpful? Give feedback.
All reactions