Skip to content

Fix/health airdrop expiry status - #272

Open
OmniZlatoon wants to merge 5 commits into
SmartDropLabs:mainfrom
OmniZlatoon:fix/health-airdrop-expiry-status
Open

Fix/health airdrop expiry status#272
OmniZlatoon wants to merge 5 commits into
SmartDropLabs:mainfrom
OmniZlatoon:fix/health-airdrop-expiry-status

Conversation

@OmniZlatoon

Copy link
Copy Markdown

Description

Hardened leader-aware job lifecycle handling and updated webhook documentation and OpenAPI event descriptions.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Files Modified

  • README.md
  • openapi.yaml
  • src/jobs/leaderAwareJob.js
  • src/services/leaderElection.js
  • test/leaderElection.test.js

Testing

  • Tested locally
  • Added unit tests
  • Tested on Stellar Testnet (for wallet/contract changes)

Code Quality checks

  • All 39 Jest test suites passed
  • All 376 tests passed
  • OpenAPI validation passed
  • No editor errors in changed source and test files

Behavioural Changes

  • Prevented overlapping leader-aware job startup and shutdown.
  • Added safe leadership state-change callback handling.
  • Ensured shutdown transitions notify consumers.
  • Documented planned webhook events and corrected event availability warnings.

Related Issues

Closes #123

@OmniZlatoon

Copy link
Copy Markdown
Author

Good morning sir @prodbycorne , please review the PR and if any further changes I am ready to solve

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

Labels

None yet

Projects

None yet

1 participant