Skip to content

exec_service: bidi streaming with terminate support#19

Merged
afq984 merged 1 commit into
google:mainfrom
afq984:push-xynpkkoysyoq
Apr 10, 2026
Merged

exec_service: bidi streaming with terminate support#19
afq984 merged 1 commit into
google:mainfrom
afq984:push-xynpkkoysyoq

Conversation

@afq984
Copy link
Copy Markdown
Collaborator

@afq984 afq984 commented Apr 10, 2026

Change RunCommand from server-streaming to bidirectional streaming. The first ClientEvent must be a StartCommandRequest; subsequent events may include TerminateCommand to signal the running process.

TerminateCommand supports:

  • force=false: SIGTERM only
  • force=true, no grace_period: SIGKILL immediately
  • force=true, grace_period>0: SIGTERM first, then SIGKILL after grace_period

Change RunCommand from server-streaming to bidirectional streaming.
The first ClientEvent must be a StartCommandRequest; subsequent events
may include TerminateCommand to signal the running process.

TerminateCommand supports:
- force=false: SIGTERM only
- force=true, no grace_period: SIGKILL immediately
- force=true, grace_period>0: SIGTERM first, then SIGKILL after grace_period
@afq984 afq984 enabled auto-merge (rebase) April 10, 2026 16:20
@afq984 afq984 disabled auto-merge April 10, 2026 16:20
@afq984 afq984 enabled auto-merge (rebase) April 10, 2026 16:21
@afq984 afq984 merged commit 3219f0b into google:main Apr 10, 2026
3 checks passed
@afq984 afq984 deleted the push-xynpkkoysyoq branch April 10, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant