@roomi-fields/grillhouse 0.38.1 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +16 -0
- package/charte.md +13 -0
- package/dist/temporal/circuit/client.d.ts +4 -3
- package/dist/temporal/circuit/client.js +4 -3
- package/dist/temporal/circuit/client.js.map +1 -1
- package/dist/temporal/circuit/commande.js +6 -4
- package/dist/temporal/circuit/commande.js.map +1 -1
- package/dist/temporal/tickets/deroule.js +16 -4
- package/dist/temporal/tickets/deroule.js.map +1 -1
- package/docs/ARCHITECTURE.md +21 -26
- package/docs/INTERFACE.md +15 -34
- package/package.json +1 -1
- package/scripts/activites.mjs +48 -290
- package/scripts/circuit.mjs +6 -22
- package/scripts/composition-des-langages.mjs +1 -16
- package/scripts/conformite.mjs +0 -31
- package/scripts/dernier-vert.mjs +4 -86
- package/scripts/etat-du-depot.mjs +92 -0
- package/scripts/grillhouse-maj.mjs +9 -6
- package/scripts/jointure.d.ts +0 -29
- package/scripts/langages/cargo/commandes.mjs +8 -15
- package/scripts/langages/cargo/composants.mjs +1 -100
- package/scripts/langages/cargo/exemples.mjs +0 -73
- package/scripts/langages/cargo/index.mjs +0 -6
- package/scripts/langages/python/commandes.mjs +2 -11
- package/scripts/langages/python/composants.mjs +2 -13
- package/scripts/langages/python/exemples.mjs +0 -19
- package/scripts/langages/python/index.mjs +2 -14
- package/scripts/langages/typescript/exemples.mjs +0 -16
- package/scripts/langages/typescript/index.mjs +6 -11
- package/scripts/langages/typescript/regle-des-tests.mjs +0 -15
- package/scripts/langages/typescript/verifier.mjs +30 -0
- package/scripts/nuit.sh +7 -1
- package/scripts/recommencer.mjs +5 -3
- package/scripts/registre-des-resultats.mjs +119 -0
- package/scripts/services-du-noyau.mjs +6 -0
- package/scripts/sources.mjs +5 -3
- package/skills/explorateur/SKILL.md +6 -1
- package/scripts/langages/cargo/tests-de-head.mjs +0 -178
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,22 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.39.0] - 2026-11-15
|
|
10
|
+
|
|
11
|
+
- **The queue of the tickets counts only the circuits alive, not a finished circuit a ticket still carries** (grillhouse-d0t): the queue held a ticket out of the ready set while any `circuitDuTicket` workflow of it remained un-integrated, whatever its status — a circuit COMPLETED, TERMINATED or FAILED, even one of a ticket already closed (OSC Bridge OB-k7o), kept its ticket frozen out of the queue until Temporal's retention swept it, and the three groups (OSC Bridge, SyntHub, OSD) stalled with `partir:[]`. The queue now counts a ticket in progress only for a circuit alive (`circuits-vivants-seuls`, a Temporal patch so in-flight histories replay unchanged), a finished workflow no longer holding its ticket; the activity `circuitsNonIntegres` stays for the histories still replaying. **Action for projects**: none; a ticket a finished circuit held comes back to the queue on the next measure.
|
|
12
|
+
|
|
13
|
+
- **The proof of the red does not count a Rust integration-test harness with no test of its own as broken** (grillhouse-s2i): a changed test file of the lot that produces no result under its own name was counted « ne se charge pas / non joué », and `preuveReussie` refused on `casses > 0` before it reached the clause « comportement inchangé » (scripts/activites.mjs); but the Rust integration-test harness the charter prescribes (one executable per moment, `tests/it/main.rs` declaring its modules, no `#[test]` of its own) never produces a result under its own name — its tests live in its sub-modules, reported to their files — so a comportement-inchangé lot that added a module to it was refused for the harness alone, though the binary compiled and ran green (OSC Bridge OB-62b.1, code 0). A break is now told from an aggregator by a pure predicate (`casseDeChargement`): a changed test file with no result of its own, on a run that compiled (code 0, no compiler error), is not a break — it loaded, it has no test of its own; a real load failure (code ≠ 0, a compiler error) stays a break. **Action for projects**: none.
|
|
14
|
+
|
|
15
|
+
- **`--recommencer` says what it does: it resets the copy, not Temporal** (grillhouse-r0q): the doc of `--recommencer` (scripts/recommencer.mjs, src/temporal/circuit/commande.ts) announced « a reset of Temporal », but `recommencerLeCircuit` removes only the git copy, the branch, the fiches and the journal — the finished workflow stays on the server. With the queue counting only the circuits alive (grillhouse-d0t), that finished workflow is harmless; the comment now says the truth, at the present tense (it resets the copy, the server keeps the finished workflow, which the queue no longer holds the ticket back for). **Action for projects**: none.
|
|
16
|
+
|
|
17
|
+
- **The explorer classes a fix living entirely in the test matter as comportement inchangé, with no developer** (grillhouse-434): the field `sorte` of the explorer's plan (mods/grillhouse/skills/explorateur) told `mécanique`, `comportement inchangé` (a test adapted, then the developer writes the code) and `comportement`, but not the case where the fix lives entirely in the test matter (test isolation, shared helpers of `tests/common/`, new coverage of an existing behaviour): the product does not change, there is no developer lot, and the red-first is impossible (the testwriter delivers tests and helpers, green at once). On OB-62b.1 the explorer, expecting a red, classed it `comportement`, caught mid-circuit by the testwriter's question (finding OB-62b.1.5). The field now names this case: a lot whose work lives entirely in the test matter is `comportement inchangé` without a developer — the testwriter delivers the tests and helpers, then the checks and the review, no red-first expected — and the explorer tells it at step 1. **Action for projects**: none.
|
|
18
|
+
|
|
19
|
+
- **Turborepo's `.turbo` is the frame's, ignored by every project whatever its language** (grillhouse-ziw): `.turbo` was ignored by the typescript module alone, but since grillhouse-x2w (0.36.0) every language plays its tasks by Turborepo, which writes `.turbo/` in the tree; a cargo or python project's `.gitignore` did not ignore it, so the verifier wrote `crates/<x>/.turbo/…` and the clean-tree check of the integration refused the lot (OSC Bridge OB-4gy). `.turbo` moves to the frame's ignores (`IGNORES_DU_CADRE`), which `grillhouse maj` adds to every frame project's `.gitignore` whatever its language, and leaves the typescript module (`.vitest-reports`, `.cache-outils` stay its); the guard of the découpage (jointure) drops `turbo` from its tool-words, since Turborepo is the frame's common orchestrator since grillhouse-x2w, not a language tool (vitest, cargo stay). **Action for projects**: run `npx grillhouse maj`, which adds `.turbo/` to the project's `.gitignore`.
|
|
20
|
+
|
|
21
|
+
## [0.38.2] - 2026-11-15
|
|
22
|
+
|
|
23
|
+
- **The proof of the red reads a registry of results, written by the complete pass, instead of replaying HEAD's version of each test file** (grillhouse-43l): to tell a test of the lot that existed before the ticket (its green accepted) from a new one (which must be red first), the proof compiled and played HEAD's version of each test file beside the lot — a machinery grown by patches (the TypeScript `vertsDeHead` and the Rust and Python siblings `soeurDAvant`/`testsDeHead`, grillhouse-3e2, 3e2.2, pkl.9) whose drift refused twenty unchanged greens as « verts sans vert attendu » and, on a crate whose shared test matter had changed, read a phantom build failure (E0061) as the lot's red (OSC Bridge OB-62b.1, ~70 M tokens burnt). As Chromium's ResultDB and Mozilla's Treeherder keep each test's result by version of the main branch, the complete pass of `npm run verifier` (the night) now writes `<git common dir>/grillhouse/resultats/<branche>.json` — `{ commit, tests: { "<fichier>": { "<nom>": "passed" } } }`, the green tests of its branch — and the proof reads there which tests main already holds green, by name, no language replaying anything. A test of the lot whose name the registry holds existed before the ticket, its green accepted; one absent is new. A green test that a pass of the day or the night turns red is recorded as a regression in `regressions/<branche>.json`, with the moment it turned red (its last green commit, its first red HEAD), for the night to classify and correct (« Main reste vert »). The whole replay machinery is removed — the siblings and their walk, the trees they played, their guards and their tests — and the state of the repository and the place of its per-branch files move to a module both the last green and the registry share (`scripts/etat-du-depot.mjs`). **Action for projects**: none; the registry builds itself on the next green night, and until then the proof accepts each green it cannot yet name.
|
|
24
|
+
|
|
9
25
|
## [0.38.1] - 2026-11-14
|
|
10
26
|
|
|
11
27
|
- **The proof of the red does not count the `Cargo.lock` of a HEAD tree it plays as unversioned** (grillhouse-uja): the proof plays a tree of HEAD's version (`.travail/avant-…`) for a target `tests/<nom>.rs`, to read HEAD's green tests; that tree has no `.git`, and Turborepo's strict mode drops `GRILLHOUSE_COPIE_DE_L_ARBRE`, which names the copy whose git tracks the lock, so the guard `tests-du-paquet` of the module cargo (`verrouNonVersionne`) ran `git ls-files` in a tree with no repository and refused « Cargo.lock non versionné », blocking every proof of the red on a Rust project holding such a target (OSC Bridge OB-62b.1, exposed by its virtual workspace, though its copy tracks the lock). The lock of a HEAD tree is HEAD's, versioned by construction: the guard now checks a real git tree only — the copy when it is one, else the root — and passes when neither is a repository; the copy's own pass still refuses a lock the project did not add. **Action for projects**: none.
|
package/charte.md
CHANGED
|
@@ -230,6 +230,19 @@ dossier.
|
|
|
230
230
|
entrent tous deux.
|
|
231
231
|
- **Un remplacement supprime le remplacé** dans le même commit, avec ses consommateurs et ses
|
|
232
232
|
gardes. Ainsi le produit garde une seule façon de faire chaque chose.
|
|
233
|
+
- **Une règle retirée emporte ce qu'elle seule tenait** : retirer une règle supprime, dans le même
|
|
234
|
+
commit, le mécanisme, les gardes et les données qui n'existaient que pour elle ; ce qui sert
|
|
235
|
+
encore une autre règle reste, nommé. Ainsi un mécanisme ne survit pas à la règle qu'il servait.
|
|
236
|
+
- **Un mécanisme se re-dérive, il ne se rapièce pas** : corriger un mécanisme nommé (la preuve du
|
|
237
|
+
rouge, la file, l'intégration) repart de sa référence mature et le reprend entier, au lieu de
|
|
238
|
+
poser un correctif local de plus ; une deuxième retouche du même mécanisme signale qu'il a
|
|
239
|
+
dérivé, et se re-dérive ou monte au responsable. Ainsi un mécanisme suit sa référence, et non la
|
|
240
|
+
somme de ses rustines.
|
|
241
|
+
- **L'ancien chemin qu'une exécution en vol porte encore se retire à son tour** : quand le remplacé
|
|
242
|
+
ne peut pas partir dans le même commit parce qu'une orchestration en vol en a besoin pour rejouer
|
|
243
|
+
son histoire (le versionnage d'un flux Temporal, `patched`), le ticket qui pose le nouveau chemin
|
|
244
|
+
crée aussitôt le ticket de suppression de l'ancien, joué une fois l'ancienne histoire drainée
|
|
245
|
+
(`deprecatePatch`, puis le retrait). Ainsi un chemin de transition ne devient pas permanent.
|
|
233
246
|
- **Un commentaire dit ce que la chose est**, au présent. Ainsi il reste vrai tant que le code ne
|
|
234
247
|
change pas.
|
|
235
248
|
|
|
@@ -20,9 +20,10 @@ export declare class ReponseRefusee extends Error {
|
|
|
20
20
|
export declare function reprendreLeCircuit(client: Client, racine: string, ticket: string, contexte?: string | null, ou?: OuReprendre): Promise<string>;
|
|
21
21
|
/**
|
|
22
22
|
* Starts the circuit of <ticket> over (`--recommencer`): <retirer> removes its copy, sheets and
|
|
23
|
-
* journal, and its line names the copy removed.
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* journal, and its line names the copy removed. It resets the copy, not Temporal: the finished
|
|
24
|
+
* workflow stays on the server, which the queue, counting only the live circuits, no more holds the
|
|
25
|
+
* ticket back for (grillhouse-d0t). A circuit that runs is refused by its name (`ReponseRefusee`)
|
|
26
|
+
* and nothing is removed; a ticket the server no longer holds is removed all the same.
|
|
26
27
|
*/
|
|
27
28
|
export declare function recommencerLeCircuit(client: Client, racine: string, ticket: string, retirer: (racine: string, ticket: string) => string): Promise<string>;
|
|
28
29
|
/**
|
|
@@ -151,9 +151,10 @@ export async function reprendreLeCircuit(client, racine, ticket, contexte = null
|
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
153
|
* Starts the circuit of <ticket> over (`--recommencer`): <retirer> removes its copy, sheets and
|
|
154
|
-
* journal, and its line names the copy removed.
|
|
155
|
-
*
|
|
156
|
-
*
|
|
154
|
+
* journal, and its line names the copy removed. It resets the copy, not Temporal: the finished
|
|
155
|
+
* workflow stays on the server, which the queue, counting only the live circuits, no more holds the
|
|
156
|
+
* ticket back for (grillhouse-d0t). A circuit that runs is refused by its name (`ReponseRefusee`)
|
|
157
|
+
* and nothing is removed; a ticket the server no longer holds is removed all the same.
|
|
157
158
|
*/
|
|
158
159
|
export async function recommencerLeCircuit(client, racine, ticket, retirer) {
|
|
159
160
|
const d = await handle(client, racine, ticket)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/temporal/circuit/client.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,gGAAgG;AAChG,mGAAmG;AACnG,8FAA8F;AAC9F,kGAAkG;AAClG,kGAAkG;AAClG,+FAA+F;AAC/F,6FAA6F;AAC7F,gGAAgG;AAChG,wFAAwF;AACxF,sBAAsB;AACtB,OAAO,EAAE,W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ACL,CAAC;IACD,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACpE,CAAC"}
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/temporal/circuit/client.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,gGAAgG;AAChG,mGAAmG;AACnG,8FAA8F;AAC9F,kGAAkG;AAClG,kGAAkG;AAClG,+FAA+F;AAC/F,6FAA6F;AAC7F,gGAAgG;AAChG,wFAAwF;AACxF,sBAAsB;AACtB,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAe,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,oCAAoC,GACrC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,OAAO,EACP,OAAO,EACP,MAAM,EACN,OAAO,EACP,WAAW,EACX,MAAM,EACN,mBAAmB,EACnB,SAAS,GAQV,MAAM,cAAc,CAAC;AAEtB,oGAAoG;AACpG,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,MAAc,EACd,MAAuB,EACvB,IAAY;IAEZ,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD,MAAM,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,EAAE;QACnC,UAAU,EAAE,EAAE;QACd,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,wBAAwB,EAAE,cAAc;KACzC,CAAC,CAAC;IACH,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,MAAM,M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CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;YACvF,MAAM,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,CAAC;YAClC,UAAU;YACV,SAAS,EAAE,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC;YACjC,OAAO;YACP,GAAG,EAAE,CAAC,CAAC,KAAK;YACZ,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,CAAC;YACxB,OAAO;YACP,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI;SAChD,CAAC,CAAC;IACL,CAAC;IACD,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -22,10 +22,12 @@
|
|
|
22
22
|
// - `--reprendre`, `--depuis` and `--etendre` answer the stop of the circuit (the updates of its
|
|
23
23
|
// workflow, or a new workflow on the state a stopped one gave back), `--arreter` stops it (its
|
|
24
24
|
// signal); a package of `--etendre` the repository does not hold is refused before, by its name; `--contexte` gives the supervisor's text to each, and `--depuis` requires it.
|
|
25
|
-
// - `--recommencer` starts a stopped circuit over,
|
|
26
|
-
// it carries), its sheets and its journal are removed, then the ticket goes in the queue
|
|
27
|
-
// circuit starts from the testwriter in a fresh copy; the ticket, its plan and its
|
|
28
|
-
//
|
|
25
|
+
// - `--recommencer` starts a stopped circuit over, resetting its copy, not Temporal: its copy (with
|
|
26
|
+
// any work it carries), its sheets and its journal are removed, then the ticket goes in the queue
|
|
27
|
+
// and its circuit starts from the testwriter in a fresh copy; the ticket, its plan and its
|
|
28
|
+
// comments stay. The finished workflow stays on the server, but the queue counts only the live
|
|
29
|
+
// circuits and no more holds the ticket back (grillhouse-d0t). A circuit that runs is refused; it
|
|
30
|
+
// goes alone (./appel.ts).
|
|
29
31
|
// - Each writes one line on the standard output, exit 0. A malformed call writes the usage, a
|
|
30
32
|
// refusal (`ReponseRefusee`, the ticket refused) its reason, on the error stream, exit 2. A
|
|
31
33
|
// server that does not answer, or Beads that fails, is said on the error stream, exit 1.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commande.js","sourceRoot":"","sources":["../../../src/temporal/circuit/commande.ts"],"names":[],"mappings":";AACA,gGAAgG;AAChG,2CAA2C;AAC3C,EAAE;AACF,8FAA8F;AAC9F,iEAAiE;AACjE,qFAAqF;AACrF,oFAAoF;AACpF,+DAA+D;AAC/D,8CAA8C;AAC9C,EAAE;AACF,8FAA8F;AAC9F,qFAAqF;AACrF,kGAAkG;AAClG,+FAA+F;AAC/F,mGAAmG;AACnG,qGAAqG;AACrG,+FAA+F;AAC/F,kGAAkG;AAClG,gGAAgG;AAChG,iBAAiB;AACjB,iGAAiG;AACjG,iGAAiG;AACjG,iLAAiL;AACjL,
|
|
1
|
+
{"version":3,"file":"commande.js","sourceRoot":"","sources":["../../../src/temporal/circuit/commande.ts"],"names":[],"mappings":";AACA,gGAAgG;AAChG,2CAA2C;AAC3C,EAAE;AACF,8FAA8F;AAC9F,iEAAiE;AACjE,qFAAqF;AACrF,oFAAoF;AACpF,+DAA+D;AAC/D,8CAA8C;AAC9C,EAAE;AACF,8FAA8F;AAC9F,qFAAqF;AACrF,kGAAkG;AAClG,+FAA+F;AAC/F,mGAAmG;AACnG,qGAAqG;AACrG,+FAA+F;AAC/F,kGAAkG;AAClG,gGAAgG;AAChG,iBAAiB;AACjB,iGAAiG;AACjG,iGAAiG;AACjG,iLAAiL;AACjL,oGAAoG;AACpG,oGAAoG;AACpG,6FAA6F;AAC7F,iGAAiG;AACjG,oGAAoG;AACpG,6BAA6B;AAC7B,8FAA8F;AAC9F,8FAA8F;AAC9F,2FAA2F;AAC3F,OAAO,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,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;AAC1B,CAAC,EACD,CAAC,CAAU,EAAE,EAAE;IACb,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,0BAA0B,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC/D,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACvB,CAAC,CACF,CAAC"}
|
|
@@ -13,8 +13,12 @@
|
|
|
13
13
|
// on the supervisor's word (`--arreter`, the label `circuit` taken off): Beads, the durable
|
|
14
14
|
// register, keeps it from starting again. A circuit alive whose ticket was closed outside it
|
|
15
15
|
// (delivered directly) before its integration counts no more: the queue stops it (ARRETER) at its
|
|
16
|
-
// next wake, as Zuul drops from its pipeline a change abandoned or merged.
|
|
17
|
-
// (
|
|
16
|
+
// next wake, as Zuul drops from its pipeline a change abandoned or merged. Only the circuits alive
|
|
17
|
+
// (the server's Running: in progress or paused on a question, a place) hold their ticket out of the
|
|
18
|
+
// queue (grillhouse-d0t); a finished circuit not integrated — integrated, stopped, closed outside
|
|
19
|
+
// it, interrupted — holds it no more, as a merge queue counts no finished try. The server keeps the
|
|
20
|
+
// finished circuits readable for the table and the supervisor, only the decision to start stops
|
|
21
|
+
// counting them.
|
|
18
22
|
// Each circuit is a child that outlives the queue and that its cancellation does not reach; a
|
|
19
23
|
// ticket whose circuit runs already, visible or not yet, does not start again. A fault (the
|
|
20
24
|
// setting, the package.json, Beads) starts nothing, named in the query. Past its length of
|
|
@@ -41,6 +45,10 @@ const PLACES_DE_LA_MACHINE = 'places-de-la-machine';
|
|
|
41
45
|
// The patch of the journal of states (grillhouse-4nr.20): a run that recorded its starts and ends
|
|
42
46
|
// before the change replays them without their line.
|
|
43
47
|
const TRACE_DE_LA_FILE = 'trace-de-la-file';
|
|
48
|
+
// The patch of the queue that counts only the circuits alive (grillhouse-d0t): a run that recorded
|
|
49
|
+
// its starts counting the finished circuits not integrated replays them so; a new run counts only
|
|
50
|
+
// the alive, so a finished circuit never holds a ticket out of the queue.
|
|
51
|
+
const CIRCUITS_VIVANTS_SEULS = 'circuits-vivants-seuls';
|
|
44
52
|
const REVEIL_MS = 60_000;
|
|
45
53
|
const LIMITE_D_HISTOIRE = 10_000;
|
|
46
54
|
/** The queue of the tickets of the project at <racine>. */
|
|
@@ -88,8 +96,12 @@ export async function ticketsDuProjet(entree) {
|
|
|
88
96
|
}
|
|
89
97
|
arretes = new Set(fermes);
|
|
90
98
|
vivants = [...new Set([...surLeServeur, ...lances])].filter(t => !arretes.has(t)).sort();
|
|
91
|
-
// A ticket whose circuit is
|
|
92
|
-
|
|
99
|
+
// A ticket whose circuit is alive (Running: in progress or paused) does not start again; a
|
|
100
|
+
// finished circuit not integrated holds no place, as a merge queue drops a change merged or
|
|
101
|
+
// abandoned. circuitsNonIntegres stays for a history in flight that replays it.
|
|
102
|
+
const tenus = patched(CIRCUITS_VIVANTS_SEULS)
|
|
103
|
+
? []
|
|
104
|
+
: await actes.circuitsNonIntegres({ racine });
|
|
93
105
|
const r = await actes.ticketsAPartir({
|
|
94
106
|
racine,
|
|
95
107
|
enCours: [...new Set([...vivants, ...tenus])].sort(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deroule.js","sourceRoot":"","sources":["../../../src/temporal/tickets/deroule.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,iGAAiG;AACjG,kEAAkE;AAClE,iGAAiG;AACjG,4FAA4F;AAC5F,4FAA4F;AAC5F,qCAAqC;AACrC,gGAAgG;AAChG,4FAA4F;AAC5F,mGAAmG;AACnG,mGAAmG;AACnG,iGAAiG;AACjG,4FAA4F;AAC5F,6FAA6F;AAC7F,kGAAkG;AAClG,
|
|
1
|
+
{"version":3,"file":"deroule.js","sourceRoot":"","sources":["../../../src/temporal/tickets/deroule.ts"],"names":[],"mappings":"AAAA,qGAAqG;AACrG,iGAAiG;AACjG,kEAAkE;AAClE,iGAAiG;AACjG,4FAA4F;AAC5F,4FAA4F;AAC5F,qCAAq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,CAAC,CAAC,IAAI,EAAE,CAAC;QACtD,CAAC;QACD,MAAM,GAAG,KAAK,CAAC;QACf,MAAM,SAAS,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACxC,IACE,YAAY,EAAE,CAAC,sBAAsB;YACrC,YAAY,EAAE,CAAC,aAAa,IAAI,iBAAiB,EACjD,CAAC;YACD,MAAM,SAAS,CAAC,mBAAmB,CAAC,CAAC;YACrC,OAAO,aAAa,CAAyB;gBAC3C,GAAG,MAAM;gBACT,OAAO,EAAE,EAAE,GAAG,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE;aAC5C,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC"}
|
package/docs/ARCHITECTURE.md
CHANGED
|
@@ -391,14 +391,31 @@ fiche d'avant, une liste donnée la remplace, `[]` la vide ; un fichier que seul
|
|
|
391
391
|
rapport, ni compté « ne se charge pas » ni exigé rouge : le rouge prouve le comportement que le
|
|
392
392
|
ticket développe, et un banc se joue la nuit (décision du responsable, 2026-11-03) ; un lot dont
|
|
393
393
|
les seuls fichiers de test sont hors du jour passe donc la preuve ; un test unitaire cargo sous
|
|
394
|
-
`src/` (`tests.rs`, `src/**/tests/`) que le lot touche est joué, rapporté sous son propre fichier
|
|
395
|
-
|
|
394
|
+
`src/` (`tests.rs`, `src/**/tests/`) que le lot touche est joué, rapporté sous son propre fichier ;
|
|
395
|
+
puis le développeur écrit le code
|
|
396
396
|
(une réorganisation a du code), même sans rouge, avant les contrôles et la relecture
|
|
397
397
|
(`apresLaPreuve`). Une sorte absente, hors de ses valeurs, sans sa raison, ou mécanique sans sa
|
|
398
398
|
commande, vaut `comportement` : le circuit entier. Ainsi un geste sans comportement neuf ne coûte
|
|
399
399
|
ni testwriter ni développeur (BP 320.16 : 38 outils déplacés par mv, 117 commentaires ; 320.40.1 :
|
|
400
400
|
une variable inutilisée, 4 séances ; si61.8 : un seuil 77 → 95, 2 séances « aucun code à livrer »).
|
|
401
401
|
|
|
402
|
+
**La preuve lit le registre des résultats** : pour distinguer un test que le lot ajoute (qui doit
|
|
403
|
+
rougir avant le code) d'un test que main tient déjà vert (dont le vert est accepté), la preuve lit
|
|
404
|
+
le registre des résultats (`scripts/registre-des-resultats.mjs`, `vertsDuRegistre`) au lieu de
|
|
405
|
+
rejouer la version de HEAD de chaque fichier de test, comme ResultDB de Chromium et Treeherder de
|
|
406
|
+
Mozilla gardent le résultat de chaque test par version de main. La passe complète de la vérification
|
|
407
|
+
(la nuit) l'écrit sous `<git common dir>/grillhouse/resultats/<branche>.json` (`garderLeRegistre`,
|
|
408
|
+
quand `GRILLHOUSE_RESULTATS` nomme son dossier de résultats, `scripts/nuit.sh`), à côté du dernier
|
|
409
|
+
vert — tous deux lisant l'état du dépôt et la place de leur fichier par branche dans un même module
|
|
410
|
+
(`scripts/etat-du-depot.mjs`, `etatDuDepot`, `fichierSous`). Une copie lit le registre de sa branche
|
|
411
|
+
quand son commit est un ancêtre de HEAD, sinon celui de main, comme le dernier vert mesure : la
|
|
412
|
+
preuve d'une copie lit ainsi ce que main tient vert. Un test que le registre tient vert et qu'une
|
|
413
|
+
passe du jour ou de la nuit fait rougir est une régression, consignée sous
|
|
414
|
+
`regressions/<branche>.json` avec le moment où il a rougi (son dernier commit vert, son premier HEAD
|
|
415
|
+
rouge), que la nuit classe et corrige (« Main reste vert »). Sans registre — avant la première nuit
|
|
416
|
+
verte — la preuve accepte chaque vert qu'elle ne sait pas encore nommer. Ainsi la preuve lit ce que
|
|
417
|
+
main tient, sans qu'aucun langage rejoue rien.
|
|
418
|
+
|
|
402
419
|
**Le plan fixe les noms publiés** : comme l'approbation d'un propriétaire de code (CODEOWNERS)
|
|
403
420
|
porte sur ce qu'il a relu, la fiche du plan porte les noms qu'un composant publie à un autre et
|
|
404
421
|
que le lot ajoute aux lignes « Consommateurs » de l'INTERFACE du fournisseur (`noms_publies` de
|
|
@@ -1832,29 +1849,7 @@ porte un nom neutre, `test:unit`, le même pour chaque langage), et la lecture d
|
|
|
1832
1849
|
(le verrou du testwriter), et celle qui dit qu'un fichier de test est hors du jour, que la nuit
|
|
1833
1850
|
seule joue (`horsDuJour` : les définitions que le module a déjà, `horsDuJour` de cargo,
|
|
1834
1851
|
`estDeNuit` de python, `horsDuJour` et `estTemoin` de typescript, sans seconde liste ; un nom
|
|
1835
|
-
qui ne les suit pas est du jour), que la preuve du rouge met de côté ;
|
|
1836
|
-
la version de HEAD d'un fichier de test :
|
|
1837
|
-
dans un arbre à elle pour Rust et Python (`arbreDAvant`, `envDArbre` : la copie, code du lot
|
|
1838
|
-
compris, où ce seul fichier est remplacé par sa version de HEAD sous son propre nom, bâtie dans le
|
|
1839
|
-
dossier temporaire du ticket sans `.git`, `target`, `node_modules` ni `.venv`, retirée à la fin de
|
|
1840
|
-
la preuve, un rouge compris ; comme `git bisect run`, jamais un fichier de plus dans le dossier de
|
|
1841
|
-
tests qu'un autre test parcourt), ou, pour TypeScript, à côté de lui, dans le même lancement que
|
|
1842
|
-
lui (`soeurDAvant` : un nom que l'outil du langage
|
|
1843
|
-
joue de lui-même, ses tests nommés comme ceux du fichier, de sa classe, jour, nuit ou banc ; le
|
|
1844
|
-
circuit ne bâtit aucun nom de langage ; une sœur qu'un processus tué a laissée, un fichier non
|
|
1845
|
-
suivi par git, sœur d'un fichier suivi de son dossier qui existe, est retirée au départ du
|
|
1846
|
-
circuit et avant chaque mesure, donc n'entre jamais au lot, nommée au journal du ticket ; le
|
|
1847
|
-
balayage tient une portée de lecture unique (`scripts/lecture-unique.mjs`), où les composants
|
|
1848
|
-
de la composition et ce qu'un module lit à grand coût, les métadonnées de cargo, se lisent une
|
|
1849
|
-
fois, quel que soit le nombre de fichiers ; pour un fichier que l'outil ne sait pas jouer en deux
|
|
1850
|
-
versions, un test unitaire Rust de `src/` ou un fichier d'une cible `tests/<dossier>/main.rs`, pas
|
|
1851
|
-
d'arbre : `testsDeHead` lit sans les jouer les noms des tests de sa version de HEAD, que la preuve
|
|
1852
|
-
tient pour des verts que HEAD tient déjà ; chaque fichier porte ses propres tests, comme le verdict
|
|
1853
|
-
les lui donne : un test `foo::bar` de `tests/it/main.rs` va au fichier de son module,
|
|
1854
|
-
`tests/it/foo.rs` (ou `foo/mod.rs`), comme un test unitaire va à son `tests.rs` ; un arbre qui ne compile plus n'est pas un rouge du lot : quand la
|
|
1855
|
-
construction échoue avec les arbres et que le lot seul construit, la preuve rejoue le paquet sans
|
|
1856
|
-
eux et lit de même les noms de HEAD de ces fichiers, `testsDeHead` ; une
|
|
1857
|
-
construction que le lot seul casse reste un rouge), et la partie d'un manifeste qui déclare ce dont ses tests dépendent,
|
|
1852
|
+
qui ne les suit pas est du jour), que la preuve du rouge met de côté ; et la partie d'un manifeste qui déclare ce dont ses tests dépendent,
|
|
1858
1853
|
avec le fichier de verrouillage des versions (`manifestes` : le testwriter les écrit, comme
|
|
1859
1854
|
l'auteur d'un test de Bazel déclare les dépendances de sa cible ; le verrou refuse tout autre
|
|
1860
1855
|
changement du manifeste, chaque partie nommée ; en cargo, d'un fichier de code, le testwriter
|
|
@@ -1872,7 +1867,7 @@ commande joue dans chaque module qui la décrit, avec son outil, et les verdicts
|
|
|
1872
1867
|
un seul fichier, assemblé par le noyau des entrées de chaque module (`scripts/index-interfaces.mjs`) ;
|
|
1873
1868
|
le verrou des rôles, l'enveloppe et `maj` prennent l'union de ce que demandent les modules. Passent par elle : les
|
|
1874
1869
|
composants et leurs lecteurs du relevé des composants ; la règle d'un fichier de test des verrous,
|
|
1875
|
-
des lots de l'intégration et du circuit ;
|
|
1870
|
+
des lots de l'intégration et du circuit ; les commandes de `grillhouse tests` et `grillhouse
|
|
1876
1871
|
verifier` ; le verdict que le circuit lit, et les paquets du plan qui portent des tests ; les fichiers engendrés du circuit ; les gardes de
|
|
1877
1872
|
`grillhouse gardes-du-cadre` ; les sous-commandes du module, chacune de son nom (`grillhouse
|
|
1878
1873
|
frontieres`) ; les éléments du lot que le circuit donne au relecteur ; la matière de test que
|
package/docs/INTERFACE.md
CHANGED
|
@@ -54,8 +54,8 @@ garde des langages, `maj` et `grillhouse paquet` demandent à chaque module :
|
|
|
54
54
|
- les composants sont ceux de chaque module ; un dossier que deux modules revendiquent est refusé,
|
|
55
55
|
nommé avec les deux langages ;
|
|
56
56
|
- un fichier va au module du composant qui le tient, le plus profond ; un fichier hors de tout
|
|
57
|
-
composant, au premier module dont la réponse n'est pas nulle (`estUnTest`, `horsDuJour`,
|
|
58
|
-
`
|
|
57
|
+
composant, au premier module dont la réponse n'est pas nulle (`estUnTest`, `horsDuJour`,
|
|
58
|
+
`manifestes.horsDesTests`) ;
|
|
59
59
|
- les lecteurs et les éléments d'un lot sont ceux de chaque module sur ses
|
|
60
60
|
composants, réunis : un nom sans fournisseur l'est dans chaque module ; le verdict d'une passe, celui de chaque module, lu dans le même dossier
|
|
61
61
|
de résultats ;
|
|
@@ -320,12 +320,6 @@ paquet` écrit (son `name` : celui du crate ou du projet) et inscrit aux `worksp
|
|
|
320
320
|
- `horsDuJour` (`chemin`, `racine`) : vrai quand le fichier de test est de ceux que seule la nuit
|
|
321
321
|
joue (test de nuit, banc ou témoin de temps), selon les définitions du module ; faux pour tout
|
|
322
322
|
autre fichier, absent compris. La preuve du rouge met ces fichiers de côté et les nomme.
|
|
323
|
-
- `soeurDAvant` (facultatif, `typescript` seul) : le nom de la sœur d'un fichier de test, à côté de
|
|
324
|
-
lui, où la preuve du rouge écrit sa version de HEAD : un test que l'outil du langage joue dans le
|
|
325
|
-
même lancement, ses tests nommés comme ceux du fichier, de la même classe que lui, jour, nuit ou
|
|
326
|
-
banc, pour qu'elle se joue comme lui (`<nom>.circuit-avant.test.<ext>`,
|
|
327
|
-
`<nom>.circuit-avant.nuit.test.<ext>`, `<nom>.circuit-avant.budget.test.<ext>`), ou null pour un
|
|
328
|
-
fichier que l'outil ne joue pas.
|
|
329
323
|
- `resumesDuLancement`, `garderLesResumes`, `lireLesResumes` (facultatifs, `typescript` seul, qui pilote
|
|
330
324
|
Turborepo) : le résumé de passe que Turborepo écrit sous `--summarize`. `resumesDuLancement` nomme
|
|
331
325
|
ceux d'une racine avant un lancement ; `garderLesResumes` range ceux qu'un lancement a écrits dans
|
|
@@ -334,29 +328,6 @@ paquet` écrit (son `name` : celui du crate ou du projet) et inscrit aux `worksp
|
|
|
334
328
|
`cargo` et `python` : `lancerLesTaches` demande le résumé et le range quand un dossier de résultats
|
|
335
329
|
est nommé, et `tachesDuVerdict` joint les tâches du résumé à celles qu'un module a écrites (une
|
|
336
330
|
tâche relue du cache paraît avec le code 0, sans rapport).
|
|
337
|
-
- `arbreDAvant` (`chemin`, `racine`) : vrai quand la version de HEAD d'un fichier de test se joue dans un
|
|
338
|
-
arbre à elle (`cargo` : une cible `tests/<nom>.rs` ; `python` : un fichier que pytest joue), la
|
|
339
|
-
copie où ce seul fichier est remplacé par sa version de HEAD, sous son propre nom, jamais un
|
|
340
|
-
fichier de plus dans la copie ; faux pour un fichier que l'outil joue à côté de lui (`typescript`),
|
|
341
|
-
ne sait pas jouer ainsi (`cargo` : une cible `tests/<dossier>/main.rs`, un test unitaire de
|
|
342
|
-
`src/`) ou ne joue pas.
|
|
343
|
-
- `envDArbre` (`chemin`, `racine`) : l'environnement sous lequel l'arbre d'un fichier se joue (`cargo` :
|
|
344
|
-
le dossier cible des compilations de la copie, que l'arbre partage — `target/` de la copie quand
|
|
345
|
-
elle est hors du dossier temporaire — et la copie elle-même, `GRILLHOUSE_COPIE_DE_L_ARBRE`, dont
|
|
346
|
-
git suit le `Cargo.lock` que l'arbre, sans `.git`, porte ; `python` : le dossier des environnements
|
|
347
|
-
uv de la copie, `<copie>/.venv`, sous `GRILLHOUSE_VENV_DE_LA_COPIE`, que l'arbre réutilise au lieu
|
|
348
|
-
d'en recréer un par fichier) ; vide pour `typescript` et pour un fichier hors de tout paquet python.
|
|
349
|
-
- `testsDeHead` (`chemin`, `racine`, `lire`) : pour un fichier de test dont la preuve ne joue pas l'arbre,
|
|
350
|
-
les noms des tests de sa version de HEAD, lus sans les jouer, tels que le verdict les nomme ; la
|
|
351
|
-
preuve du rouge tient chacun pour un vert que HEAD tient déjà, puisque main reste vert. `lire`
|
|
352
|
-
rend le texte de HEAD d'un fichier depuis la racine. `cargo` : un test unitaire de `src/`, ses
|
|
353
|
-
tests marqués `#[test]` ou `#[<chemin>::test]` dans leurs modules en ligne, sous le chemin de
|
|
354
|
-
module que nextest rapporte (`server::tests::groupe::nom`) ; une cible `tests/<dossier>/main.rs`,
|
|
355
|
-
avec ses modules hors ligne (`mod aide;`) ; une cible `tests/<nom>.rs`, dont la preuve joue
|
|
356
|
-
l'arbre sauf quand lui seul casse la construction de son paquet (la version de HEAD ne compile
|
|
357
|
-
plus contre le `tests/common` du lot) : ses noms sans la cible, ses modules hors ligne lus,
|
|
358
|
-
`common::<fn>`. Null pour tout autre fichier, ou un fichier que HEAD ne tient pas ;
|
|
359
|
-
`typescript` et `python`, toujours null.
|
|
360
331
|
- `manifestes` : ce que le testwriter écrit des manifestes, comme l'auteur d'un test de Bazel
|
|
361
332
|
déclare les dépendances de sa cible. `verrous`, les fichiers de verrouillage des versions depuis
|
|
362
333
|
la racine (cargo : `Cargo.lock` ; typescript : `package-lock.json` ; python : `uv.lock`, celui
|
|
@@ -398,8 +369,18 @@ puis le verrou ; aucune place dans la CI ni dans l'enveloppe d'un agent, que cou
|
|
|
398
369
|
séance), les travailleurs d'une séance
|
|
399
370
|
(`travailleursDeLaSeance(env)` : le nombre que donne `GRILLHOUSE_TRAVAILLEURS`, max(1, cœurs ÷
|
|
400
371
|
places), que le module passe à son outil — `maxWorkers`, `-j`, `-n` — ou `null` pour une passe
|
|
401
|
-
lourde, qui garde tous les cœurs ; une valeur fautive est refusée par son nom), le dernier vert,
|
|
402
|
-
|
|
372
|
+
lourde, qui garde tous les cœurs ; une valeur fautive est refusée par son nom), le dernier vert, le
|
|
373
|
+
registre des résultats (`registre-des-resultats.mjs` : `garderLeRegistre(etat, rapports)`, les
|
|
374
|
+
tests verts de chaque fichier d'une passe, que la passe complète écrit quand `GRILLHOUSE_RESULTATS`
|
|
375
|
+
nomme son dossier de résultats ; `lireLeRegistre(racine)`, le registre de la branche quand son
|
|
376
|
+
commit est un ancêtre de HEAD, celui de main sinon, `null` hors de ces cas ;
|
|
377
|
+
`vertsDuRegistre(registre, fichier)`, les noms des tests verts d'un fichier, un ensemble vide pour
|
|
378
|
+
un fichier absent ; `consignerLesRegressions(etat, rouges, registre, quand)`, un vert devenu rouge,
|
|
379
|
+
avec son dernier commit vert et son premier HEAD rouge, sous `regressions/<branche>.json`, sans
|
|
380
|
+
doublon), l'état du dépôt et la place de ses fichiers par branche (`etat-du-depot.mjs` :
|
|
381
|
+
`etatDuDepot(racine)`, `{ racine, commit, arbre, branche, main }` ou `{ raison }` ;
|
|
382
|
+
`fichierSous(racine, sous, branche)`, le fichier `<git common dir>/grillhouse/<sous>/<branche>.json`
|
|
383
|
+
que le dernier vert et le registre partagent), les arbitrages d'un ticket, le préfixe des tickets (`CONFIG_BEADS`, le fichier commité de Beads,
|
|
403
384
|
`.beads/config.yaml` ; `prefixe(racine)`, la clé `issue-prefix` lue là, jamais par `bd`, et une
|
|
404
385
|
erreur qui nomme le fichier ou la clé manquants ; `ecrireLePrefixe(racine, valeur)`, son seul
|
|
405
386
|
écrivain, que la préparation d'un projet neuf et la migration de `grillhouse maj` appellent : la
|
|
@@ -425,7 +406,7 @@ dernier, quel que soit l'ordre des langages du tableau des composants, si bien q
|
|
|
425
406
|
hors du graphe rouge, `cargo deny check` par exemple, l'empêche de poser le dernier vert ; `TRACE`, `tracesDuPlan`), et la lecture unique
|
|
426
407
|
(`luUneFois(cle, lire)` : ce qu'un module lit à grand coût, les métadonnées de cargo, ses
|
|
427
408
|
composants, se lit une fois tant que le noyau tient une portée de lecture unique, un geste qui
|
|
428
|
-
pose beaucoup de questions sur un arbre immobile
|
|
409
|
+
pose beaucoup de questions sur un arbre immobile ; à chaque appel hors
|
|
429
410
|
d'elle). Pour le dossier temporaire et les
|
|
430
411
|
caches de compilation : `dansLeTemporaire(chemin, env)`, si un chemin est sous le dossier
|
|
431
412
|
temporaire (`TMPDIR`, celui du système, `/tmp`) ; `cacheDeCompilation(outil, env)`, le cache d'un
|