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(exchange): persist an audit-trail record for manual/direct-API RI exchange executes (AWS + Azure) #82
Neither the AWS executeExchange handler (internal/api/handler_ri_exchange.go) nor the new Azure executeAzureExchange handler (PR LeanerCloud/cloud-commitments-cli#1515, closes LeanerCloud/cloud-commitments-cli#596) writes a ledger/audit row when an exchange is executed directly via the API (as opposed to the approve/reject scheduled-exchange flow, which does persist via RIExchangeRecord / ExecuteApprovedExchange).
This is a parity gap for both providers, not something LeanerCloud/cloud-commitments-cli#596 introduced -- the AWS direct-execute path already has the same gap.
Scope
Decide whether direct-API executes should write to the same ri_exchange_history (or equivalent) table the scheduled-approval flow uses, or a separate audit log.
Activity