[Bug] update-test-durations never runs: its only path filter points at the pre-monorepo tests/ directory
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 25/100
Direzione di ricerca
Read .github/workflows/update-test-durations.yml and inspect its on.push.paths filter against the package test paths listed in the issue. Confirm the workflow runs for changes under those paths; the issue proposes lib/**/tests/**/*.py. Done means pushes that change package tests can trigger the workflow. An open linked pull request already covers this issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
update-test-durations never runs: its only path filter points at the pre-monorepo tests/ directory
What
.github/workflows/update-test-durations.yml is triggered by pushes to main, gated on a single path filter:
on:
push:
branches:
- main
paths:
- 'tests/**/*.py'
workflow_dispatch:
The repository has no root tests/ directory any more — git ls-files tests returns 0 files. The tests moved into the monorepo packages:
lib/cli/tests 62 files
lib/crewai/tests 953 files
lib/crewai-core/tests 11 files
lib/crewai-files/tests 21 files
lib/crewai-tools/tests 86 files
lib/devtools/tests 6 files
So the filter can never match, the workflow only ever fires by manual workflow_dispatch, and the .test_durations_py* artifacts it writes are only refreshed when someone remembers to run it by hand.
Why it matters
The workflow's whole job is to keep the duration data fresh so the sharded test runs stay balanced:
- name: Run all tests and store durations
run: uv run pytest --store-durations --durations-path=.test_durations_py${PYTHON_VERSION_SAFE} -n auto
- name: Save durations to cache
uses: actions/cache/save@...
with:
path: .test_durations_py*
key: test-durations-py${{ matrix.python-version }}
With the filter dead, durations drift as tests are added or slowed down, and the split silently gets worse — nothing fails, it just costs CI minutes.
Fix
Replace the stale path with the location tests actually live in (two-line diff, on.push.paths only):
--- a/.github/workflows/update-test-durations.yml
+++ b/.github/workflows/update-test-durations.yml
@@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- - 'tests/**/*.py'
+ - 'lib/**/tests/**/*.py'
workflow_dispatch:
If you would rather it fire on any package change (tests and sources both affect durations), 'lib/**' is the alternative — say which and I will send exactly that.
How this was found
A small check that resolves every on.pull_request.paths / on.push.paths glob against the repository's file list and reports globs with zero matches; this was the only dead filter in the repo (1 of 19 workflows). Verified by hand with git ls-files above.
Per CONTRIBUTING.md, this issue is AI-authored and needs the llm-generated label; I cannot apply labels myself, so please add it. The fix is a one-line change and I will open the PR against this issue once it is accepted.
- Lingua principale
- Python
- Stelle
- 60.6k
- Fork
- 9.1k
- Merge medio
- 1g 4h
- PR unite (30g)
- 214
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di crewAIInc/crewAI
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Feature request: GoldenDirectiveTool (harmonic relationship score, full vs cropped reporting)Apertafeature-request
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
crewAIInc/crewAI#9200 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[FEATURE] Docs: ApifyActorsTool example with a typed-input ActorForse già presa @johnisanerd l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
crewAIInc/crewAI#9132 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] Scrape tools reject the documented cookies mapping and drop cookies when the URL is passed at runtimeForse già presa @Luckyou-d l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] OpenAI-compatible embedding model alias breaks embedder constructionForse già presa @gokay-ai l’ha presa 12 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
crewAIInc/crewAI#8761 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di crewAIInc/crewAI
Issue simili
-
bug triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mealie-recipes/mealie#9117 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
freelawproject/courtlistener#8406 ·
I maintainer di solito rispondono entro 2 giorni
-
good first issue help wanted level 1 wocs
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
GianlucaBave/murmury#49 ·
I maintainer di solito rispondono entro 1 giorno
-
regression skipped skipped_bmg
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
intel/torch-xpu-ops#6142 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
good first issue help wanted python up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
andrewsiah/agentswarm-data-tasks#122 ·
I maintainer di solito rispondono entro 1 giorno