Unverified Commit d592ae1a authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix race condition with experimental tracing (#68143)

If we don't await the tracing to finish before we store the trace cache
we can have an invalid cache which is missing trace entries.
parent c7b6759e
......@@ -2498,6 +2498,8 @@ export default async function build(
if (!isGenerateMode) {
if (config.experimental.flyingShuttle) {
await buildTracesPromise
console.log('stitching builds...')
const stitchResult = await stitchBuilds(
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment