> [!NOTE] > The pull request "[feat(core): simplify truncation logic to only keep the newest message](https://github.com/getsentry/sentry-javascript/pull/18904)" was created by @nicohrubec but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear. Closes #issue_link_here