Commit Graph

3 Commits

Author SHA1 Message Date
550e702b7a Fix deploy exit 1 after PASS (RETURN trap)
Some checks are pending
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint,dependency-freshness) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / web-coverage (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
sync_mcp_venv runs in the main shell, so its RETURN trap outlived the
function and fired again when main returned, with $log unset: set -u
turned a passing deploy into exit 1. Remove the temp log explicitly.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWuLpGVY9MnowhTNcM
2026-11-22 14:28:52 +01:00
e0c6f967fe Verify and probe the MCP server on deploy
The MCP venv went a month without a resync and the server crashed on
import (missing leisure_watch) while setup_mcp.sh still passed, because
it imported only the bare package.

- setup_mcp.sh now imports steam_backlog_enforcer._mcp, the module
  .mcp.json runs, and exits 1 with a FAIL line when it cannot.
- deploy.sh resyncs the MCP venv on every deploy and adds check 5:
  the server must answer an initialize request over stdio.
- scripts/mcp_probe.py is that probe (stdlib, typed).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWuLpGVY9MnowhTNcM
2026-11-22 14:22:49 +01:00
c4938dd9ee Add scripts/deploy.sh and CLAUDE.md deploy line
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / web-coverage (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Pulls ~/src/steam-backlog-enforcer, syncs units only on difference,
restarts the web unit every run and the daemon only when it predates
the last package commit, then runs four health checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:48:49 +01:00