Skip to content

Add Bot Service Taskfile Commands#116

Merged
tgrunnagle merged 1 commit into
mainfrom
iss_101_2026-02-02
Feb 2, 2026
Merged

Add Bot Service Taskfile Commands#116
tgrunnagle merged 1 commit into
mainfrom
iss_101_2026-02-02

Conversation

@tgrunnagle
Copy link
Copy Markdown
Owner

Closes #101

Summary

Adds Taskfile commands for running the Bot Service, completing the infrastructure setup for the "Add Bots to End-User Games" feature. This enables developers to easily start the service in both production and development modes.

Changes Made

Taskfile.yml

  • Added bot2:service task to run the Bot Service via uv run python -m bot.service
  • Added bot2:service:dev task with auto-reload for development using uvicorn's --reload flag
  • Both tasks include bot2:install as a dependency to ensure packages are installed

Testing

  • Verify with task bot2:service - service starts on default port 8080
  • Verify with task bot2:service:dev - service starts with hot-reload enabled
  • Health check: curl http://localhost:8080/health returns {"status": "healthy"}

Additional Notes

  • Dependencies (fastapi>=0.115.0, uvicorn>=0.34.0) were already added to bot2/pyproject.toml in a previous PR
  • This is the final task in the "Add Bots to End-User Games" epic (Epic: Add Bots to End-User Games #95)
  • Service respects environment variables: BOT_SERVICE_PORT, BOT_SERVICE_HOST, GAME_SERVER_HTTP_URL, GAME_SERVER_WS_URL

@tgrunnagle tgrunnagle merged commit 219d1c2 into main Feb 2, 2026
4 of 5 checks passed
@tgrunnagle tgrunnagle deleted the iss_101_2026-02-02 branch February 2, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Taskfile & Dependencies

1 participant