Skip to content

CallableLogger database results and ignoreOrigin; Locker-safe code viewer - #1043

Draft
RajPabnani03 wants to merge 1 commit into
jongpie:mainfrom
RajPabnani03:fix/callablelogger-database-results-and-codeviewer-locker
Draft

RajPabnani03 wants to merge 1 commit into
jongpie:mainfrom
RajPabnani03:fix/callablelogger-database-results-and-codeviewer-locker

Conversation

@RajPabnani03

Copy link
Copy Markdown

Summary

Test plan

  • Jest, loggerCodeViewer: 10/10 pass; regression test fails on the old code and passes on the fix
  • Jest, full core LWC suite excluding two components: 305/305 pass
  • Prettier check and sf code-analyzer run on loggerCodeViewer: clean
  • Apex: sf apex run test --class-names CallableLogger_Tests --code-coverage --wait 30 in 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 / logEntryMetadataViewer tests when fake timers leave the Prism load promise pending past teardown.

🤖 Generated with Claude Code

… 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>
@RajPabnani03 RajPabnani03 changed the title Add CallableLogger database result and ignoreOrigin actions; fix code viewer under Lightning Locker CallableLogger database results and ignoreOrigin; Locker-safe code viewer Nov 28, 2026
@RajPabnani03

Copy link
Copy Markdown
Author

Reopening as a regular pull request for review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant