Skip to content

feat(health): live daily spend from audit log + limits/breaker surfacing (#83) - #240

Open
blippip69 wants to merge 1 commit into
Bitcoindefi:mainfrom
blippip69:feat/passport-health-endpoint
Open

feat(health): live daily spend from audit log + limits/breaker surfacing (#83)#240
blippip69 wants to merge 1 commit into
Bitcoindefi:mainfrom
blippip69:feat/passport-health-endpoint

feat(health): derive daily/weekly spend from audit log, surface limit…

7fbfda1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 25, 2026 in 42s

Annotations

Check warning on line 64 in app/api/protocol/passport/[id]/health/route.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=Bitcoindefi_open-stellar-passport&issues=AaA6oeTXEOpv-Iua9Qbw&open=AaA6oeTXEOpv-Iua9Qbw&pullRequest=240

Check failure on line 31 in app/api/protocol/passport/[id]/health/route.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 26 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Bitcoindefi_open-stellar-passport&issues=AaA6oeTXEOpv-Iua9Qbv&open=AaA6oeTXEOpv-Iua9Qbv&pullRequest=240