Repository navigation
feat: report activity for agent instances - #34
Merged
Merged
Conversation
Chat only recognised participants of type AGENT, and asked what they were doing with ListWorkloadsByThread. Workloads belong to agent instances, so an instance on a thread showed no activity at all, and a class lookup returns every instance of it on that thread rather than the one asked about. Instance participants are now recognised and asked about directly. The committed identity protos were regenerated with them: they predated IDENTITY_TYPE_AGENT_INSTANCE, so the enum did not exist here. The runners fakes embed the generated client rather than restating it.
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.
T4 of the agent-instances change.
Chat recognised only
IDENTITY_TYPE_AGENTparticipants and asked what they were doing withListWorkloadsByThread. Two consequences:Instance participants are now recognised, and asked about with
ListWorkloadsByAgentInstance— workloads belong to instances, so that is the question with a single answer.The committed identity protos were stale.
gen/here is gitignored apart from six force-added files, and those predatedIDENTITY_TYPE_AGENT_INSTANCE— the enum did not exist in this repo at all. Regenerated.Both runners fakes now embed the generated client instead of restating it, so the next RPC added upstream does not break this repo's build.
A test asserts an instance participant is never looked up through its thread — it fails the moment the lookup goes via
ListWorkloadsByThread. Unit tests andgo vetclean; the 25test/e2efailures are pre-existing onmain(they need a database).