Repository navigation
chore(release): merge dev into main (fi-instrumentation-otel 1.3.1, traceAI-openai 0.1.14, traceAI-langchain 0.2.2, Java 1.0.3) - #638
Merged
Conversation
Co-authored-by: Nikhil Pareek <8347993+nik13@users.noreply.github.com> Co-authored-by: Claude Code <noreply@anthropic.com>
An explicit empty Authorization header suppressed valid FI_API_KEY and FI_SECRET_KEY environment keys, and explicit X-Api-Key/X-Secret-Key headers were sent next to case-variant copies from the environment; either can cause a 401 with valid keys. Both exporters now share one merge: header names are lower-cased, empty credential headers are dropped, and the environment pair is added only when no explicit credential header is present. Adds a README troubleshooting section for export 401s.
…ector (#155) Exports one span through HTTPSpanExporter and register(batch=False) to a loopback collector and asserts the /tracer/v1/traces path and that each credential header arrives exactly once. Three cases fail before the fix.
An empty case-variant duplicate must not erase an explicit non-empty Authorization (which would pull the environment keys in), and an empty bytes credential must count as empty. Fails until the header merge skips blank credential entries before collapsing case variants.
…#155) Drop blank Authorization/X-Api-Key/X-Secret-Key entries (None, empty or whitespace str or bytes) while lower-casing names, so an empty duplicate can no longer erase an explicit credential and pull in the environment pair, and an empty bytes value no longer hides valid environment keys. Non-empty values, including bytes, are kept unchanged.
Qualify Ollama4j 1.0.79 support and cover blocking calls with real SDK loopback tests. Co-authored-by: Nikhil Pareek <8347993+nik13@users.noreply.github.com> Co-authored-by: Claude Code <noreply@anthropic.com>
* fix(langchain): restore optional Protect hook on uninstrument Retain the captured Protect class so disabling tracing restores its method without another optional dependency import. Clear the saved state before re-enabling to avoid stacked guardrail wrappers and stale provider/config exports. Add offline lifecycle contracts with real LangChain callbacks and OTLP HTTP exports across enable/disable cycles. Co-Authored-By: Claude Code <noreply@anthropic.com> * test(langchain): pin optional Protect class ownership Co-Authored-By: Claude Code <noreply@anthropic.com> --------- Co-authored-by: Nikhil Pareek <8347993+nik13@users.noreply.github.com> Co-authored-by: Claude Code <noreply@anthropic.com>
* fix(openai): attribute CometAPI requests to their provider Map the documented api.cometapi.com host without adding a separate instrumentor. Cover exact-host boundaries and sync/async chat success, streaming and errors over local OTLP/HTTP. Co-Authored-By: Claude Code <noreply@anthropic.com> * style(openai): place CometAPI before adjacent provider hosts Co-Authored-By: Claude Code <noreply@anthropic.com> --------- Co-authored-by: Nikhil Pareek <8347993+nik13@users.noreply.github.com> Co-authored-by: Claude Code <noreply@anthropic.com>
* fix(openai): attribute Novita chat requests to their provider Keep the shared OpenAI instrumentor and exact-host fallback behavior. Verify sync/async success, streams, usage and errors over local OTLP HTTP. Co-Authored-By: Claude Code <noreply@anthropic.com> * test(openai): qualify Novita host boundaries and private wire paths Keep Novita adjacent to Mistral in the explicit host map and cover port/scheme normalization, look-alike fallbacks, and hidden content. Co-Authored-By: Claude Code <noreply@anthropic.com> --------- Co-authored-by: Nikhil Pareek <8347993+nik13@users.noreply.github.com> Co-authored-by: Claude Code <noreply@anthropic.com>
… traceAI-langchain 0.2.2, Java 1.0.3 (#636) * chore(release): bump core, OpenAI, LangChain and Java patch versions Synchronize runtime versions, reactor parent references and release changelogs for #155, #348, #397, #393 and #425. Dependency floors are unchanged. Co-Authored-By: Claude Code <noreply@anthropic.com> * chore(release): list every change shipping in core 1.3.1, OpenAI 0.1.14 and Java 1.0.3 Core 1.3.1 also ships the PII-redaction scoping fixes (#195/#244) that sat under Unreleased, and the 1.3.0 heading gets its release date. OpenAI 0.1.14 also ships the Azure metadata (#154), Baseten (#541), Azure Government (#502), OpenRouter host (#547), full multi-message input (#245) and exhausted-stream changes. Java 1.0.3 also ships #543 and #605. Notes the remaining blank OTEL-env Authorization limitation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Code <noreply@anthropic.com>
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.
What this publishes
This merges dev at
da144c24into main. The Release workflow then publishes only the versions missing from their registries:fi-instrumentation-otel(PyPI)Authorizationno longer hides the FI keys (#155). PII redaction keepssession.id,user.idand conversation ids intact (#195/#244); metadata stays redacted.traceAI-openai(PyPI)openrouter.ai(#547). Azure deployment metadata (#154). Full multi-messageinput.value(#245). An exhausted multi-choice stream exports ERROR when a requested choice never finishes.traceAI-langchain(PyPI)uninstrument()restores the optional Protect method (#393).FI_HIDE_*environment flags are respected (#543). New semantic-convention constants (#605).NuGet
fi-instrumentation-otel1.0.1 stays unpublished: NuGet publishing is disabled inrelease.yml, as on main today.How it was verified
All runs were in E2B at dev
3738b98a, the code tree ofda144c24without the version bump. Each package was built, installed into a clean environment, and exercised against loopback providers and collectors with synthetic credentials.twine check. On the installed wheel, 40 of 44 HTTP cases and 44 of 44 gRPC cases pass. The 4 HTTP failures are the 2 environment-variable cases below, on each Python version.traceAI-openai0.1.13 works on the new core.Known limitation, in the core changelog: with
opentelemetry-exporter-otlp-proto-http1.45 or later, a blankAuthorization=entry inOTEL_EXPORTER_OTLP_HEADERSis still sent as an empty header. Released 1.3.0 behaves the same. Follow-up tracked separately.🤖 Generated with Claude Code