Skip to content

Fix arbitrary audit log ordering in 'get_id_change_date'#73

Merged
ivanb777 merged 3 commits intomainfrom
minor-fix-and-update-241126
Nov 28, 2024
Merged

Fix arbitrary audit log ordering in 'get_id_change_date'#73
ivanb777 merged 3 commits intomainfrom
minor-fix-and-update-241126

Conversation

@ivanb777
Copy link
Copy Markdown
Contributor

@ivanb777 ivanb777 commented Nov 26, 2024

The get_id_change_date method retrieves the actual timestamp of modified member attributes using audit logs. However, the ordering of audit logs was not explicitly defined, leading to potential inconsistencies in the returned modification timestamp. This issue could negatively impact the sync process by relying on incorrect timestamps.

This fix ensures that audit logs are properly ordered, guaranteeing the accurate modification timestamp – improving the reliability of the sync process.

@ivanb777 ivanb777 changed the title Fix arbitrary audit log ordering in Fix arbitrary audit log ordering in 'get_id_change_date' Nov 26, 2024
@ivanb777 ivanb777 force-pushed the minor-fix-and-update-241126 branch from 8884bc1 to 0cc4090 Compare November 26, 2024 23:37
@ivanb777 ivanb777 force-pushed the minor-fix-and-update-241126 branch from 0cc4090 to 4553c5a Compare November 26, 2024 23:42
Comment thread app/lib/identity_tijuana/member_sync.rb
Comment thread app/lib/identity_tijuana/member_sync.rb
Comment thread app/lib/identity_tijuana/member_sync.rb
Comment thread spec/lib/identity_tijuana_member_sync_spec.rb Outdated
@ivanb777 ivanb777 force-pushed the minor-fix-and-update-241126 branch from 4553c5a to 02fdc7e Compare November 27, 2024 06:42
Comment thread app/lib/identity_tijuana/member_sync.rb
Comment thread app/lib/identity_tijuana/member_sync.rb
@ivanb777 ivanb777 force-pushed the minor-fix-and-update-241126 branch from 02fdc7e to e7726fa Compare November 28, 2024 05:05
– Add tests for 'get_id_change_date'
– Minor code fixes
Copy link
Copy Markdown
Contributor

@michael-gratton michael-gratton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this deployed to staging!

Comment thread app/lib/identity_tijuana/member_sync.rb
@ivanb777 ivanb777 merged commit 53b5e6c into main Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants