Skip to content

feat(api): add blend accrue keeper - #484

Open
Adecom16 wants to merge 1 commit into
drydocs:mainfrom
Adecom16:feat/blend-accrual-keeper
Open

feat(api): add blend accrue keeper#484
Adecom16 wants to merge 1 commit into
drydocs:mainfrom
Adecom16:feat/blend-accrual-keeper

Conversation

@Adecom16

@Adecom16 Adecom16 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Closes #466

Summary

  • Add a scheduled Blend accrual keeper.
  • Discover adapters dynamically and submit accrue() only for Blend-backed adapters.
  • Add retry handling and structured failure reporting.
  • Add a protected cron endpoint and configuration.
  • Add tests and operational documentation.

Validation

  • Tests passed
  • Lint passed
  • Build passed

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

@Adecom16 is attempting to deploy a commit to the Collins' projects Team on Vercel.

A member of the Team first needs to authorize it.

@Adecom16 Adecom16 changed the title feat(api): add Blend accrual keeper feat(api): add blend accrue keeper Aug 6, 2026

@collinsezedike collinsezedike left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is failing on Test, not for a failing test (all 117 pass) but on the coverage threshold: Coverage for branches (73.95%) does not meet global threshold (76%).

accrual-keeper.ts is at 64.04% branch coverage, with 120, 126, 131, 153, 191-198, 330-375, 396-399, 405-413 uncovered. That's the retry and failure-handling logic specifically, the part covering what happens when a submission fails, which is exactly what determines whether this keeper degrades safely or silently. Please add tests covering those branches so the coverage threshold passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] TVL/APY displays can go stale indefinitely with no accrual keeper

2 participants