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
main red: scope matrix mocks use the pre-#416 approve signature #439
Emergent conflict between two PRs that were each green alone. #416 (merged just before #381) changed ApproveAndExecute and RunPlannedPurchaseNow to return (string, error) and started storing approval tokens hashed (config.HashApprovalToken). #381's new internal/api/execution_scope_test.go still:
stubs ApproveAndExecute / RunPlannedPurchaseNow with the old single-value Return(err) shape, so the mock panics on args.String(0);
stores the raw "email-token" in exec.ApprovalToken in TestRevoke_AuthorizedNonRevocableStatusIs409, so the token cases get 403 "invalid revocation token" instead of the expected 409 (hidden behind the panic until (1) is fixed).
Repro: go test -race -short -run TestExecutionEndpoints_ScopeMatrix ./internal/api/ on origin/main.
Activity
fix(server): report the ladder plan's net existing commitment (#1461)