Skip to content

Prevent dangling observations when a turn is interrupted - #3

Merged
bezbac merged 1 commit into
mainfrom
feature/lfe-10575-fix-cancellation-behavior
Jul 1, 2026
Merged

bezbac merged 1 commit into
mainfrom
feature/lfe-10575-fix-cancellation-behavior

Conversation

@bezbac

@bezbac bezbac commented Jul 1, 2026

Copy link
Copy Markdown
Member

No description provided.

@bezbac
bezbac merged commit 86dd619 into main Jul 1, 2026
3 checks passed
eeeming pushed a commit to eeeming/opencode-observability-plugin that referenced this pull request Jul 7, 2026
Bug langfuse#1: Add fast-check as explicit dependency
  effect@3.21 requires fast-check as transitive dep. OpenCode's Npm.add()
  uses @npmcli/arborist with ignoreScripts=true, skipping optional deps.

Bug langfuse#2: Create tracer AFTER provider registration
  trace.getTracer() was called before sdk.start(), returning a ProxyTracer
  that delegates to NoopTracer. All startSpan() calls produced no-op spans.

Bug langfuse#3: Bypass NodeSDK global API (Bun compat)
  Replace NodeSDK with NodeTracerProvider. In Bun runtime, the global
  tracer provider registered by NodeSDK.start() is not visible to
  @opentelemetry/api's trace.getTracer(). Using provider.getTracer()
  directly avoids this issue.
@bezbac
bezbac deleted the feature/lfe-10575-fix-cancellation-behavior branch September 18, 2026 08:49
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.

1 participant