Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

fix(cache): match the existing action receipt filename digest [C7]

Corey Olson843eb98b1fee
diff --git a/src/test-action-reporter.js b/src/test-action-reporter.js
index 810221bd..5c10159e 100644
--- a/src/test-action-reporter.js
+++ b/src/test-action-reporter.js
@@ -41,7 +41,7 @@ export default async function* recordActionTap(events) {
for (const [file, report] of reports) {
// A helper can register tests at another source location. Without every outcome's attribution, run fresh.
if (!report.counts || report.observedTests !== report.counts.tests) continue;
- const name = createHash('sha256').update(file).digest('hex');
+ const name = createHash('sha256').update(JSON.stringify(file)).digest('hex');
const path = join(directory, `${name}.tap.json`);
const temporary = `${path}.${process.pid}.tmp`;
writeFileSync(temporary, JSON.stringify(report), { mode: 0o600 });