Skip to content

Cascade Deletes#70

Merged
calebsyring merged 3 commits into
masterfrom
66-cascade-deletes
Feb 16, 2026
Merged

Cascade Deletes#70
calebsyring merged 3 commits into
masterfrom
66-cascade-deletes

Conversation

@calebsyring
Copy link
Copy Markdown
Owner

@calebsyring calebsyring commented Feb 11, 2026

fixes #66

@calebsyring calebsyring self-assigned this Feb 11, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.29%. Comparing base (220c752) to head (7e333a1).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   91.42%   92.29%   +0.87%     
==========================================
  Files          15       15              
  Lines         618      662      +44     
  Branches       42       44       +2     
==========================================
+ Hits          565      611      +46     
+ Misses         47       46       -1     
+ Partials        6        5       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@calebsyring calebsyring marked this pull request as ready for review February 11, 2026 22:41
@JohnBrennan95 JohnBrennan95 self-requested a review February 13, 2026 15:51
Copy link
Copy Markdown
Collaborator

@JohnBrennan95 JohnBrennan95 left a comment

Choose a reason for hiding this comment

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

Just saw the single page issue. Not sure if this will be a major concern.

Comment thread src/critic/tables.py
]

@classmethod
def get_due_since(cls, timestamp: datetime) -> list[UptimeMonitorModel]:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

After looking into this a bit, it appears that DDB will only return 1 MB of data on a response, which could lead to loss of information. If there are multiple pages of data, we will need to use a 'LastEvaluatedKey' provided by DDB if it needs to create a next page for the query. Idk how much data we are expecting to be returned, so this may not be a major issue. We could probably loop over it I would imagine.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Good call. I'm going to create a separate issue for this since the problem spans more than this PR.

@calebsyring calebsyring merged commit 6b52ea8 into master Feb 16, 2026
5 checks passed
@calebsyring calebsyring deleted the 66-cascade-deletes branch February 16, 2026 17:14
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.

Cascade Deletes

2 participants