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

chore: refactor setting step description, etc, to common code #389

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

bengerman13
Copy link
Contributor

Changes proposed in this pull request:

  • centralize where + how we set step description
  • fix some alerts from flake8

Things to check

  • For any logging statements, is there any chance that they could be logging sensitive data?
  • Are log statements using a logging library with a logging level set? Setting a logging level means that log statements "below" that level will not be written to the output. For example, if the logging level is set to INFO and debugging statements are written with log.debug or similar, then they won't be written to the otput, which can prevent unintentional leaks of sensitive data.

Security considerations

None

@bengerman13 bengerman13 requested a review from a team as a code owner September 21, 2024 00:53
markdboyd
markdboyd previously approved these changes Sep 23, 2024
def delete_health_check_alarms(operation_id: int, **kwargs):
operation = db.session.get(Operation, operation_id)
@pipeline_operation("Updating Cloudwatch alarms for Route53 health checks")
def update_health_check_alarms(operation_id: int, *, operation, db, **kwargs):
Copy link
Contributor

Choose a reason for hiding this comment

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

This task should be removed

@bengerman13 bengerman13 merged commit 07ef36e into main Sep 23, 2024
@bengerman13 bengerman13 deleted the bb/remove-boilerplate branch September 23, 2024 18:07
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