Skip to content

build-on-ai/test_taskiq_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskIQ + Litestar Reproduction

Standalone project that mirrors the TaskIQ broker/scheduler configuration from the main on.ai codebase while keeping the rest of the stack minimal. Use it to reproduce TaskIQ scheduler or broker bugs without booting the full application.

Quickstart

export ENV=dev  # required so settings load the matching envs/dev.env file
uv sync        # or pip install -r requirements if you prefer
uv run uvicorn test_taskiq_app.main:app --reload

Workers start with:

uv run taskiq worker test_taskiq_app.tasks:taskiq_broker
uv run taskiq scheduler test_taskiq_app.tasks:taskiq_scheduler

Adjust .env values under envs/ to point at a Redis instance that matches your test scenario.

Docker Compose

Build and run the full stack (Redis, app, worker, scheduler) with:

docker compose up --build

The compose file uses uv inside the container, mirrors the debug flags from docker-compose/workers.yml, and exposes the API on port 8000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published