4.18.4 - Bugfix: Removed most of the usage of UserInfo.getSessionId() #1001
jongpie
announced in
Announcements
Replies: 1 comment
-
|
🤟🍾 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks so much to everyone that helped with troubleshooting & testing issues #761 and #964, including @krishnandusarkarprax, @JeroenSfdc, @arafesthain, @Ben-Culver, @victorkuldeep, @mmablomm, and @NitishFCTG!
Core Unlocked Package Changes
Fixed #761 and fixed #964 by updating
LoggerApex class to remove most of the usage ofSystem.UserInfo.getSessionId()- it can't cause problems if we don't use it 😆System.UserInfo.getSessionId())To help validate that this change doesn't cause any regressions, I've added some extra metadata (used only in the pipeline & testing) to recreate previously reported issues related to quiddity & user session ID:
ExampleInboundEmailService, to have a full solution to re-test. Previously, I only had the Apex classExampleInboundEmailHandler, but I needed the service itself to do a full end-to-end test.With the extra metadata in place & the changes in
Logger, everything still seems to be working as expected (without the use ofSystem.UserInfo.getSessionId()).Pipeline Changes
Pipeline overhaul: made some big restructuring of
.github/workflows/build.ymlfor maintainability and speed improvementssetup-npmandauthorize-dev-hub) for some stuff that's used throughout the build (and was previously duplicated a bunch)test-scratch-org.yml), with parameters to control scratch def file, OmniStudio toggle, optional extra-metadata directory, and Codecov togglebuild.ymlto use the new actions & workflows, which eliminates a ton of duplicationdelete-stale-scratch-orgs.yml) to delete orphaned pipeline scratch orgs older than 2 hours (it'll skip any scratch orgs tied to GitHub Actions that are still running)Installation Info
CoreUnlocked Package - no namespaceFull Changelog: v4.18.3...v4.18.4
sf package install --wait 20 --security-type AdminsOnly --package 04tg7000000Bb13AACThis discussion was created from the release 4.18.4 - Bugfix: Removed most of the usage of UserInfo.getSessionId().
Beta Was this translation helpful? Give feedback.
All reactions