Skip to content

Renderer pixel budget (sc-8726) - #26

Merged
ndbroadbent merged 1 commit into
mainfrom
sc-8726
Dec 2, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
sc-8726

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

Renderer pixel budget (sc-8726): before drawing, the renderer reads each page's size (CropBox, else MediaBox, inherited, times UserUnit) and refuses a PDF whose page would be over 110 megapixels at the job's DPI, whose pages add up to over 2,500, or that has over 2,000 pages, saying which and what to do (lower the DPI, fix the page size, split the document), instead of holding a renderer for minutes. A PDF whose pages can't be read is left to the engine and its timeout

Story: https://app.shortcut.com/docspring/story/8726. The separate metrics token still needs the scraper's config in talira-ai/infra.

…ach page's size (CropBox, else MediaBox, inherited, times UserUnit) and refuses a PDF whose page would be over 110 megapixels at the job's DPI, whose pages add up to over 2,500, or that has over 2,000 pages, saying which and what to do (lower the DPI, fix the page size, split the document), instead of holding a renderer for minutes. A PDF whose pages can't be read is left to the engine and its timeout
@visualci-com

visualci-com Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #121 · 2 changed, 291 unchanged · approved by visualci coordinator agent (MCP) for Nathan Broadbent

Renderer-only PR. These two changes are main's own: get_snapshot's images wording, merged and still unreviewed on main.

This PR vs base: 2 changed since #119, across 1 build

Snapshot Before After
json/mcp/lists_the_tools_each_kind_of_token_can_use/tools-list-project-token (changed) text text, see the build
json/mcp/lists_the_tools_each_kind_of_token_can_use/tools-list-user-token (changed) text text, see the build

Updated as builds change. Agents can review with VisualCI's MCP tools.

@ndbroadbent
ndbroadbent merged commit e469b05 into main Dec 2, 2026
10 checks passed
@ndbroadbent
ndbroadbent deleted the sc-8726 branch December 2, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant