mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-11-22 13:29:19 +08:00
## Description Removes the `crewai` extra. Every CrewAI release requires `chromadb`, which has unpatched advisories in its server, so the extra kept CrewAI, ChromaDB and about 40 other packages in `uv.lock` and in Headroom's Dependabot alerts. Headroom never imports ChromaDB or runs a ChromaDB server, and the extra was never part of `[all]`, `[sandbox]` or any image. The extra added nothing to the integration itself: the CrewAI adapter only wraps CrewAI tools and uses whatever CrewAI the user has installed. Users install CrewAI alongside Headroom instead. Closes Dependabot alerts #204, #205, #206 (chromadb) and #412, #413 (oauthlib, which came in only through ChromaDB's Kubernetes client). Dependabot PR #3890 (oauthlib bump) becomes moot. ## Type of Change - [ ] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [x] Breaking change (fix or feature that would cause existing functionality to change) - [x] Documentation update - [ ] Performance improvement - [ ] Code refactoring (no functional changes) ## Changes Made - `pyproject.toml`: remove the `crewai` extra, with a comment saying why there is none. - `uv.lock`: 42 packages removed (crewai, chromadb, kubernetes, lancedb, oauthlib and their dependencies). Nothing added or upgraded. - `SECURITY.md`: the CrewAI / ChromaDB section now states the new boundary: Headroom does not lock CrewAI or ChromaDB, and a user who installs CrewAI owns that exposure. It still lists the ChromaDB advisories and server mitigations for those users. - `.github/dependabot.yml`: drop the ChromaDB ignore range, which now matches nothing. The Accelerate range stays. - Installation docs and the integrations docstring now say `pip install headroom-ai crewai`. ## Migration `pip install "headroom-ai[crewai]"` still succeeds, but pip warns about the unknown extra and installs Headroom without CrewAI. Replace it with: ```bash pip install headroom-ai crewai ``` The CrewAI integration (`headroom.integrations.crewai`) is unchanged. Without CrewAI installed it raises an `ImportError` that names the same command. ## Testing - [ ] Unit tests pass (`pytest`) — no code changed; the CrewAI tests skip without CrewAI, as before - [x] Linting passes (`ruff check .`) - [ ] Type checking passes (`mypy headroom`) — no Python code changed - [ ] New tests added for new functionality — not applicable - [x] Manual testing performed ### Test Output ```text $ uv lock --check Resolved 250 packages $ grep -c '^name = "crewai"\|^name = "chromadb"\|^name = "oauthlib"' uv.lock 0 $ python -c "import headroom.integrations" # imports without CrewAI ``` ## Real Behavior Proof - Environment: local, Python 3.14, current main merged in. - Exact command / steps: `uv lock --check`; checked that crewai, chromadb and oauthlib are absent from `uv.lock`; imported `headroom.integrations` without CrewAI installed. - Observed result: lockfile consistent; the three packages are absent; import succeeds. - Not tested: installing CrewAI alongside Headroom in a fresh environment. ## Runtime Rollout Safety - Rollout-managed feature(s): none - Minimum rollout channel: n/a - Stable/default behavior changed: no runtime change; packaging only. The `[crewai]` extra no longer installs CrewAI. - Kill switch / disable path: n/a - Unsafe override required: no - Qualification impact: none - Rollback path: revert this PR. ## Review Readiness - [x] I have performed a self-review - [x] This PR is ready for human review ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works — not applicable (packaging change) - [x] New and existing unit tests pass locally with my changes - [x] I did **not** edit `CHANGELOG.md` — it is generated by release-please from my Conventional Commit PR title (a CI guard enforces this) ## Additional Notes Marked breaking (`deps!:`) so release-please records the removal and the migration note above. Addresses the review on this PR: breaking-change classification and migration note, SECURITY.md and Dependabot updated in the same PR, branch brought current with main. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
109 lines
2.9 KiB
YAML
109 lines
2.9 KiB
YAML
version: 2
|
|
updates:
|
|
# Docker base image digest updates
|
|
- package-ecosystem: docker
|
|
directory: /
|
|
schedule:
|
|
interval: weekly
|
|
commit-message:
|
|
prefix: "docker"
|
|
groups:
|
|
docker-minor-patch:
|
|
update-types:
|
|
- "minor"
|
|
- "patch"
|
|
|
|
# GitHub Actions version updates
|
|
- package-ecosystem: github-actions
|
|
directory: /
|
|
schedule:
|
|
interval: weekly
|
|
commit-message:
|
|
prefix: "ci"
|
|
groups:
|
|
actions-minor-patch:
|
|
update-types:
|
|
- "minor"
|
|
- "patch"
|
|
|
|
# Python dependency updates (pip)
|
|
- package-ecosystem: pip
|
|
directory: /
|
|
schedule:
|
|
interval: weekly
|
|
commit-message:
|
|
prefix: "deps"
|
|
# Limit simultaneous version-update PRs; security updates have a separate limit.
|
|
open-pull-requests-limit: 5
|
|
# MCP SDK 2.x removes the low-level Server API used by the shipping
|
|
# proxy and mcp extras. Keep 1.x until the port tracked in GH #2658 lands.
|
|
ignore:
|
|
- dependency-name: "mcp"
|
|
versions: [">=2.0.0"]
|
|
# 1.x replaces the Python node/language API used by code compression;
|
|
# upgrading silently disables compression (GH #1216).
|
|
- dependency-name: "tree-sitter-language-pack"
|
|
versions: [">=1.0.0,<2.0.0"]
|
|
# These releases do not fix the optional-extra advisory documented in
|
|
# SECURITY.md. Keep future versions eligible for review; do not suppress
|
|
# alerts or ignore these packages indefinitely.
|
|
- dependency-name: "accelerate"
|
|
versions: ["<=1.15.0"]
|
|
groups:
|
|
pip-minor-patch:
|
|
update-types:
|
|
- "minor"
|
|
- "patch"
|
|
|
|
# Rust dependency updates (cargo workspace: crates/*)
|
|
- package-ecosystem: cargo
|
|
directory: /
|
|
schedule:
|
|
interval: weekly
|
|
commit-message:
|
|
prefix: "deps"
|
|
open-pull-requests-limit: 5
|
|
groups:
|
|
cargo-minor-patch:
|
|
update-types:
|
|
- "minor"
|
|
- "patch"
|
|
|
|
# tsup still needs the legacy TypeScript compiler API for declarations.
|
|
# TypeScript 7's default export has no `sys`; SDK/plugin declaration builds
|
|
# fail with useCaseSensitiveFileNames (e.g. GH #3528). Docs use a compatible
|
|
# native Twoslash release and stay eligible for TypeScript 7 below.
|
|
- package-ecosystem: npm
|
|
directories:
|
|
- "/sdk/typescript"
|
|
- "/plugins/openclaw"
|
|
- "/plugins/opencode"
|
|
schedule:
|
|
interval: weekly
|
|
commit-message:
|
|
prefix: "deps"
|
|
open-pull-requests-limit: 5
|
|
ignore:
|
|
- dependency-name: "typescript"
|
|
versions: [">=7.0.0 <8.0.0"]
|
|
groups:
|
|
npm-minor-patch:
|
|
update-types:
|
|
- "minor"
|
|
- "patch"
|
|
|
|
- package-ecosystem: npm
|
|
directories:
|
|
- "/e2e/wrap/tools"
|
|
- "/docs"
|
|
schedule:
|
|
interval: weekly
|
|
commit-message:
|
|
prefix: "deps"
|
|
open-pull-requests-limit: 5
|
|
groups:
|
|
npm-minor-patch:
|
|
update-types:
|
|
- "minor"
|
|
- "patch"
|