You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(purchases): finish-or-remove GetPendingExecutionsTx (dead after #1037 chose per-row CAS) #1072
Closing as not_planned: GetPendingExecutionsTx is not dead code. It is actively called at internal/api/handler_purchases.go:1508 inside the executePurchase WithTx block, which is exactly the TOCTOU-closing role the comment describes. The function was either re-adopted after #1037 or the issue was filed against an intermediate state. Either way, removing it would break the duplicate-detection path.
Activity
cristim commentedon Jun 8, 2026
Closing as not_planned:
GetPendingExecutionsTxis not dead code. It is actively called atinternal/api/handler_purchases.go:1508inside theexecutePurchaseWithTx block, which is exactly the TOCTOU-closing role the comment describes. The function was either re-adopted after #1037 or the issue was filed against an intermediate state. Either way, removing it would break the duplicate-detection path.Generated by Claude Code