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:52:45 +00:00
parent d3362b68d1
commit e36d170856

View File

@@ -3,19 +3,17 @@ on:
push: push:
pull_request: pull_request:
jobs: jobs:
validate: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:
python-version: '3.12' python-version: "3.12"
cache: pip cache: pip
- run: python -m pip install -e '.[dev]' - run: pip install -e '.[dev]'
- run: ./scripts/validate.sh - run: ruff format --check .
- run: docker build -t endpoint-monitor:${{ github.sha }} . - run: ruff check .
- run: | - run: mypy src
docker run -d --name endpoint-monitor -p 8000:8000 endpoint-monitor:${{ github.sha }} - run: pytest -q
for i in $(seq 1 20); do curl -fsS http://127.0.0.1:8000/healthz && exit 0; sleep 1; done - run: docker build -t endpoint-monitor .
docker logs endpoint-monitor
exit 1