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

Record channel status callbacks #131

Merged
merged 7 commits into from
Dec 24, 2024
Merged

Conversation

steventux
Copy link
Contributor

@steventux steventux commented Dec 23, 2024

Description

Record channel status callback data in a separate database table.

Context

After running the initial batch of notifications we needed to understand success and failure metrics from the saved data.
ChannelStatus callbacks contain a finer grained level of data which helps with understanding how a recipient has or has not been notified.

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@steventux steventux force-pushed the record-channel-status-callbacks branch 4 times, most recently from 5e88b2f to f7da73e Compare December 23, 2024 16:34
Too many concerns in the datastore module. Extract schema initialisation, we may eventually turn this into a migration module.
@steventux steventux force-pushed the record-channel-status-callbacks branch from f7da73e to 9491eed Compare December 23, 2024 16:36
@steventux steventux marked this pull request as ready for review December 23, 2024 16:39
We can save message status data or channel status data, these are stored in separate tables but essentially in the same format.
@steventux steventux force-pushed the record-channel-status-callbacks branch from 9491eed to a1c7ac9 Compare December 23, 2024 16:45
@steventux steventux requested a review from dnimmo December 23, 2024 16:48
@steventux steventux force-pushed the record-channel-status-callbacks branch from a1c7ac9 to 40cc3f7 Compare December 23, 2024 16:49
Copy link
Contributor

@dnimmo dnimmo left a comment

Choose a reason for hiding this comment

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

🚀

@steventux steventux added this pull request to the merge queue Dec 24, 2024
Merged via the queue into main with commit 32c8390 Dec 24, 2024
26 checks passed
@steventux steventux deleted the record-channel-status-callbacks branch December 24, 2024 08:07
steventux added a commit that referenced this pull request Dec 30, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jan 6, 2025
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