fix(coding-agent): signalled fallback commits with a non-zero exit code

This commit is contained in:
zhang17-24
2026-08-06 23:03:25 +08:00
parent 3a8591a8af
commit ec0253effd
7 changed files with 161 additions and 17 deletions
@@ -73,7 +73,7 @@ describe.serial("commit extension provider resolution", () => {
noChangelog: true,
model: SELECTOR,
}),
).resolves.toBeUndefined();
).resolves.toEqual({ usedFallback: false });
});
test("legacy pipeline resolves the project commit role from an extension provider", async () => {
@@ -84,6 +84,6 @@ describe.serial("commit extension provider resolution", () => {
noChangelog: true,
legacy: true,
}),
).resolves.toBeUndefined();
).resolves.toEqual({ usedFallback: false });
});
});