[DTP-Worker 20260805_161319] Auto exec · session 20260805_161319
CI / Contraintes NON-NÉGOCIABLES (CLAUDE.md) (push) Has been cancelled
CI / Validation JSON (schémas Faisabilité) (push) Has been cancelled
CI / Qualité documentaire (liens + 4Big) (push) Has been cancelled
CI / Reproductibilité des artefacts out/ (build == commité) (push) Has been cancelled
CI / Fraîcheur matrice de régression (run == commité) (push) Has been cancelled
CI / Intégrité du câblage CI (gate agrège tout · gates statiques verrouillés) (push) Has been cancelled
CI / Intégrité des chiffres du README (valeur == artefact cité · (push) Has been cancelled
CI / Intégrité mobile-build.yml (gating portable · activation différée · (push) Has been cancelled
CI / Publiciste · parser + schéma + generator (unittest) (push) Has been cancelled
CI / RBAC · 50 rôles + schéma (unittest) (push) Has been cancelled
CI / Faisabilité · générateur 4 volets + round-trip (unittest) (push) Has been cancelled
CI / RBAC · fixtures ERPNext (Role + Custom DocPerm) (push) Has been cancelled
CI / RBAC · plan User Permission (row-level) (push) Has been cancelled
CI / RBAC · Role Profile (bundles par portail) (push) Has been cancelled
CI / RBAC · run-book d'application unifié (agrégat 3 volets) (push) Has been cancelled
CI / Faisabilité · dossier bancable trilingue FR/EN/ES (push) Has been cancelled
CI / CRM · workflow vente ERPNext (lead → CONFOTUR) (push) Has been cancelled
CI / CRM · DocType porteur OTO Dossier Vente (push) Has been cancelled
CI / CRM · barème commissions vendeurs (push) Has been cancelled
CI / CRM · Financement Bancaire (gate hypothécaire RD) (push) Has been cancelled
CI / Fiscal · e-CF DGII (Compupar) (push) Has been cancelled
CI / Frontend · Workspaces 5 portails rôle (push) Has been cancelled
CI / Legal · DocType CONFOTUR Application (push) Has been cancelled
CI / QA · Audit 5D conformité (push) Has been cancelled
CI / SEO · mots-clés trilingues + schema.org + hreflang (push) Has been cancelled
CI / Chat OTOIA · montage par portail (Custom Block) (push) Has been cancelled
CI / QA · Audit 4Big (95+/100 sur 100% deliverables) (push) Has been cancelled
CI / Démo · Scénarios (run-sheet P07 banquier / P05 client) (push) Has been cancelled
CI / QA · Matrice de régression exhaustive (Sprint 8) (push) Has been cancelled
CI / DevOps · Run-book de déploiement VPS unifié (Sprint 8) (push) Has been cancelled
CI / QA · Matrice d'acceptation / traçabilité MVP (Sprint 8) (push) Has been cancelled
CI / Mobile · config app Expo/EAS (navigation par rôle) (push) Has been cancelled
CI / PIE · manifest de dépendances (Annexe 12 · V10.1) (push) Has been cancelled
CI / E2E baseline Playwright (manuel) (push) Has been cancelled
Mobile Build (EAS) / Préflight config EAS + état secrets (push) Has been cancelled
CI / Gate qualité (agrégat) (push) Has been cancelled
Mobile Build (EAS) / EAS build iOS (App Store (push) Has been cancelled
Mobile Build (EAS) / EAS build Android (Play Store) (push) Has been cancelled
CI / Contraintes NON-NÉGOCIABLES (CLAUDE.md) (push) Has been cancelled
CI / Validation JSON (schémas Faisabilité) (push) Has been cancelled
CI / Qualité documentaire (liens + 4Big) (push) Has been cancelled
CI / Reproductibilité des artefacts out/ (build == commité) (push) Has been cancelled
CI / Fraîcheur matrice de régression (run == commité) (push) Has been cancelled
CI / Intégrité du câblage CI (gate agrège tout · gates statiques verrouillés) (push) Has been cancelled
CI / Intégrité des chiffres du README (valeur == artefact cité · (push) Has been cancelled
CI / Intégrité mobile-build.yml (gating portable · activation différée · (push) Has been cancelled
CI / Publiciste · parser + schéma + generator (unittest) (push) Has been cancelled
CI / RBAC · 50 rôles + schéma (unittest) (push) Has been cancelled
CI / Faisabilité · générateur 4 volets + round-trip (unittest) (push) Has been cancelled
CI / RBAC · fixtures ERPNext (Role + Custom DocPerm) (push) Has been cancelled
CI / RBAC · plan User Permission (row-level) (push) Has been cancelled
CI / RBAC · Role Profile (bundles par portail) (push) Has been cancelled
CI / RBAC · run-book d'application unifié (agrégat 3 volets) (push) Has been cancelled
CI / Faisabilité · dossier bancable trilingue FR/EN/ES (push) Has been cancelled
CI / CRM · workflow vente ERPNext (lead → CONFOTUR) (push) Has been cancelled
CI / CRM · DocType porteur OTO Dossier Vente (push) Has been cancelled
CI / CRM · barème commissions vendeurs (push) Has been cancelled
CI / CRM · Financement Bancaire (gate hypothécaire RD) (push) Has been cancelled
CI / Fiscal · e-CF DGII (Compupar) (push) Has been cancelled
CI / Frontend · Workspaces 5 portails rôle (push) Has been cancelled
CI / Legal · DocType CONFOTUR Application (push) Has been cancelled
CI / QA · Audit 5D conformité (push) Has been cancelled
CI / SEO · mots-clés trilingues + schema.org + hreflang (push) Has been cancelled
CI / Chat OTOIA · montage par portail (Custom Block) (push) Has been cancelled
CI / QA · Audit 4Big (95+/100 sur 100% deliverables) (push) Has been cancelled
CI / Démo · Scénarios (run-sheet P07 banquier / P05 client) (push) Has been cancelled
CI / QA · Matrice de régression exhaustive (Sprint 8) (push) Has been cancelled
CI / DevOps · Run-book de déploiement VPS unifié (Sprint 8) (push) Has been cancelled
CI / QA · Matrice d'acceptation / traçabilité MVP (Sprint 8) (push) Has been cancelled
CI / Mobile · config app Expo/EAS (navigation par rôle) (push) Has been cancelled
CI / PIE · manifest de dépendances (Annexe 12 · V10.1) (push) Has been cancelled
CI / E2E baseline Playwright (manuel) (push) Has been cancelled
Mobile Build (EAS) / Préflight config EAS + état secrets (push) Has been cancelled
CI / Gate qualité (agrégat) (push) Has been cancelled
Mobile Build (EAS) / EAS build iOS (App Store (push) Has been cancelled
Mobile Build (EAS) / EAS build Android (Play Store) (push) Has been cancelled
This commit is contained in:
@@ -69,8 +69,11 @@ def build_plan(spec: dict[str, Any]) -> dict[str, Any]:
|
||||
def run_matrix(spec: dict[str, Any], *, python: str | None = None) -> dict[str, Any]:
|
||||
"""Exécute réellement toutes les suites du plan et agrège les compteurs.
|
||||
|
||||
Byte-déterministe (aucun horodatage/hôte/chemin absolu) → l'artefact
|
||||
`regression_run.json` EST commité et byte-gaté par `ci/check_regression.sh`."""
|
||||
Byte-déterministe (aucun horodatage/hôte/chemin absolu ; suites lancées sous
|
||||
`python -S` → oracle tiers optionnel `jsonschema` neutralisé, cf.
|
||||
`runner.run_suite`) → l'artefact `regression_run.json` EST commité et
|
||||
byte-gaté par `ci/check_regression.sh`, identique en local et sur le runner
|
||||
Gitea pip-less."""
|
||||
suites = discovery.discover_suites(spec)
|
||||
discover_cmd = list(spec["discover_cmd"])
|
||||
# `python3 -m unittest ...` → on retire le binaire, on garde les args.
|
||||
|
||||
@@ -10,6 +10,19 @@ des fichiers `tests/test_*.py` aux noms qui se recouvrent → un discover global
|
||||
in-process provoquerait des collisions de modules. Le subprocess reproduit
|
||||
fidèlement l'environnement du CI.
|
||||
|
||||
Déterminisme cross-environnement (`-S`) : chaque suite est lancée avec l'option
|
||||
`-S` (interpréteur SANS `site` → aucun `site-packages`/`dist-packages` sur
|
||||
`sys.path`). C'est le contrat exact du runner Gitea (`.gitea/workflows/ci.yml` :
|
||||
« stdlib pur, zéro pip » — « L'oracle jsonschema est utilisé s'il est présent,
|
||||
sinon ignoré »). Sans `-S`, le seul paquet tiers du corpus — l'oracle OPTIONNEL
|
||||
`jsonschema`, toujours gardé par `skipUnless`/`try…except ImportError` — ferait
|
||||
diverger la matrice : présent sur un poste dev (`skipped=0`), absent sur le
|
||||
runner pip-less (`skipped=N`). L'artefact `regression_run.json` commité — que
|
||||
`ci/check_regression.sh` exige byte-identique au run frais — devenait alors
|
||||
un FAUX-VERT : vert en local, ROUGE sur le runner. `-S` neutralise l'oracle
|
||||
partout → la matrice reflète la baseline garantie (stdlib + validateurs maison)
|
||||
et redevient byte-identique quel que soit ce qui est `pip install`é localement.
|
||||
|
||||
`parse_unittest_output` est PUR (str → dict) donc testable sans exécuter quoi que
|
||||
ce soit — on lui injecte des sorties unittest synthétiques (OK / FAILED / skipped).
|
||||
"""
|
||||
@@ -70,7 +83,11 @@ def run_suite(abs_path: str, *, python: str | None = None,
|
||||
`abs_path` = répertoire du module (contenant `tests/`). Aucune sortie n'est
|
||||
imprimée ici — l'agrégateur décide de l'affichage."""
|
||||
py = python or sys.executable
|
||||
cmd = list(discover_cmd or ["-m", "unittest", "discover", "-s", "tests"])
|
||||
# `-S` : interpréteur sans `site` → pas de `site-packages` → l'oracle tiers
|
||||
# optionnel `jsonschema` est absent, exactement comme sur le runner Gitea
|
||||
# pip-less. Garantit une matrice byte-déterministe indépendante de ce qui est
|
||||
# `pip install`é en local (cf. docstring du module).
|
||||
cmd = ["-S", *list(discover_cmd or ["-m", "unittest", "discover", "-s", "tests"])]
|
||||
tests_dir = os.path.join(abs_path, "tests")
|
||||
if not os.path.isdir(tests_dir):
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user