Repository navigation
[3907 by GPT-6.2 Sol] Sprites runtime: Chromium system libraries missing for visual previews - #3909
Conversation
Fresh Sprites now install Chromium’s Ubuntu 26.04 libraries and fonts before ProPR creates the clean checkpoint. Warm runs inherit those dependencies, and repositories can download the browser that matches their Playwright version. 98 targeted tests passed, and Playwright produced a valid 1024×768 PNG locally. The fresh-Sprite smoke test now captures a screenshot as the unprivileged `node` user, but live verification remains pending because `PROPR_SPRITES_LIVE_TOKEN` was unavailable. ProPR-Agent: codex/gpt-6.2-sol
|
CI failed: Full Test Suite Shard 3/4 Please investigate and fix this CI failure.
Failure evidence
|
|
✅ Applied the requested follow-up changes in commit 02edf9b Summary of ChangesFixed the flaky OpenSSH test that failed Full Test Suite Shard 3/4. On CI’s Node.js version, 76 targeted tests passed, including both tests against a real OpenSSH daemon. The core build passed. Two live Sprite tests were skipped because the token was unavailable, and the full shard remains unverified. Review digestRisk-tiered paths
Diff size: 2 files changed, +7/−7 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Fixed the flaky OpenSSH test that failed Full Test Suite Shard 3/4. `ssh2` occasionally generates an Ed25519 key that its own parser rejects. The test now uses the Sprite runtime’s existing helper, which validates each key and retries when parsing fails. [Failed CI job](https://github.com/integry/propr/actions/runs/46339096530/job/141586237879) On CI’s Node.js version, 76 targeted tests passed, including both tests against a real OpenSSH daemon. The core build passed. Two live Sprite tests were skipped because the token was unavailable, and the full shard remains unverified. PR: #3909 Comment by: @propr-dev[bot] (ID: 7267144704) Model: GPT-6.2 Sol ProPR-Agent: codex/gpt-6.2-sol
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationReady to merge within the reviewed scope. The change installs Chromium dependencies during provisioning and adds a screenshot smoke test. Review was static; no commands or tests were run. Current-head checks report 24 passed and 17 skipped. ✅ Checkpoint placement — Dependencies are installed before provisioning creates the clean checkpoint, so subsequent restores retain them. ✅ Unprivileged browser smoke test — The live test verifies execution as ✅ Shared key-generation behavior — OpenSSH tests reuse the existing parse-checked key generator without changing production key-generation semantics. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Exercise screenshots after restoreIn ScoreThe implementation is focused, the changed paths are consistent with the objective, and current checks show no failures. Actual Sprite browser execution remains unverified in this review and reportedly pending in the implementation run. Score: 8/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
One regression to fix before merge. Please:
|
|
✅ Applied the requested follow-up changes in commit c9554ac Summary of ChangesSprite setup now continues if Regression tests verified exit code 0 and the preview warning for both apt failure modes, plus graceful handling when Review digestRisk-tiered paths
Diff size: 2 files changed, +40/−8 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Sprite setup now continues if `apt-get update` or the Chromium package install fails, logging one warning that visual previews will be unavailable. `apt-get` is optional again. If it’s present and SSH needs to be installed, setup still attempts that install after a failed update and logs any failure without aborting. Regression tests verified exit code 0 and the preview warning for both apt failure modes, plus graceful handling when `apt-get` is missing. All 70 targeted tests passed. PR: #3909 Comment by: @integry (ID: 7276760575) Model: GPT-6.2 Sol ProPR-Agent: codex/gpt-6.2-sol
|
Reviewed c9554ac: the Chromium libraries and the openssh install are best-effort again, |
AI Implementation Summary
Closes #3907
Branch:
3907/gpt-6.2-sol-sprites-runtime-chromium--20261130-0203-xdxCommits: ✅ Changes committed (7b1bd1b)
AI Processing Completed
Execution Details:
Summary:
Fresh Sprites now install Chromium’s Ubuntu 26.04 libraries and fonts before ProPR creates the clean checkpoint. Warm runs inherit those dependencies, and repositories can download the browser that matches their Playwright version.
98 targeted tests passed, and Playwright produced a valid 1024×768 PNG locally. The fresh-Sprite smoke test now captures a screenshot as the unprivileged
nodeuser, but live verification remains pending becausePROPR_SPRITES_LIVE_TOKENwas unavailable.Review digest
Risk-tiered paths
scripts/sprites-agent-setup.sh(+18/−5)test/spritesRuntime.live.test.ts(+8/−1)Diff size: 2 files changed, +26/−6 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3907.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!