Skip to content

Conversation

@chouinar
Copy link
Collaborator

Summary

Fixes #7636

Changes proposed

Remove/adjust many TODOs in the API code base

Context for reviewers

Just cleanup, I know many of these are resolved/not an issue as I wrote many of them myself. They fall into a few buckets:

  • "We'll fix this after X" - X was done, the TODO wasn't cleaned up
  • "I'll circle back to this later after more info" - we have info, they're fine to remove
  • TODOs I wrote while implementing that I missed when sending out the PR

A lot of these I wrote when the project went on hiatus last year and I had no one to consult with, and didn't know how certain elements would scale out. We know that now, no reason to leave them.

There are a few remaining TODOs that we'll make tickets for, I've put those on the linked issue, will follow up on those separately.

Comment on lines -107 to -108
# TODO - we'll switch this to use templates in the future
# so keeping this simple with html/text the same
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

By the time we use templates, we'll likely pivot entirely to a different email approach as Pinpoint is deprecated.


# TODO add check_migrations_current to config
# if check_migrations_current:
# have_all_migrations_run(engine)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The have_all_migrations_run function hasn't existed in years.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note - this file was mistakenly created in the root directory and isn't in the API folder.

Copy link
Collaborator

@jakobpederson jakobpederson left a comment

Choose a reason for hiding this comment

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

LGTM

@chouinar chouinar merged commit 8934821 into main Jan 5, 2026
1 check passed
@chouinar chouinar deleted the chouinar/7636-remove-todos branch January 5, 2026 16:20
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.

remove unnecessary todo comments and code

3 participants