Repository navigation
[3939 by GPT-6.2 Sol] Sprites visual previews render in monospace: sans-serif resolves to Liberation Mono (install DejaVu or alias fontconfig) - #3941
Conversation
Fixed #3939. Sprite provisioning and the Fly Machines agent image now install DejaVu fonts and Fontconfig. Sprite setup checks `fc-match sans-serif` after installation and logs a worker warning if it can’t verify a proportional font. The normal worker rollout provisions fresh checkpoints with the updated setup. 181 tests passed, and the core typecheck passed. Local Chromium rendered `system-ui, sans-serif` in DejaVu Sans with proportional glyph widths. The live Sprite check was skipped because no Sprite token was available, and the Fly image wasn’t built locally because Docker was unavailable. ProPR-Agent: codex/gpt-6.2-sol
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit 70887fd Summary of ChangesFixed the Strict ESLint and the core build passed on both the PR branch and a local reconstruction of the CI merge. The merged revision passed 61 focused tests. Two live Sprite tests were skipped because no token was configured. The local Git fetch failed on a read-only filesystem, so I retrieved the CI file through the GitHub API. Review digestRisk-tiered paths
Diff size: 1 file changed, +7/−12 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Fixed the `Validate Changes` failure in [spritesProvisioning.ts](/home/node/workspace/packages/core/src/agents/runtime/sprites/spritesProvisioning.ts:80). The merged revision exceeded ESLint’s complexity and file-length limits. I simplified the provisioning error handling and warning logging while preserving the font setup behavior. [CI run](https://github.com/integry/propr/actions/runs/46538287698/job/142269949288) Strict ESLint and the core build passed on both the PR branch and a local reconstruction of the CI merge. The merged revision passed 61 focused tests. Two live Sprite tests were skipped because no token was configured. The local Git fetch failed on a read-only filesystem, so I retrieved the CI file through the GitHub API. PR: #3941 Comment by: @propr-dev[bot] (ID: 7295447246) Model: GPT-6.2 Sol ProPR-Agent: codex/gpt-6.2-sol
|
ℹ️ Analyzed the follow-up request by @github-actions[bot] Analysis SummaryPR #3941 already contains a fix for both Sprite provisioning lint warnings. I verified that strict core lint and the core build pass on the current branch. All 92 local Sprite tests passed, including font setup coverage. Two live Sprite tests were skipped because no token was configured. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationReady to merge within scope. The change adds proportional fonts to both runtime provisioning paths and surfaces failed font verification in worker logs. The supplied current-head checks report 25 passed, none failed, and 17 skipped. ✅ Consistent font installation — Both ✅ Behavior-focused verification — Unit tests cover proportional, monospace, and empty font matches. The live test checks actual Chromium glyph widths using ✅ Preserved cleanup behavior — The provisioning promise refactors retain late-created Sprite cleanup on cancellation and aggregate cleanup errors without losing the original failure. Review was based on the supplied code and context; no commands or tests were run. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Test worker warning forwardingConsider a provisioning test that returns setup stderr containing the font warning and verifies that ScoreThe implementation is focused, preserves provisioning semantics, and adds useful font verification. Current checks are green, and the supplied diff shows no merge-blocking defects. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
aec262b
into
3758-epic-runtime-abstraction-sc0
AI Implementation Summary
Closes #3939
Branch:
3939/gpt-6.2-sol-sprites-visual-previews-r-20261130-2329-m6wCommits: ✅ Changes committed (6ee435e)
AI Processing Completed
Execution Details:
Summary:
Fixed #3939. Sprite provisioning and the Fly Machines agent image now install DejaVu fonts and Fontconfig. Sprite setup checks
fc-match sans-serifafter installation and logs a worker warning if it can’t verify a proportional font. The normal worker rollout provisions fresh checkpoints with the updated setup.181 tests passed, and the core typecheck passed. Local Chromium rendered
system-ui, sans-serifin DejaVu Sans with proportional glyph widths. The live Sprite check was skipped because no Sprite token was available, and the Fly image wasn’t built locally because Docker was unavailable.Review digest
Risk-tiered paths
Dockerfile.agent(+6/−0)packages/core/src/agents/runtime/sprites/spritesProvisioning.ts(+7/−1)scripts/sprites-agent-setup.sh(+10/−1)test/spritesRuntime.live.test.ts(+19/−3)test/spritesRuntime.test.ts(+24/−0)Diff size: 5 files changed, +66/−5 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3939.
💡 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!
Visual preview
Proportional fonts in Chromium
A local Playwright Chromium capture with DejaVu Sans and fontconfig. The system UI sample shows different widths for W and i, with a monospace reference below.
Original unavailable: managed storage is unavailable or the upload has expired.