Skip to content

feat: add background jobs module for health monitoring#7

Merged
IonesioJunior merged 2 commits intomainfrom
active-job
Jan 15, 2026
Merged

feat: add background jobs module for health monitoring#7
IonesioJunior merged 2 commits intomainfrom
active-job

Conversation

@IonesioJunior
Copy link
Copy Markdown
Member

@IonesioJunior IonesioJunior commented Jan 15, 2026

This pull request introduces a new background job system for periodic endpoint health monitoring in the backend, along with several supporting infrastructure changes and dependency updates. The health monitor checks the reachability of all registered endpoints and updates their status accordingly. Additionally, Python 3.9 support is dropped in favor of 3.10+, and related configuration files are updated.

New Feature: Endpoint Health Monitoring

  • Adds a background job (EndpointHealthMonitor) that periodically checks the health of all registered endpoints by making HTTP requests to their connection URLs and updates their is_active status based on reachability. This includes configuration options for enabling/disabling the monitor, setting intervals, timeouts, and concurrency. [1] [2] [3] [4] [5]

Configuration and Dependency Updates

  • Drops support for Python 3.9 and updates all relevant configuration files (pyproject.toml, CI workflow) to require Python 3.10 or higher. [1] [2] [3] [4]

Testing

  • Adds a test module docstring for background jobs.

Codebase Infrastructure

  • Updates the application startup and shutdown logic to initialize and gracefully shut down the health monitoring background task. [1] [2]

@IonesioJunior IonesioJunior merged commit 74729fd into main Jan 15, 2026
7 of 10 checks passed
@IonesioJunior IonesioJunior deleted the active-job branch January 15, 2026 16:37
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.

1 participant