A test project passes with zero tests, and the CI shards are listed by hand
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start with Directory.Build.props:73-76, .github/workflows/ci.yml:90-106, DatabaseServer.cs:90, and SqlServerPool.cs:32-45 to trace the test settings, shard coverage, and existing database template approach. Check how the solution discovers test projects and how PostgreSQL tests create and migrate databases. Done means empty test projects fail, every test project is covered by a shard, and PostgreSQL tests migrate once per run; record the time saved in the pull request. Coordinate with #3267, which changes the same workflow.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
- A test project passes when it runs no tests.
Directory.Build.props:73-76sets--ignore-exit-code 8for every project undertests/, with a comment about stubs that no longer applies. Filtered runs are guarded by--minimum-expected-tests; the unfiltered shards (.github/workflows/ci.yml:90,101-106) are not. - The shard lists are maintained by hand.
ci.yml:90-106names each test project. A new one runs on no pull request and no push to main; only the nightly Windows run picks it up. - PostgreSQL tests create and migrate a database per test.
DatabaseServer.cs:90runsCREATE DATABASEfor each test, and each test migrates it. SQL Server already clones a migrated template (SqlServerPool.cs:32-45).
Proposal
- Remove the ignored exit code.
- A check that every test project of the solution is in a shard.
- Migrate one template database per run and create test databases from it.
Done together with #3267, which changes the same workflow.
Acceptance
- A test project that discovers no tests fails the run
- A test project missing from the shards fails CI
- PostgreSQL tests no longer migrate per test; the time saved is noted in the pull request
Found in the code review of 17 Nov 2026.
- Lingua principale
- C#
- Stelle
- 569
- Fork
- 107
- Merge medio
- 2h 49m
- PR unite (30g)
- 397
Preparare l'ambiente
- Include un Dockerfile o un 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 fluentcms/FluentCMS
-
area:host area:operations type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:build security type:chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:sdk security type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:content security type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
area:build type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fluentcms/FluentCMS
Issue simili
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
microsoft/microsoft-ui-reactor#1567 ·
I maintainer di solito rispondono entro 1 giorno
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
openclaw/openclaw-windows-node#2287 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
kind:ux needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
elsa-workflows/elsa-foundation#4742 ·
I maintainer di solito rispondono entro 1 giorno
-
priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue help wanted new-language
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100