Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test([issue-12536]): retain making-of phase evidence in quiet CI

[._.]/ Adam Eivyb3f135d24e9e
diff --git a/server/routes/musicVideoMakingOf.test.js b/server/routes/musicVideoMakingOf.test.js
index bfc3707648..3b03e3e1ab 100644
--- a/server/routes/musicVideoMakingOf.test.js
+++ b/server/routes/musicVideoMakingOf.test.js
@@ -174,7 +174,9 @@ describe('local making-of compilation', () => {
longestEncodingMs = Math.max(longestEncodingMs, elapsed);
});
});
- const report = status => console.log(`⏱️ Making-of graphics ${status}: phase=${phase} phaseMs=${Math.round(performance.now() - phaseStarted)} totalMs=${Math.round(performance.now() - started)} encodes=${encoded} encodingMs=${Math.round(encodingMs)} longestEncodingMs=${Math.round(longestEncodingMs)} activeEncodes=${activeEncodings.size} oldestEncodeMs=${Math.round(activeEncodings.size ? performance.now() - Math.min(...[...activeEncodings].map(operation => operation.started)) : 0)}`);
+ // CI intentionally silences console methods; this fixed synthetic numeric
+ // projection must reach stderr even when PORTOS_TEST_QUIET=1.
+ const report = status => process.stderr.write(`⏱️ Making-of graphics ${status}: phase=${phase} phaseMs=${Math.round(performance.now() - phaseStarted)} totalMs=${Math.round(performance.now() - started)} encodes=${encoded} encodingMs=${Math.round(encodingMs)} longestEncodingMs=${Math.round(longestEncodingMs)} activeEncodes=${activeEncodings.size} oldestEncodeMs=${Math.round(activeEncodings.size ? performance.now() - Math.min(...[...activeEncodings].map(operation => operation.started)) : 0)}\n`);
const heartbeat = setInterval(() => report('pending'), 5000);
onTestFinished(() => { clearInterval(heartbeat); encodingSpy.mockRestore(); report('finished'); });
const measured = async (name, run) => {