mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
feat(producer): a failed render says which file was gone again, looking only in its own folders (#8168)
* feat(producer): a render that fails on a missing file says what was gone again Restores the diagnostic the previous commit on main took out, as it was; the commits after it confine what it looks at. * test(producer): render failure diagnostics never probe a path from error text or outside the render * fix(producer): probe a missing path only from a real error, inside the render's folders describeMissingPath now reads only the path Node set on an ENOENT error, never one quoted in a message the page can write, and looks on disk only under the render's temp root, extract cache or work folder. Any other path is named from its text, so a network share is never contacted and the facts cannot tell an existing path from a missing one. * test(producer): a missing-path probe never passes an outside link or climbs above its folder * fix(producer): walk down from the render's own folder and check each link before following it * build(producer): give the packed size budget its 5% headroom with the missing-file diagnostic back
This commit is contained in:
@@ -2147,15 +2147,6 @@ export const ALLOWED_DELETIONS = new Map([
|
||||
"packages/engine/src/services/frameCapture-pageNetwork.test.ts",
|
||||
"pinned the removed per-page filter; browserManager.test.ts pins when a render browser goes behind the proxy",
|
||||
],
|
||||
...[
|
||||
"packages/core/src/missingPath.ts",
|
||||
"packages/producer/src/services/render/missingPath.ts",
|
||||
"packages/producer/src/services/render/missingPath.test.ts",
|
||||
"packages/producer/src/services/renderOrchestrator.missingPath.test.ts",
|
||||
].map((path) => [
|
||||
path,
|
||||
"the revert of #7955 removes the missing-path detail; it returns looking only inside folders the render owns",
|
||||
]),
|
||||
]);
|
||||
|
||||
export function parseBase(argv, fallback = "origin/main") {
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"unpacked": 554000
|
||||
},
|
||||
"@hyperframes/producer": {
|
||||
"packed": 936000,
|
||||
"packed": 993551,
|
||||
"unpacked": 3491355
|
||||
},
|
||||
"@hyperframes/sdk": {
|
||||
|
||||
Reference in New Issue
Block a user