Skip to content

Add listener uptime to health information - #656

Merged
Abd-Standard merged 3 commits into
Core-Foundry:mainfrom
najeebullahii:issue-622-listener-uptime
Sep 1, 2026
Merged

Add listener uptime to health information#656
Abd-Standard merged 3 commits into
Core-Foundry:mainfrom
najeebullahii:issue-622-listener-uptime

Conversation

@najeebullahii

Copy link
Copy Markdown
Contributor

Summary

  • expose listener process uptime as uptimeSeconds on GET /health
  • document that uptime is measured in seconds from process startup
  • add endpoint coverage for the returned uptime value

Fixes #622

Validation

  • Editor diagnostics: no errors in changed TypeScript files
  • Focused Jest test blocked by pre-existing syntax errors in jest.config.js and events-server.ts
  • Listener typecheck blocked by pre-existing syntax errors in template-related files

@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@najeebullahii 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

- Added PROCESS_START_TIME constant to track startup time in index.ts
- Extended HealthReport interface to include uptimeMs (documented in milliseconds)
- Injected getUptimeMs callback into NotificationHealthMonitor
- Added unit test to verify uptimeMs is correctly returned in the health report
- Fixed pre-existing syntax error (unclosed try block) in index.ts
- Fixed pre-existing syntax error in listener/jest.config.js (missing comma, duplicate keys)

Closes Core-Foundry#622
@najeebullahii
najeebullahii force-pushed the issue-622-listener-uptime branch from daa0dc3 to 74de05b Compare August 28, 2026 19:37
@Abd-Standard
Abd-Standard merged commit 060e622 into Core-Foundry:main Sep 1, 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

Development

Successfully merging this pull request may close these issues.

Add Listener Uptime to Health Information

2 participants