Repository navigation
Skill runtime reference: the stream sends a keepalive comment while the agent is quiet - #5
Open
eric-epsilla wants to merge 1 commit into
Open
eric-epsilla wants to merge 1 commit into
eric-epsilla wants to merge 1 commit into
Conversation
…he agent is quiet The reference said the task stream is made only of data: frames. The server also sends a comment frame, ": keepalive", after 15 seconds with no event, so proxies keep the connection open during a long tool run. Both templates already skip it (and test that), but a builder reading the text took the stream for silent and asked for a heartbeat that exists. The paragraph now names it and says to read it only as a sign the task is still running. tests/test_cloud_scope.py checks the text; it fails on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
@richard-epsilla, one paragraph, documentation only. Problem. The stream reference says there are only Approach. Name the comment in the reference. The templates already skip it and test it, so no code changed. What I'd like from you: merge with the others. It touches |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
references/runtime-integration.mdsays the task stream is "made only ofdata:frames". The server also sends a comment frame,: keepalive, after 15 seconds with no event, so proxies keep the connection open during a long tool run or while the model thinks.Both templates already skip it, and their tests feed one in. But a builder reading the text concludes the stream sends nothing during a long silent step, and asks for a heartbeat that already exists.
Change
references/runtime-integration.md: the paragraph names the keepalive comment and when it comes. It says to skip it, and to read it only as a sign the task is still running.tests/test_cloud_scope.py: checks the text. It fails on main.Verification
python3 -m unittest discover -s tests -p 'test_*.py': 45 tests, OK (1 skipped).🤖 Generated with Claude Code