Skip to content

fix(agent): cap buffered heartbeat task output#629

Merged
simonjcarr merged 1 commit intomainfrom
fix/issue-331-heartbeat-buffer-limits
Apr 27, 2026
Merged

fix(agent): cap buffered heartbeat task output#629
simonjcarr merged 1 commit intomainfrom
fix/issue-331-heartbeat-buffer-limits

Conversation

@simonjcarr
Copy link
Copy Markdown
Collaborator

Summary

  • cap buffered heartbeat task progress per task and per heartbeat interval
  • truncate oversized progress with an explicit marker and clamp oversized task results
  • keep overflow task results queued for the next heartbeat and cover the limiter behavior with unit tests

Testing

  • cd agent && go test ./...

Fixes #331

@simonjcarr simonjcarr merged commit cc5384b into main Apr 27, 2026
17 checks passed
@simonjcarr simonjcarr deleted the fix/issue-331-heartbeat-buffer-limits branch April 27, 2026 15:32
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.

[M-16] Agent heartbeat buffers unbounded task progress / result bytes

1 participant