decomposer: generate deliverable files for Define the service contract and project architecture for the FastAPI endpoint monitoring service.; Implement the typed monitor CRUD API and concurrency-safe in-memory state according to the service design.; Implement secure on-demand endpoint checks with status updates, latency measurement, robust error handling, and redacted structured logs.; Add operational API endpoints and environment-driven runtime configuration to the monitoring service.; Create automated tests for the monitoring service.; Package the service with Docker and developer documentation.; Validate the complete project.
Some checks failed
ci / test (push) Has been cancelled

This commit is contained in:
2026-08-09 15:54:48 +00:00
parent b77d650fb3
commit c7f56c6762

View File

@@ -1,44 +1,36 @@
[build-system]
requires = ["hatchling>=1.25"]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "endpoint-monitor"
version = "1.0.0"
description = "Secure process-local FastAPI endpoint monitor"
readme = "README.md"
version = "0.1.0"
description = "Process-local FastAPI endpoint monitoring service"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.115,<1",
"httpx>=0.27,<1",
"pydantic-settings>=2.5,<3",
"uvicorn[standard]>=0.30,<1",
"pydantic-settings>=2.6,<3",
"uvicorn[standard]>=0.32,<1",
]
[project.optional-dependencies]
dev = [
"mypy>=1.11,<2",
"pytest>=8.3,<9",
"pytest-asyncio>=0.24,<1",
"ruff>=0.6,<1",
]
dev = ["pytest>=8.3,<9", "pytest-asyncio>=0.24,<1", "ruff>=0.8,<1", "mypy>=1.13,<2"]
[tool.hatch.build.targets.wheel]
packages = ["src/endpoint_monitor"]
packages = ["app"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "--strict-markers"
[tool.ruff]
target-version = "py312"
line-length = 160
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "ASYNC"]
select = ["E", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.12"
strict = true
packages = ["endpoint_monitor"]
plugins = ["pydantic.mypy"]