From 812656e28ef37685569f8b9253eac936da23971c Mon Sep 17 00:00:00 2001 From: demo-bot Date: Sun, 9 Aug 2026 15:52:39 +0000 Subject: [PATCH] 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. --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f4ac408..d644c83 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ -.PHONY: format lint type test check docker-build +.PHONY: install format lint type test verify image +install: + python -m pip install -e '.[dev]' format: ruff format . lint: + ruff format --check . ruff check . type: - mypy app + mypy src test: pytest -q -check: lint type test -docker-build: - docker build -t endpoint-monitor:local . +verify: lint type test +image: + docker build -t endpoint-monitor .