Merge pull request #652 from kaoru0822-kitauji/fix/dispatcher-build-recovery

fix(cli): include build step in missing-runtime recovery
This commit is contained in:
Kaoru0822
2026-10-05 22:55:11 -07:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -83,9 +83,12 @@ describe("executable dispatcher", () => {
expect(result).toMatchObject({
exitCode: 1,
stderr: expect.stringContaining(
"REA's compiled runtime is missing. Run `npm ci` in",
"REA's compiled runtime is missing. Run `npm ci && npm run build:cached` in",
),
});
expect(result.stderr).toContain(
"If this is an installed package, reinstall rea-agents.",
);
expect(result).toMatchObject({
stderr: expect.not.stringContaining("ERR_MODULE_NOT_FOUND"),
});