Skip to content

Per-webhook timeout, watched-asset validation, structured error codes, ESLint CI step - #259

Merged
ritaifeoluwa merged 1 commit into
SmartDropLabs:mainfrom
adenikeakan:fix/228-229-230-231-batch
Aug 26, 2026
Merged

Per-webhook timeout, watched-asset validation, structured error codes, ESLint CI step#259
ritaifeoluwa merged 1 commit into
SmartDropLabs:mainfrom
adenikeakan:fix/228-229-230-231-batch

Conversation

@adenikeakan

Copy link
Copy Markdown
Contributor

Summary

Issues

Closes #228
Closes #229
Closes #230
Closes #231

Test plan

  • node -c on all touched JS files

- webhookDispatcher.js: postOnce accepts a per-webhook timeoutMs
  override, falling back to the global config default, instead of a
  single global timeout for every subscriber
- schemas.js: alert creation now rejects asset codes not present in
  config.watchedAssets (when that list is configured), instead of
  accepting any string silently
- errorHandler.js: the generic status-based fallback branch now maps
  common HTTP statuses (400/401/403/404/429) to their matching
  structured error code instead of hardcoding every one as FORBIDDEN
- eslint.config.js + ci.yml: adds a minimal ESLint flat config and a
  non-blocking lint step in CI as a starting point

Closes SmartDropLabs#228
Closes SmartDropLabs#229
Closes SmartDropLabs#230
Closes SmartDropLabs#231
@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@adenikeakan Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ritaifeoluwa
ritaifeoluwa merged commit 63778e8 into SmartDropLabs:main Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants