Repository navigation
fix(auth): load renewal reader Playwright safely in executables - #339
Conversation
|
What: Exact linear head Base Current commands/results:
Sol's prior integration objection was correct and is accepted: #338's merge commit failed the fork-stack gate. This candidate is linear; fresh statuses are required, not copied from an old head. Grok's original #338 round was cancelled as superseded before verdict; its old pending status was closed as error. A fresh Grok child reviews this candidate. #323 owns the authorized fleet deployment and approval work. Requirements and who asked: User requires executable-safe renewal reading, focused tests, Linux artifact validation, exact-head Sol/Grok comments then success statuses and green CI, delegated merge, no version bump/force-push, and one combined #335 fleet rollout. |
|
What: Independent Sol round 3 passes PR #339 at Reviewed exact base Findings: none requiring correction.
Requirements and who asked: User requested exact-head independent round 3 review of the #323 SEA loader microfix, linear replacement topology and compatibility with #335 on current main, preserving existing browser/security/packaging behavior; reliable cross-machine access supports the current Objective. Reviewer: GPT-6.1 Sol ( |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
|
What: Exact head Reviewed only PR #339 at FindingsNo blocking finding. No optional change. Cleared
Proof
Read-time resolution of Requirements and who asked: The user asked for an exact-head review of PR #339 at |
* fix(auth): load renewal reader Playwright through executable-safe require * test(auth): keep renewal packaging probe portable and link delivery * docs: link linear renewal packaging delivery
What: Linux releases load the headless renewal reader's Playwright dependency only when the reader runs.
Why: #334 introduced a static package import into the Node single-executable, which cannot resolve file-backed ESM imports and correctly fails the executable validator.
So what: Merged as
9ab53882e87a9e0a6413f74d8b313ce516721d40after exact-head Sol/Grok success and green CI. The authorized fleet rollout with #335 is tracked on #323, cavallo then rocky then bestia.Refs #323, follow-up to #334. This preserves cross-machine access for the current Objective. The reader uses the same lazy
createRequirepattern as the existing preview browser. Dynamicimport()would also fail inside Node SEA. The validator and packaging policy are unchanged.Focused red/green: the reader packaging regression fails on
9f46c833b1with forbiddenplaywright-core, then passes with the fix. The test bundles the real reader with release dependency policy, runs the unchanged executable validator, and uses an isolated Node loader hook to prove evaluation does not load Playwright while invoking the reader does, with the existing typed error. No browser launches. Reader and packaging tests: 22 passing cases across 2 files. Prior Linux executable validation, archive packaging and isolated version/serve smoke passed on the identical integrated loader tree. Current-head artifact proof is recorded here. Server typecheck and targeted lint pass. Full CI and both Sol and Grok reviews pass onc89652e3283cbaa18ebff018b77ace76befb083c. Each named status followed its findings comment. No version bump.Upstream main/Issues/PRs searched: no renewal-specific port available; existing upstream preview boundary already uses createRequire.
Website impact: none, packaging-only repair with unchanged supported commands and session protocol. Frontend entry points, mobile, providers and wire contracts are unchanged.
Requirements and who asked: User requires focused regression proof, Linux release validator success, exact-head independent Sol/Grok success after findings comments, green CI, delegated merge and fleet deployment under #323.
Deleted: Dynamic package import, validator loosening, version bump, new loader abstraction, GUI verification and extra restarts.
Bottleneck: The reader's static dependency prevents Linux artifact activation; defer loading at its existing resource-acquisition boundary.
Checked myself: Failure record and #334 full diff/reviews, release validator mechanics, existing preview loader, failing-before packaging test and 22 passing focused cases.
Implementation: GPT-6.1 Sol (
gpt-6.1-sol) through Codex in T3 Code.