fix(cloud): fail closed payout availability in prod#10642
Conversation
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Validated the production fail-closed payout availability guard locally on top of current What I checked:
Result: clean from my side. The production guard is narrow and fail-closed: |
|
Reviewed this PR against its linked issue and reran focused validation in an isolated worktree after a branch-local Validation:
No code changes from me on this PR. It is still waiting on GitHub checks before merge. |
|
Review (8-agent PR sweep): CODE CORRECT + fund-safe — MERGE-AFTER-OPS-SIGN-OFF (money path).
|
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Refresh/validation update after current I merged current Focused validation on the refreshed head:
No code-behavior changes beyond the merge refresh; this still looks like a money-path PR that should wait for ops sign-off before merge. |
Summary
PAYOUT_STATUS_ASSUME_OPERATIONAL=1.Verification
bun installbun test --coverage-reporter=lcov --coverage-dir=.tmp/coverage-10621-final packages/cloud/shared/src/lib/config/deployment-environment.test.ts packages/cloud/shared/src/lib/services/__tests__/payout-status-resilience.test.ts(11 pass,0 fail,30 expect() calls)bun x biome check packages/cloud/shared/src/lib/config/deployment-environment.ts packages/cloud/shared/src/lib/config/deployment-environment.test.ts packages/cloud/shared/src/lib/services/payout-status.ts packages/cloud/shared/src/lib/services/token-redemption-secure.ts packages/cloud/shared/src/lib/services/__tests__/payout-status-resilience.test.ts .github/issue-evidence/10621-payout-assume-operational-guard.mdbun run --cwd packages/cloud/shared typecheckbun run verifypassed before the final app-smoke-only rebase: Turbo474 successful, 474 total; root audits passed;typecheck:distchecked 28 configs. After rebasing onto2f9f76fcc98, reranbun installplus the focused cloud checks above.Evidence:
.github/issue-evidence/10621-payout-assume-operational-guard.mdRefs #10621
Money-path note: please do not self-merge; this should get reviewer/operator eyes before merge.