@roomi-fields/grillhouse 0.37.0 → 0.37.1
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 +6 -0
- package/package.json +1 -1
- package/scripts/integration/integrer.mjs +18 -10
- package/scripts/tableau.mjs +10 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.37.1] - 2026-11-13
|
|
10
|
+
|
|
11
|
+
- **The integration judges each file of a lot on the tree where it exists** (grillhouse-1lj): on osc-bridge, a lot that moved the crate at the root under `crates/osc-bridge` was refused « Le lot de tests touche du code » for some 45 files, all tests: the integration judged each one with the crates of the main tree, before the lot, where `crates/osc-bridge/tests/x.rs` fell in the root crate as code. `refusLots` (scripts/integration/integrer.mjs) now judges a file present after the lot on the ticket's copy, and a file the lot deletes or renames away on the main tree, as each side of a diff is read in its own tree; a code file stays refused from the tests lot, and a test from the code lot. **Action for projects**: none.
|
|
12
|
+
|
|
13
|
+
- **A closed ticket whose old circuit the supervisor stopped is done again** (grillhouse-lm4): under 0.37.0 the board counted under ⏸ and showed in AGENTS every closed ticket with a circuit not integrated, 21 on Grillhouse, their circuits stopped by the supervisor long ago and their lots entered another way. A closed ticket now keeps its circuit, and stays in progress, only while that circuit runs or waits for the supervisor (`attendLeSuperviseur`); an open ticket keeps its stopped circuit as before. **Action for projects**: none.
|
|
14
|
+
|
|
9
15
|
## [0.37.0] - 2026-11-13
|
|
10
16
|
|
|
11
17
|
- **The CI of a project installs the binaries of its languages** (grillhouse-l9xa): SyntHub's CI was red « sccache absent du PATH »: `npm run verifier` of a project of Rust runs sccache, cargo-nextest and cargo-deny, which only `npx grillhouse maj` installed, on the poste. The new subcommand `npx grillhouse binaires` installs alone each binary of the project's languages missing or at another version (`installerBinaires`, now scripts/binaires.mjs, which `maj` and `paquet` also play), and writes no file of the project; the template's CI plays it after `npm ci` in its jobs `gardes` and `tranches`, and the night's workflow in its job of the night tests. The refusals « sccache absent du PATH » and « uv absent du PATH » now name `npx grillhouse binaires`. **Action for projects**: `npx grillhouse maj`, which rewrites the frame's workflows (`.github/workflows/ci.yml`, `nuit.yml`) from the template.
|
package/package.json
CHANGED
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
// responsable » comment after it): `refusArbitrage`, the one rule of the label, which the
|
|
23
23
|
// circuit plays too at its launch and at each resumption (scripts/circuit.mjs);
|
|
24
24
|
// 2. the lots: the tests lot touches only what the testwriter writes (`estUnTest` of the module
|
|
25
|
-
// of the language: test files and the shared test material), the code lot none of it;
|
|
25
|
+
// of the language: test files and the shared test material), the code lot none of it; each
|
|
26
|
+
// file judged on the tree where it exists, the ticket's copy for a file present after the
|
|
27
|
+
// lot, the main tree for one the lot deletes or renames away;
|
|
26
28
|
// 3. the main tree: every file of the lots is unmodified there; the ticket's copy is on its
|
|
27
29
|
// branch and carries the lot and nothing else: a modified or untracked file outside the lot
|
|
28
30
|
// refuses, named (what an ignored folder such as node_modules holds is not work);
|
|
@@ -153,11 +155,16 @@ export function refusArbitrage(ticket, comments) {
|
|
|
153
155
|
return null;
|
|
154
156
|
}
|
|
155
157
|
|
|
156
|
-
// The refusal for the files of the lots, or null
|
|
157
|
-
//
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
// The refusal for the files of the lots, or null; the tests lot holds only what the testwriter
|
|
159
|
+
// writes, the code lot none of it. The files are relative to the repository root; each is judged
|
|
160
|
+
// on the tree where it exists, as each side of a diff is read in its own tree: a file present
|
|
161
|
+
// after the lot on <apres> (the ticket's copy), one the lot deletes or renames away on <avant>
|
|
162
|
+
// (the main tree), so a lot that creates or moves a package is read with its own map.
|
|
163
|
+
export function refusLots(tests, code, { avant, apres }) {
|
|
164
|
+
const testwriter = f => {
|
|
165
|
+
const racine = existsSync(path.join(apres, f)) ? apres : avant;
|
|
166
|
+
return langageDe(racine).estUnTest(f, racine) !== null;
|
|
167
|
+
};
|
|
161
168
|
const horsTests = tests.filter(f => !testwriter(f));
|
|
162
169
|
if (horsTests.length) {
|
|
163
170
|
return `Le lot de tests touche du code : ${horsTests.join(', ')}.`;
|
|
@@ -395,7 +402,11 @@ function main(argv) {
|
|
|
395
402
|
if (!tests || !code) {
|
|
396
403
|
return refuser('Un patch du lot est illisible.');
|
|
397
404
|
}
|
|
398
|
-
|
|
405
|
+
// The ticket's copy holds the lot; a ticket without a copy (none was made, or it is gone) has
|
|
406
|
+
// its lot judged on the main tree alone, and nothing to check nor to remove.
|
|
407
|
+
const copieTicket = path.join(racine, '.claude', 'worktrees', o.ticket);
|
|
408
|
+
const avecCopie = existsSync(copieTicket);
|
|
409
|
+
const r2 = refusLots(tests, code, { avant: racine, apres: avecCopie ? copieTicket : racine });
|
|
399
410
|
if (r2) {
|
|
400
411
|
return refuser(r2);
|
|
401
412
|
}
|
|
@@ -425,9 +436,6 @@ function main(argv) {
|
|
|
425
436
|
}
|
|
426
437
|
dire('✓ arbre principal libre');
|
|
427
438
|
const branche = `agent/${o.ticket}`;
|
|
428
|
-
const copieTicket = path.join(racine, '.claude', 'worktrees', o.ticket);
|
|
429
|
-
// A ticket without a copy (none was made, or it is gone) has nothing to check nor to remove.
|
|
430
|
-
const avecCopie = existsSync(copieTicket);
|
|
431
439
|
if (avecCopie) {
|
|
432
440
|
const surBranche = spawnSync(
|
|
433
441
|
'git',
|
package/scripts/tableau.mjs
CHANGED
|
@@ -918,9 +918,17 @@ export function assembler({
|
|
|
918
918
|
}
|
|
919
919
|
// The circuits not integrated of the known tickets, open or closed (the queue closes a ticket
|
|
920
920
|
// before it reads the CI, and its circuit may then wait); a ticket whose circuit runs is in
|
|
921
|
-
// progress.
|
|
921
|
+
// progress. A closed ticket keeps its circuit only while it runs or waits for the supervisor:
|
|
922
|
+
// stopped by the supervisor, its lot entered another way, the ticket is done.
|
|
922
923
|
const parCircuit = new Map(
|
|
923
|
-
circuits
|
|
924
|
+
circuits
|
|
925
|
+
.filter(
|
|
926
|
+
c =>
|
|
927
|
+
parId.has(c.ticket) &&
|
|
928
|
+
!c.integre &&
|
|
929
|
+
(parId.get(c.ticket).status !== 'closed' || c.vivant || attendLeSuperviseur(c))
|
|
930
|
+
)
|
|
931
|
+
.map(c => [c.ticket, c])
|
|
924
932
|
);
|
|
925
933
|
const actifs = new Set([
|
|
926
934
|
...enCoursMesures.map(v => v.ticket).filter(Boolean),
|