Skip to content

test PR (debug) - #3

Closed
7723qqq wants to merge 1 commit into
mainfrom
feat/native-tools-fallback-telemetry
Closed

test PR (debug)#3
7723qqq wants to merge 1 commit into
mainfrom
feat/native-tools-fallback-telemetry

Conversation

@7723qqq

@7723qqq 7723qqq commented Jul 23, 2026

Copy link
Copy Markdown
Owner

debug

Each tryNative* call now records a native_tool_fallback telemetry event
with one of disabled | load_failed | function_missing | function_threw,
and logs once per (tool, reason) via console.warn so broken native
binaries are visible without spam.

The internal loader is now an explicit four-state machine
(unloaded | disabled | load_failed | loaded) so flag-off vs binary-
missing/ABI-mismatch are distinguishable in telemetry. setNativeTelemetry
is wired automatically in SDKRpcClient from the harness telemetry option,
so app code needs no change.

No new lint warnings, typecheck clean, two new vitest cover the disabled
branch and the warn-once-vs-telemetry-each-call semantics.
@7723qqq 7723qqq closed this Jul 23, 2026
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