Spaces:
Sleeping
Sleeping
Commit History
-
CI: Fix flake8 to exclude dev-tools directory (resolves lint errors)
Tobias Pasqualec260a07 -
Comprehensive memory optimizations and embedding service updates (#74)
Seth McKnight +1: Copilot* feat: Disable embedding generation on startup * feat: Complete memory optimization for Render free tier - Fix critical bug: Change default embedding model to paraphrase-albert-small-v2 - Add pre-built embeddings database (98 chunks, 768-dim) - Optimize Gunicorn config for single worker + threads - Reduce batch sizes for memory efficiency - Add Python memory optimization env vars - Disable startup embedding generation - Add build_embeddings.py script for local database rebuilding - Update Makefile with build-embeddings target Expected memory savings: ~300MB from model change + startup optimization * feat: Add comprehensive memory monitoring and optimization - Add memory monitoring utilities with usage tracking and cleanup - Implement memory-aware service loading with MemoryManager - Add enhanced health endpoint with memory status reporting - Optimize Gunicorn config with reduced connection limits and frequent restarts - Add production environment variables to limit thread usage -…32e4125
-
Update CI/CD workflow and enhance contributing guidelines (#51)
Seth McKnight +1: Copilot* chore: Update CI/CD workflow to support multiple Python versions and add contributing guidelines - Modify CI/CD workflow to enforce Python 3.x and support versions 3.10, 3.11, and 3.12. - Add a new yamllint configuration file for consistent YAML formatting. - Create a contributing guide with setup instructions and CI expectations. - Enhance README with instructions for creating a reproducible Python environment using pyenv and venv. - Introduce a dev-setup script to automate environment setup. - Ensure project root and source paths are included in test configurations. * Update dev-setup.sh Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix: Update Python version in CI configuration to 3.10 * fix: Disable ChromaDB anonymized telemetry for local development * ci: quote python versions in workflow matrix to avoid YAML float parsing --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>29c3655
-
ci: treat Render 'live' status as success in deploy polling (#7)
Seth McKnight9627f08 -
Update deployment documentation and validate CI/CD checks (#6)
Seth McKnight* ci: test CI/CD checks * Update deployment documentation and mark deployment validation as complete * ci: remove duplicate pre-commit-check job * ci: ensure fetch-depth is set to 0 for all checkout stepsdf316c5 -
Setup ci cd (#5)
Seth McKnight +1: Copilot* Add CI/CD workflow and Dockerfile for application deployment * Update Dockerfile Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: add .dockerignore, run.sh; tighten Dockerfile; address PR review comments * chore: bind gunicorn to PORT env var for Render compatibility * ci: add deploy-to-render job (triggers Render deploy and runs smoke test) * chore: add render.yaml and create post-deploy PR step to update deployed.md * ci: skip deploy on [skip-deploy] commits; add exponential backoff to deploy poll; mark post-deploy commit to skip deploy * Update .github/workflows/main.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .github/workflows/main.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .github/workflows/main.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * ci: use BACKOFF_STEP and BACKOFF_MAX variables in deploy polling loop * Update .github/workf…9c1cf16 -
Add CI/CD workflow and Dockerfile for application deployment (#2)
Seth McKnight +1: Copilot* Add CI/CD workflow and Dockerfile for application deployment * Update Dockerfile Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: add .dockerignore, run.sh; tighten Dockerfile; address PR review comments * chore: bind gunicorn to PORT env var for Render compatibility * ci: add deploy-to-render job (triggers Render deploy and runs smoke test) * chore: add render.yaml and create post-deploy PR step to update deployed.md * ci: skip deploy on [skip-deploy] commits; add exponential backoff to deploy poll; mark post-deploy commit to skip deploy * Update .github/workflows/main.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .github/workflows/main.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .github/workflows/main.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * ci: use BACKOFF_STEP and BACKOFF_MAX variables in deploy polling loop * Update .github/workf…c4b28eb