Skip to content

Loan liquidation monitor: wire alerting and add dry-run mode #593

Closed

Description

@robertocarlous

Context

src/jobs/loanLiquidationMonitor.ts (261 lines) + src/lending/liquidation.ts are new.

Proposal

  • Emit PagerDuty/Slack alerts via src/services/alerting.ts when a loan crosses the liquidation threshold and when liquidation succeeds/fails
  • Add a LIQUIDATION_DRY_RUN env flag that logs intended liquidations without executing transfers
  • Admin endpoint or runbook hook to force-liquidate with idempotency key

Acceptance criteria

  • Dry-run mode tested
  • Alert on liquidation failure within 1 minute
  • Runbook section in docs/LENDING.md

Activity

  1. esegbueadam-sys commented on Oct 19, 2026

    @esegbueadam-sys

    @esegbueadam-sys has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi, maintainer. I would like to work on your issue.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @esegbueadam-sys to this issue.

  2. coderDom-x commented on Oct 19, 2026

    @coderDom-x
    Contributor

    @coderDom-x has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    can i work on this

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @coderDom-x to this issue.

  3. drips-wave commented on Oct 19, 2026

    @drips-wave

    Congratulations, @coderDom-x! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @coderDom-x: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  4. added a commit that references this issue on Oct 20, 2026
    5bb4a5c
  5. grantfox-oss commented on Oct 20, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @coderDom-x's PR #630 was approved and merged by @robertocarlous.

    🏆 @coderDom-x: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (602 total points). Track your full progress on GrantFox.

    👏 Great work, @coderDom-x! Keep contributing to Neurowealth.

  6. drips-wave commented on Oct 20, 2026

    @drips-wave

    This issue has been completed by @coderDom-x as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @coderDom-x: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions