Fix fixture-free CI test collection
Gitea Actions CI / detect (push) Successful in 3s
Gitea Actions CI / Compose & nginx validation (push) Failing after 21s
Gitea Actions CI / Frontend (lint / type / test / build) (push) Failing after 23s
Gitea Actions CI / Backend (lint / type / test / build) (push) Failing after 1m19s

This commit is contained in:
k1nq
2026-09-18 18:26:12 +05:00
parent fb91da7917
commit ae2d4165e5
4 changed files with 44 additions and 41 deletions
+4 -1
View File
@@ -79,7 +79,10 @@ def _fail(name: str, message: str) -> None:
pytest.fail(f"{name}: {message}", pytrace=False)
@pytest.fixture(params=PARAMS, ids=[entry.get("filename", "unavailable") for entry in PARAMS])
@pytest.fixture(
params=PARAMS,
ids=[entry.get("filename", "unavailable") if entry else "unavailable" for entry in PARAMS],
)
def parsed(request: pytest.FixtureRequest):
entry = request.param
if entry is None:
+2 -2
View File
@@ -1,7 +1,7 @@
# Graph Report - finance (2026-09-18)
## Corpus Check
- 149 files · ~63,829 words
- 149 files · ~63,842 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
@@ -10,7 +10,7 @@
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `c85b12b9`
- Built from commit: `fb91da79`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
+32 -32
View File
@@ -5797,7 +5797,7 @@
"file_type": "code",
"norm_label": "parsed()",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L83"
"source_location": "L86"
},
{
"id": "backend_tests_test_private_fixtures_test_balances",
@@ -5809,7 +5809,7 @@
"file_type": "code",
"norm_label": "test_balances()",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L177"
"source_location": "L180"
},
{
"id": "backend_tests_test_private_fixtures_test_control_totals",
@@ -5821,7 +5821,7 @@
"file_type": "code",
"norm_label": "test_control_totals()",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L158"
"source_location": "L161"
},
{
"id": "backend_tests_test_private_fixtures_test_declared_totals_match_parsed_rows",
@@ -5833,7 +5833,7 @@
"file_type": "code",
"norm_label": "test_declared_totals_match_parsed_rows()",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L191"
"source_location": "L194"
},
{
"id": "backend_tests_test_private_fixtures_test_hold_totals",
@@ -5845,7 +5845,7 @@
"file_type": "code",
"norm_label": "test_hold_totals()",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L152"
"source_location": "L155"
},
{
"id": "backend_tests_test_private_fixtures_test_manifest_contract",
@@ -5857,7 +5857,7 @@
"file_type": "code",
"norm_label": "test_manifest_contract()",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L111"
"source_location": "L114"
},
{
"id": "backend_tests_test_private_fixtures_test_row_counts",
@@ -5869,7 +5869,7 @@
"file_type": "code",
"norm_label": "test_row_counts()",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L121"
"source_location": "L124"
},
{
"id": "backend_tests_test_private_fixtures_test_row_invariants",
@@ -5881,7 +5881,7 @@
"file_type": "code",
"norm_label": "test_row_invariants()",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L141"
"source_location": "L144"
},
{
"id": "backend_tests_test_private_fixtures_test_service_reconciliation_matches",
@@ -5893,7 +5893,7 @@
"file_type": "code",
"norm_label": "test_service_reconciliation_matches()",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L211"
"source_location": "L214"
},
{
"id": "backend_tests_test_adapter_contracts_alfa_workbook_bytes",
@@ -24687,7 +24687,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L90",
"source_location": "L93",
"weight": 1.0
},
{
@@ -24699,7 +24699,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L92",
"source_location": "L95",
"weight": 1.0
},
{
@@ -24711,7 +24711,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L96",
"source_location": "L99",
"weight": 1.0
},
{
@@ -24723,7 +24723,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L179",
"source_location": "L182",
"weight": 1.0
},
{
@@ -24735,7 +24735,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L160",
"source_location": "L163",
"weight": 1.0
},
{
@@ -24747,7 +24747,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L206",
"source_location": "L209",
"weight": 1.0
},
{
@@ -24759,7 +24759,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L155",
"source_location": "L158",
"weight": 1.0
},
{
@@ -24771,7 +24771,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L113",
"source_location": "L116",
"weight": 1.0
},
{
@@ -24783,7 +24783,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L124",
"source_location": "L127",
"weight": 1.0
},
{
@@ -24795,7 +24795,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L144",
"source_location": "L147",
"weight": 1.0
},
{
@@ -24807,7 +24807,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L213",
"source_location": "L216",
"weight": 1.0
},
{
@@ -24819,7 +24819,7 @@
"confidence_score": 1.0,
"context": "call",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L214",
"source_location": "L217",
"weight": 1.0
},
{
@@ -45128,7 +45128,7 @@
"confidence_score": 1.0,
"context": "parameter_type",
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L83",
"source_location": "L86",
"weight": 1.0
},
{
@@ -50209,7 +50209,7 @@
"confidence": "EXTRACTED",
"confidence_score": 1.0,
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L111",
"source_location": "L114",
"weight": 1.0
},
{
@@ -50220,7 +50220,7 @@
"confidence": "EXTRACTED",
"confidence_score": 1.0,
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L121",
"source_location": "L124",
"weight": 1.0
},
{
@@ -50231,7 +50231,7 @@
"confidence": "EXTRACTED",
"confidence_score": 1.0,
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L141",
"source_location": "L144",
"weight": 1.0
},
{
@@ -50242,7 +50242,7 @@
"confidence": "EXTRACTED",
"confidence_score": 1.0,
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L152",
"source_location": "L155",
"weight": 1.0
},
{
@@ -50253,7 +50253,7 @@
"confidence": "EXTRACTED",
"confidence_score": 1.0,
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L158",
"source_location": "L161",
"weight": 1.0
},
{
@@ -50264,7 +50264,7 @@
"confidence": "EXTRACTED",
"confidence_score": 1.0,
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L177",
"source_location": "L180",
"weight": 1.0
},
{
@@ -50275,7 +50275,7 @@
"confidence": "EXTRACTED",
"confidence_score": 1.0,
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L191",
"source_location": "L194",
"weight": 1.0
},
{
@@ -50286,7 +50286,7 @@
"confidence": "EXTRACTED",
"confidence_score": 1.0,
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L211",
"source_location": "L214",
"weight": 1.0
},
{
@@ -50330,7 +50330,7 @@
"confidence": "EXTRACTED",
"confidence_score": 1.0,
"source_file": "backend/tests/test_private_fixtures.py",
"source_location": "L83",
"source_location": "L86",
"weight": 1.0
},
{
@@ -58491,5 +58491,5 @@
"source_file": "docs/adr/0003-versioned-statement-imports.md"
}
],
"built_at_commit": "c85b12b95ebc945f691a3f3d09ff0f17769e5f7b"
"built_at_commit": "fb91da791756022b0964b71afa8dffb281ef9de3"
}
+6 -6
View File
@@ -900,15 +900,15 @@
"semantic_hash": ""
},
"backend/tests/test_private_fixtures.py": {
"mtime": 1789736201.2242022,
"seen": 1789736272.9455452,
"ast_hash": "e94f214a0d04cdd1f944699fdd32abe6",
"mtime": 1789737822.4871244,
"seen": 1789737916.7915628,
"ast_hash": "f14cd118f1e8d6b5088536d50d2b965a",
"semantic_hash": ""
},
".gitea/workflows/ci.yml": {
"mtime": 1789736072.1440737,
"seen": 1789736272.945592,
"ast_hash": "8e291c92f0eb7fe1ed1129c4fc55b188",
"mtime": 1789736949.8123386,
"seen": 1789737916.791613,
"ast_hash": "f0891b841c5e24c761f5067a4ea23637",
"semantic_hash": ""
},
".kilo/plans/1789727434954-gitea-ci-real-statement-imports.md": {