From 748e8343d9fff2a36d01f923f514f2736e24e35f Mon Sep 17 00:00:00 2001 From: Andrew Kent Date: Mon, 12 Oct 2026 11:59:46 -0600 Subject: [PATCH 1/2] docs: track SDK hook failure handling support --- .../references/features/span-customizers.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/skills/instrumentation-spec/references/features/span-customizers.md b/skills/instrumentation-spec/references/features/span-customizers.md index 8649e71..d5aa2d6 100644 --- a/skills/instrumentation-spec/references/features/span-customizers.md +++ b/skills/instrumentation-spec/references/features/span-customizers.md @@ -191,6 +191,9 @@ Customization runs on each call to the Braintrust exporter's `export` method; su - [Java implementation under review](https://github.com/braintrustdata/braintrust-sdk-java/pull/177) - [JavaScript implementation under review](https://github.com/braintrustdata/braintrust-sdk-javascript/pull/2489) +- [Python hook-failure handling under review](https://github.com/braintrustdata/braintrust-sdk-python/pull/915) +- [JavaScript hook-failure handling under review](https://github.com/braintrustdata/braintrust-sdk-javascript/pull/2614) +- [Go hook-failure handling under review](https://github.com/braintrustdata/braintrust-sdk-go/pull/268) # SDK support @@ -249,10 +252,10 @@ support: rust: "unknown" hook-failure-handling: dotnet: "unknown" - go: "unknown" + go: "yes" java: "unknown" - js: "unknown" - python: "unknown" + js: "yes" + python: "yes" ruby: "unknown" rust: "unknown" ``` From f8b06c0d2fb3b8c200b0f1dc07ff2f7a34f48ee8 Mon Sep 17 00:00:00 2001 From: Andrew Kent Date: Mon, 12 Oct 2026 12:07:31 -0600 Subject: [PATCH 2/2] docs: remove PR references and record Java and Ruby hook failure support --- .../references/features/span-customizers.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/skills/instrumentation-spec/references/features/span-customizers.md b/skills/instrumentation-spec/references/features/span-customizers.md index d5aa2d6..1825f1f 100644 --- a/skills/instrumentation-spec/references/features/span-customizers.md +++ b/skills/instrumentation-spec/references/features/span-customizers.md @@ -187,14 +187,6 @@ A thrown exception, a `null` result, or a changed protected ID strips the affect Customization runs on each call to the Braintrust exporter's `export` method; submitting a batch again invokes the hooks again, but MUST NOT produce additional hook-failure error logs. -## References - -- [Java implementation under review](https://github.com/braintrustdata/braintrust-sdk-java/pull/177) -- [JavaScript implementation under review](https://github.com/braintrustdata/braintrust-sdk-javascript/pull/2489) -- [Python hook-failure handling under review](https://github.com/braintrustdata/braintrust-sdk-python/pull/915) -- [JavaScript hook-failure handling under review](https://github.com/braintrustdata/braintrust-sdk-javascript/pull/2614) -- [Go hook-failure handling under review](https://github.com/braintrustdata/braintrust-sdk-go/pull/268) - # SDK support ```yaml @@ -253,9 +245,9 @@ support: hook-failure-handling: dotnet: "unknown" go: "yes" - java: "unknown" + java: "yes" js: "yes" python: "yes" - ruby: "unknown" + ruby: "yes" rust: "unknown" ```