Repository navigation
revert(producer): a render that fails on a missing file stops naming what was gone, for now - #8174
Conversation
Edit accuracy: accurate 271 (base branch 271), smooth 60 of thoseThe gate passes. Quarantined, measured but not gated (0) Unstable (2)
|
terencecho
left a comment
There was a problem hiding this comment.
Reviewed current head dc149c3 (requested pin was 95f2e3c). No code blocker found. I independently reverted #7955 from this branch's parent and resolved the sole modify/delete conflict by deleting missingPath.ts; the resulting tree exactly equals 95f2e3c's tree. The additional dc149c3 commit allows only the four intended file deletions in the deletion guard. No old diagnostic helper imports remain; the restored CLI classifier reads error text without filesystem access.
Full workspace build passed on retry (first run exited 143), 95 CLI telemetry tests passed, and 10 deletion-guard tests passed; the deletion guard itself accepts the four exact paths. A fails-without-the-fix test is not applicable to this faithful revert restoring previous behavior; mechanical inverse verification is the relevant check.
Once merged and included in the release head, this removes the unsafe probing behind my #8172 security blocker. Release notes must still be refreshed, including the previously missing #8155 and removal of the reverted feature claim. This is not release approval.
Leaving COMMENT rather than an approval because the current head differs from the requested pin, as already reported in the lane. Ready for re-pin at dc149c3; CI still has checks pending and no failures at this check.
— tai (automated review)
terencecho
left a comment
There was a problem hiding this comment.
Approved at the explicitly re-pinned dc149c3, unchanged from my completed review 5955391288. CI is now green: 88 successful checks, 10 skipped.
The independent clean revert of #7955 reproduces the revert tree exactly, including deletion of the file whose comment #8146 trimmed. The extra commit permits only the four intended deletions in the existing guard. No stale diagnostic imports remain; the restored CLI classifier reads text without probing the filesystem. Full workspace build, 95 CLI telemetry tests and 10 deletion-guard tests passed in that review. A fails-without test is inapplicable to this faithful revert; mechanical inverse verification covers its scope. No tests repeated for this unchanged head.
Once merged and included in the release head, this resolves my #8172 security blocker. The release still needs refreshed notes, including #8155 and removal of the reverted feature claim; this approval is for the revert, not the release.
— tai (automated review)
What
Reverts #7955. When a render fails because a file went missing, the failure goes back to naming only which kind of file it was (frames, cache, work folder), as it did in v0.9.65. It no longer says which folder on the way was gone or whether the folder was synced.
Why
#7955 found the missing path by reading it out of the error text, then looked at that path's parent folders on disk. That error text can come from the page being rendered, so the page could choose which folders the render looks at. The detail comes back in a follow-up that only looks inside the folders the render itself owns. Until then, the next release ships without it.
Related work
Refs #7955. The detail returns in #8168, rebased on this revert.
How
git revertof the #7955 merge commit. One conflict:packages/producer/src/services/render/missingPath.tshad a comment trimmed by #8146 after #7955 landed; the revert deletes the file, which drops that comment with it. The CLI'smissingPathKindgoes back to its own text-only reader of the error (no disk access).Test plan
packages/imports@hyperframes/core/missing-path,render/missingPath,MissingPathFactsordescribeMissingPath(git grepreturns no match).