Repository navigation
feat: hints on the heartbeat response - #260
Draft
PabloPardoGarcia wants to merge 5 commits into
Draft
PabloPardoGarcia wants to merge 5 commits into
PabloPardoGarcia wants to merge 5 commits into
Conversation
PabloPardoGarcia
marked this pull request as draft
November 16, 2026 08:24
This branch has not been deployed
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.
Brings hint delivery on the heartbeat to main. Off by default (
init(hints=False)).Hold the merge until hints are on in production. The SDK goes live on its GitHub release, and the release notes would announce hints while the backend still has them off.
What's in it
All of it was reviewed and merged into
feature/agent-hints:init(hints=True)orRIUS_HINTS;rius.drain_hints(), or anon_hintcallback on its own thread;rius.hint.delivered(semconv 1.11.0) on the run's root span when a hint is handed over.Older receivers ignore the new heartbeat fields, so the release does not depend on a backend version.
Release notes
This repo squash-merges with a blank body. The block below overrides the squashed title for release-please, so each feature gets its own entry:
BEGIN_COMMIT_OVERRIDE
feat: authenticate each instance's heartbeat with a per-instance secret, so another holder of the workspace API key cannot report as that instance
feat: receive hints from Rius on the heartbeat response: opt in with init(hints=True) or RIUS_HINTS, then read them with rius.drain_hints() or an on_hint callback
feat: record rius.hint.delivered on the run's root span when the SDK hands a hint over
fix: a forked process no longer reports its parent's open runs as its own
END_COMMIT_OVERRIDE