Skip to content

enhancement(openCode observability) - correlate calls with invocations #2961

Closed

Description

@lindliu1

Correlates OpenCode model requests with their exact AgentInvocation by retaining OpenCode's X-Session-Id request header as a single allowlisted capture field. During rollout finalization, calls whose client session matches an observed OpenCode invocation are projected as canonical AgentInvocation.model_calls references.

This avoids timestamp, ordering, payload, and model-name inference. Calls with absent, conflicting, or unknown session ownership retain the existing model_call_ownership_unavailable gap. The session header is client-declared correlation evidence, not an authentication boundary.

Activity

  1. changed the title [-]OpenCode observability - correlate calls with invocations[/-] [+]enhancement(openCode observability) - correlate calls with invocations[/+] on Sep 2, 2026
  2. linear-code commented on Sep 29, 2026

    @linear-code

    from mbien:

    Fixed by #2884

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions