Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tracking of logging user's federation identifier #682

Merged
merged 6 commits into from
Apr 29, 2024

Conversation

jongpie
Copy link
Owner

@jongpie jongpie commented Apr 26, 2024

Metadata changes

  • Added new long textarea (512) fields LoggedByFederationIdentifier__c on LogEntryEvent__e and Log__c to track the value of Schema.User.FederationIdentifier for the logging user
  • Added new field Log__c.HasLoggedByFederationIdentifier__c to make it easier to filter/identify records where the user's federation ID has been populated
  • Renamed the Big Object index LogEntryArchiveIndex.indexe-meta.xml to LogEntryArchiveIndex.index-meta.xml (indexe --> index) to fix an issue with newer versions of the sf cli

Pipeline changes

  • Deleted several old scripts in package.json and in the directory ./scripts/build
  • Upgraded package dependencies & regenerated package-lock.json
  • Tweaked config in .prettierrc
  • Updated GitHub Actions in build.yml to use v4 (compatible with Node 20)

…and Log__c to track the value of Schema.User.FederationIdentifier for the logging user
@jongpie jongpie added enhancement New feature or request reporting Anything related to reports, dashboards, and the underlying data model log management Items related to the custom objects & Logger Console app labels Apr 26, 2024
@jongpie jongpie force-pushed the feature/track-user-federation-identifier branch 2 times, most recently from 92de579 to d32c507 Compare April 26, 2024 16:50
@jongpie jongpie had a problem deploying to Experience Cloud Scratch Org April 26, 2024 16:55 — with GitHub Actions Failure
@jongpie jongpie had a problem deploying to Experience Cloud Scratch Org April 26, 2024 17:17 — with GitHub Actions Failure
@jongpie jongpie had a problem deploying to Experience Cloud Scratch Org April 26, 2024 19:55 — with GitHub Actions Failure
@jongpie jongpie had a problem deploying to Experience Cloud Scratch Org April 26, 2024 19:56 — with GitHub Actions Failure
@jongpie jongpie had a problem deploying to Experience Cloud Scratch Org April 26, 2024 20:05 — with GitHub Actions Failure
@jongpie jongpie force-pushed the feature/track-user-federation-identifier branch from d32c507 to 8e6730e Compare April 26, 2024 20:53
@jongpie jongpie had a problem deploying to Experience Cloud Scratch Org April 26, 2024 20:57 — with GitHub Actions Failure
@jongpie jongpie force-pushed the feature/track-user-federation-identifier branch from 8e6730e to 34673af Compare April 27, 2024 02:09
@jongpie jongpie had a problem deploying to Experience Cloud Scratch Org April 27, 2024 02:13 — with GitHub Actions Failure
…ncies & regenerated package-lock.json, tweaked config in .prettierrc
@jongpie jongpie force-pushed the feature/track-user-federation-identifier branch from 34673af to b98864a Compare April 27, 2024 02:22
@jongpie jongpie temporarily deployed to Experience Cloud Scratch Org April 27, 2024 02:26 — with GitHub Actions Inactive
@jongpie jongpie force-pushed the feature/track-user-federation-identifier branch from c41aed8 to 9eedbd8 Compare April 27, 2024 13:52
@jongpie jongpie temporarily deployed to Experience Cloud Scratch Org April 27, 2024 13:56 — with GitHub Actions Inactive
@jongpie jongpie force-pushed the feature/track-user-federation-identifier branch from 9eedbd8 to f70d9bc Compare April 27, 2024 14:14
@jongpie jongpie temporarily deployed to Experience Cloud Scratch Org April 27, 2024 14:17 — with GitHub Actions Inactive
@jongpie jongpie changed the title Adding tracking of Schema.User.FederationIdentifier Added tracking of Schema.User.FederationIdentifier Apr 27, 2024
@jongpie jongpie changed the title Added tracking of Schema.User.FederationIdentifier Added tracking logging user's federation identifier Apr 27, 2024
@jongpie jongpie changed the title Added tracking logging user's federation identifier Added tracking of logging user's federation identifier Apr 28, 2024
@jongpie jongpie force-pushed the feature/track-user-federation-identifier branch from f3aa367 to 15d2304 Compare April 28, 2024 22:20
@jongpie jongpie temporarily deployed to Experience Cloud Scratch Org April 28, 2024 22:23 — with GitHub Actions Inactive
Copy link

codecov bot commented Apr 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.67%. Comparing base (18b4b52) to head (15d2304).

❗ Current head 15d2304 differs from pull request most recent head 08bcdbf. Consider uploading reports for the commit 08bcdbf to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #682   +/-   ##
=======================================
  Coverage   95.67%   95.67%           
=======================================
  Files          50       50           
  Lines        5597     5597           
=======================================
  Hits         5355     5355           
  Misses        242      242           
Flag Coverage Δ
Apex 95.67% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jongpie jongpie merged commit 4d56ecb into main Apr 29, 2024
1 check passed
@jongpie jongpie deleted the feature/track-user-federation-identifier branch April 29, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request log management Items related to the custom objects & Logger Console app reporting Anything related to reports, dashboards, and the underlying data model
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants