-
Notifications
You must be signed in to change notification settings - Fork 24
Fix grant pending status sync issue #4431
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
Conversation
Change pending_status field logic: - pending_status=None means no pending change (use current status) - pending_status=value means there''s a pending status change This fixes the issue where confirmed grants still showed as pending. Changes: - Modified Grant.pending_status field to allow null values - Removed problematic sync logic in save() method - Updated _calculate_grant_amounts to use effective status - Updated admin queries and actions to work with new logic - Updated tests to reflect new behavior Co-authored-by: Marco Acierno <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4431 +/- ##
=======================================
Coverage 94.53% 94.53%
=======================================
Files 352 352
Lines 10130 10131 +1
Branches 734 733 -1
=======================================
+ Hits 9576 9577 +1
Misses 461 461
Partials 93 93 🚀 New features to boost your workflow:
|
|
@claude test_reset_pending_status_back_to_status_action is failing as it needs to be updated with the new logic |
|
Claude finished @marcoacierno's task —— View job Fixing failing test
|
…tatus logic Update test assertions to expect pending_status=None after reset action, which aligns with the new logic where None means no pending change. Co-authored-by: Marco Acierno <[email protected]>
Fixes #4408
Summary
Test plan