Runtime events need a stream identity to complete remote nested replies
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go
- Domain
- backend-api-design
Research direction
Start by tracing the runtime event definitions and the code that emits and handles StreamStarted, StreamStopped, and content events; the issue does not name specific files or tests. Follow how replies get is_streaming and how nested streams share sessions. Done means replies from a stopped remote stream complete independently while its parent stream continues, with local runtime behavior preserved.
Written by the indexing model from the issue text.
Description
Markdown transformers (#4952) send is_streaming per reply. A reply completes when its saved message arrives, or when the last stream of its session stops.
A remote runtime does not send the saved message. A nested stream that shares its parent's session stops while the parent is still running, so its replies keep is_streaming: true until the parent's stream stops. Local runtimes are not affected: their saved message completes the reply.
Completing exactly the stopped stream's replies needs a stream identity on runtime events: StreamStarted, StreamStopped, and the content events, so each reply can be attributed to its stream. Keying on (session, agent) is not enough when the same agent runs nested in its own session.
Raised in https://github.com/docker/docker-agent/pull/4943#discussion_r4606337964.
- Dominant language
- Go
- Stars
- 4.7k
- Forks
- 565
- Avg merge
- 18h 52m
- Merged PRs (30d)
- 221
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from docker/docker-agent
-
edit_file diff rendering panics on invalid UTF-8 textPossibly taken @TDnorthgarden claimed this today. Openarea/tui
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
docker/docker-agent#4955 ·
Maintainers usually reply within 1 day
-
A setting to turn off the models.dev catalog download (offline and strict-network use)Possibly taken @3431481073 claimed this 19 days ago. Openarea/config area/models
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
docker/docker-agent#4714 ·
Maintainers usually reply within 1 day
-
Error when trying to run sandbox example?Possibly taken @dgageot claimed this 27 days ago. Openarea/cli
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
docker/docker-agent#4672 · 1 comment · 1 reaction · 1 assignee ·
Maintainers usually reply within 1 day
-
`edit_file` silently edits the first match when `oldText` occurs more than oncePossibly taken @dwin-gharibi claimed this 103 days ago. Openarea/tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
docker/docker-agent#3929 · 2 comments ·
Maintainers usually reply within 1 day
-
area/agent area/cli area/runtime
Difficulty 4/5 3-5 days Newbie friendliness 55/100
docker/docker-agent#4947 ·
Maintainers usually reply within 1 day
All issues in docker/docker-agent
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
OneBusAway/maglev#2145 ·
Maintainers usually reply within 2 days
-
priority/medium status/ready type/chore
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
discobox-ai/discobox#1357 ·
Maintainers usually reply within 1 day
-
TestPseudoLocaleRemote fails now and then: it types the code before the laptop asks for itPossibly taken @fzn0x claimed this today. Openbug priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
enhancement ui/ux
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jbigler/railswitch#243 ·
Maintainers usually reply within 1 day
-
Helm probes fail when DCGM Exporter requires TLS client certificatesPossibly taken @git-jxj claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NVIDIA/dcgm-exporter#775 ·
Maintainers usually reply within 1 day