Major Domo v2 - Discord bot for Strat-o-Matic Baseball Association
Go to file
Cal Corum dea8b39391 perf: eliminate redundant GET after create/update and parallelize stats (#95)
- custom_commands_service: return POST response directly from create_command()
  instead of a follow-up GET by_name
- custom_commands_service: return PUT response directly from update_command()
  instead of a follow-up GET by_name
- custom_commands_service: avoid GET after PUT in get_or_create_creator() by
  constructing updated creator from model_copy()
- custom_commands_service: return POST response directly from get_or_create_creator()
  creator creation instead of a follow-up GET
- custom_commands_service: parallelize all 9 sequential API calls in
  get_statistics() with asyncio.gather()
- help_commands_service: return POST response directly from create_help()
  instead of a follow-up GET by_name
- help_commands_service: return PUT response directly from update_help()
  instead of a follow-up GET by_name
- tests: update test_update_help_success to mock PUT returning dict data

Closes #95

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 13:09:04 -05:00
.gitea/workflows ci: remove pull_request trigger from Docker build workflow 2026-03-20 12:43:38 -05:00
.scripts feat: add local deploy script for production deploys 2026-02-19 21:45:56 -06:00
.vscode VS Code Settings 2025-11-06 21:50:47 -06:00
api fix: address 7 security issues across the codebase 2026-02-20 09:54:53 -06:00
commands perf: parallelize independent API calls (#90) 2026-03-20 17:48:10 +00:00
models fix: key plays score text shows "tied at X" instead of "Team up X-X" (closes #48) 2026-03-01 15:36:38 -06:00
services perf: eliminate redundant GET after create/update and parallelize stats (#95) 2026-03-20 13:09:04 -05:00
tasks perf: parallelize independent API calls (#90) 2026-03-20 17:48:10 +00:00
tests perf: eliminate redundant GET after create/update and parallelize stats (#95) 2026-03-20 13:09:04 -05:00
utils perf: cache inspect.signature() at decoration time (#97) 2026-03-20 17:45:06 +00:00
views Merge main into next-release 2026-03-17 11:28:05 -05:00
.dockerignore Add debug directory to .gitignore and .dockerignore 2025-10-24 00:06:34 -05:00
.gitignore fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
bot.py cleanup: remove dead maintenance mode artifacts in bot.py (#104) 2026-03-20 10:32:52 -05:00
CLAUDE.md Merge main into next-release 2026-03-17 11:28:05 -05:00
COMMAND_LIST.md CLAUDE: Add comprehensive scorecard submission system 2025-10-16 00:21:32 -05:00
config.py fix: batch quick-wins — 4 issues resolved (closes #37, #27, #25, #38) 2026-02-20 11:48:16 -06:00
docker-compose.dev.yml CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
docker-compose.yml fix: split read-only data volume to allow state file writes (#85) 2026-03-17 13:34:43 -05:00
DOCKER.md CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
Dockerfile CLAUDE: Add comprehensive Docker deployment infrastructure 2025-10-16 00:54:56 -05:00
exceptions.py CLAUDE: Add comprehensive scorecard submission system 2025-10-16 00:21:32 -05:00
pyrightconfig.json CLAUDE: Convert constants to configurable environment variables 2025-10-16 10:40:22 -05:00
requirements-dev.txt chore: pin all Python dependency versions in requirements.txt (#76) 2026-03-10 01:03:27 -05:00
requirements.txt chore: pin all Python dependency versions in requirements.txt (#76) 2026-03-10 01:03:27 -05:00
VERSION Bump version to 2.29.9 2026-02-15 22:58:55 -06:00