Repository navigation
CallableLogger database results and ignoreOrigin; Locker-safe code viewer - #1043
Draft
RajPabnani03 wants to merge 1 commit into
Draft
RajPabnani03 wants to merge 1 commit into
RajPabnani03 wants to merge 1 commit into
Conversation
… viewer under Lightning Locker CallableLogger now accepts databaseResult and databaseResultList inputs for newEntry, dispatching to the matching LogEntryEventBuilder.setDatabaseResult overloads, and an ignoreOrigin action that excludes a wrapper class from origin and stack trace. loggerCodeViewer clears its container with textContent instead of replaceChildren, which Lightning Locker does not support. Co-Authored-By: Claude Code <noreply@anthropic.com>
Author
|
Reopening as a regular pull request for review. |
This branch has not been deployed
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.
Summary
CallableLogger:newEntryacceptsdatabaseResult/databaseResultListand dispatches to the matchingLogEntryEventBuilder.setDatabaseResultoverloads (7Databaseresult types, single and list). Adds anignoreOriginaction that excludes a wrapper class from origin and stack trace. Closes CallableLogger: accept database results innewEntry, and add anignoreOriginaction #1036.loggerCodeViewer: clears the container withtextContentinstead ofreplaceChildren, which Lightning Locker does not support. Adds a regression test that simulates Locker. Closes loggerCodeViewer fails under Lightning Locker: replaceChildren is not a function (v4.19.0+) #1034.nebula-logger-instrumentationSKILL.md document the new keys and action. The globalCallableLogger.callsignature is unchanged.Test plan
loggerCodeViewer: 10/10 pass; regression test fails on the old code and passes on the fixsf code-analyzer runonloggerCodeViewer: cleansf apex run test --class-names CallableLogger_Tests --code-coverage --wait 30in a scratch org. Not yet run, so this PR is a draft until it passes.Known, not from this PR: the full LWC suite crashes in
logViewer/logEntryMetadataViewertests when fake timers leave the Prism load promise pending past teardown.🤖 Generated with Claude Code