From c05b6711493d334c062a1401d180966b912e5c93 Mon Sep 17 00:00:00 2001 From: Blomios Date: Mon, 24 Aug 2026 08:19:41 +0200 Subject: [PATCH] =?UTF-8?q?chore(tickets):=20synchro=20du=20store=20local?= =?UTF-8?q?=20=E2=80=94=20carnet=20et=20statut=20#253?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ideai/tickets/253/carnet.md | 14 +++++++++++--- .ideai/tickets/253/issue.md | 6 +++--- .ideai/tickets/index.json | 2 +- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.ideai/tickets/253/carnet.md b/.ideai/tickets/253/carnet.md index 72e5d054..b3c22ce6 100644 --- a/.ideai/tickets/253/carnet.md +++ b/.ideai/tickets/253/carnet.md @@ -1,6 +1,14 @@ --- issueRef: "#253" -version: 1 -updatedBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} -updatedAt: 1787551681631 +version: 2 +updatedBy: {"kind":"agent","agent_id":"1ff94b51-3e17-4a39-8543-7715d1ff0f80"} +updatedAt: 1787551753848 --- +# Git — décision de branche (2026-08-24) + +- Branche de travail : `fix/253-opencode-tests-parallel-flakiness` (créée et checkout, base = tip develop `f303cc1`, inclut le merge #252 `4553e5d` — lignage exact où le flakiness a été observé). +- DevBackend : corrections sur cette branche (timeouts, fixtures `sleep`, isolation des tests à timing dans `crates/infrastructure/src/session/opencode.rs`). Commits : `test(opencode): …` (ou `fix(opencode): …` si du code produit est touché) `— #253`. Sans dégrader la couverture : les scénarios restent, seule la fiabilité change. +- QA : preuve = sérialisé toujours vert (`--test-threads=1`) **ET** exécution **parallèle** verte sur ≥5 runs consécutifs de `cargo test -p infrastructure --lib session::opencode` (le mode par défaut, celui qui flake). Consigner runs et sortie réelle dans ce carnet. +- Interdits : aucun push distant ; pas de merge/rebase vers `develop` sans l'agent Git. Fusion locale décidée par Git après QA verte. +- `scripts/restart-idea-over-ssh.sh` reste non suivi — ne pas le committer. +- Contexte : symptômes initiaux documentés dans le carnet #252 (section « Signalement QA » du 2026-08-24). diff --git a/.ideai/tickets/253/issue.md b/.ideai/tickets/253/issue.md index a4e7d186..c6a13e90 100644 --- a/.ideai/tickets/253/issue.md +++ b/.ideai/tickets/253/issue.md @@ -9,9 +9,9 @@ links: [] agentRefs: [] attachments: [] createdBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} -updatedBy: {"kind":"agent","agent_id":"a6c6ea12-bfc6-4bdc-8031-324102dfa34d"} +updatedBy: {"kind":"agent","agent_id":"1ff94b51-3e17-4a39-8543-7715d1ff0f80"} createdAt: 1787551681631 -updatedAt: 1787551681631 -version: 1 +updatedAt: 1787551753848 +version: 2 --- Des tests anciens de `session::opencode` échouent de façon intermittente en exécution parallèle, alors qu'ils passent en série (`--test-threads=1`). Symptômes remontés pendant le ticket #252: tests différents à chaque run, concernés notamment `seeded_session_ignores_and_does_not_capture_other_session_events`, `seeded_or_captured_session_id_is_passed_as_opencode_session_arg`, etc. Objectif: supprimer la flakiness sans dégrader la couverture, obtenir une exécution verte en parallèle sur la suite ciblée, et documenter la cause racine ainsi que la stratégie retenue. \ No newline at end of file diff --git a/.ideai/tickets/index.json b/.ideai/tickets/index.json index 6c1c45cd..7a947d6c 100644 --- a/.ideai/tickets/index.json +++ b/.ideai/tickets/index.json @@ -3419,7 +3419,7 @@ "kind": "agent", "agent_id": "a6c6ea12-bfc6-4bdc-8031-324102dfa34d" }, - "updatedAt": 1787551681631 + "updatedAt": 1787551753848 } ] } \ No newline at end of file