Conversation
What was broken Wallet-admin payment amount adjustments did not trigger billing-account budget reconciliation, so BA summary rows stayed at the prior consumed amount. Root cause Finance only recalculated BA challenge and engagement ledger rows when wallet admin cancelled a payment. Amount-only edits updated finance payment rows but skipped the BA sync path. Engagement edits also left the persisted challenge fee based on the old amount. What was changed Reuse BA sync target discovery for wallet-admin amount edits. Recalculate engagement challenge_fee from the persisted markup during amount updates before syncing consumed rows. Preserve computed task payment status in challenge-generated payments so lint and existing status behavior stay aligned. Any added/updated tests Added admin service coverage for challenge and engagement amount adjustments syncing BA rows. Ran the full Jest suite, lint, and build.
PM-4972: Sync BA summary after wallet amount edits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://topcoder.atlassian.net/browse/PM-4972