Skip to content

Fix lease extension expiry index transaction#43

Draft
asg0451 wants to merge 1 commit into
masterfrom
cursor/fix-lease-extension-expiry-index-transaction-e78f
Draft

Fix lease extension expiry index transaction#43
asg0451 wants to merge 1 commit into
masterfrom
cursor/fix-lease-extension-expiry-index-transaction-e78f

Conversation

@asg0451

@asg0451 asg0451 commented Aug 23, 2025

Copy link
Copy Markdown
Owner

Fix expire_due_leases to accurately count processed leases by only incrementing for actual expirations, resolving the extend_existing_lease_updates_expiry_index test failure.

The expire_due_leases function was incorrectly incrementing its processed counter when cleaning up stale or superseded lease expiry index entries, rather than only when a lease genuinely expired and was requeued. This led to an overcount, causing the extend_existing_lease_updates_expiry_index test to fail.


Open in Cursor Open in Web

Co-authored-by: miles.frankel <miles.frankel@gmail.com>
@cursor

cursor Bot commented Aug 23, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@asg0451
asg0451 force-pushed the master branch 2 times, most recently from 9730d12 to 3ed3698 Compare August 28, 2025 15:10
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