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

Add lock reminder #191

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Conversation

mm-derek
Copy link

@mm-derek mm-derek commented Jul 29, 2024

This is a work in progress. Please feel free to use, or contribute to this PR to make it suitable for general use.

Feature: Send reminder message for locked resources

This is a Lambda function that reminds users periodically if they have any active Lockbot locks.

It works by getting the list of active locks from the Lockbot database, and parsing the data to
determine if a user has had an active lock for more than a configured amount of time; for each such
user, it sends them a private reminder message on Slack.

This function is triggered by a timer so that it runs at a regular interval.

NOTE: This function does not store any record of whether a user has already been reminded, so it
must be scheduled to run at an interval that is frequent enough to notify a user within a reasonable
amount of time of the configured threshold, while also not sending reminders too frequently.


Closes #49

Copy link

Copy link

sonarqubecloud bot commented Dec 9, 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.

Feature: Get automatic reminders of the resources you are currently locking
1 participant