Repository navigation
fix(server-utils): Make the Flue instrumentation assignable to Flue's instrument() - #26896
Merged
logaretm merged 1 commit intoNov 25, 2026
Conversation
… `instrument()` The index signatures on the vendored Flue types made Flue's own types unassignable to them, so `instrument(createFlueInstrumentation())` failed to type-check. `FlueEventContext.agentName` also has to accept an explicit `undefined` for `exactOptionalPropertyTypes`. The node-flue e2e app now type-checks as part of its build. Closes #26888
Contributor
size-limit report 📦Compared: e681c84 (PR test merge using develop at 57ff420) Against: 57ff420 (develop) · base run #67979 ✅ Baseline matches: this diff contains only this PR's changes.
|
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 1 not successful, 74 successful. See the run.
Successful checks
|
logaretm
marked this pull request as ready for review
November 25, 2026 16:51
javascript-sdk-gitflow
Bot
requested review from
JPeer264,
RulaKhaled and
timfish
November 25, 2026 16:52
nicohrubec
approved these changes
Nov 25, 2026
logaretm
deleted the
awad/js-4161-flue-integration-not-type-checking-with-flue-231
branch
November 25, 2026 17:05
51 tasks done
3 tasks done
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.
Index signatures on our vendored Flue types made Flue's own types unassignable to them, so
instrument(createFlueInstrumentation())failed to type-check, fixed by dropping them.The node-flue e2e app now type-checks during its build, which fails before the fix.
closes #26888