Adversarial PDF preview deadline and equal-byte renderer fixture need review #1267

Open
opened 2026-10-07 00:11:06 +00:00 by kayg · 0 comments
Owner

Evidence from adv31 / #1202

Product head 139d4378e, release build and real server. The resumed media_uploads.py completed its upload and listing loops, then reported:

!! PDF thumbnail worker: valid one-page PDF did not produce a thumbnail
!! kind-specific thumbnail worker: PDF and text renderers did not both publish a preview
media upload findings: 2

The valid PDF is present in the Index as application/pdf, 597 bytes. The probe-kind.pdf and probe-kind.txt files both contain identical PDF bytes, and both are indexed as application/pdf. The probe currently expects the txt suffix to select a distinct text renderer.

At the observed deadline, files.thumbnail had 258 completed, 1 leased and 84 pending jobs. Thus the missing preview is not evidence of a crashed worker; it may be a deadline under load. Native PDF/SVG sandbox self-tests passed before the server started. No product 5xx or missing source was observed in this phase.

Keep the established assertions and fixtures. Review the suffix-versus-content renderer expectation and the loaded-server queue deadline. This is a preview availability/test-coverage gap, not confirmed data loss or a merge-blocking crash.

## Evidence from adv31 / #1202 Product head 139d4378e, release build and real server. The resumed `media_uploads.py` completed its upload and listing loops, then reported: ``` !! PDF thumbnail worker: valid one-page PDF did not produce a thumbnail !! kind-specific thumbnail worker: PDF and text renderers did not both publish a preview media upload findings: 2 ``` The valid PDF is present in the Index as application/pdf, 597 bytes. The probe-kind.pdf and probe-kind.txt files both contain identical PDF bytes, and both are indexed as application/pdf. The probe currently expects the txt suffix to select a distinct text renderer. At the observed deadline, files.thumbnail had 258 completed, 1 leased and 84 pending jobs. Thus the missing preview is not evidence of a crashed worker; it may be a deadline under load. Native PDF/SVG sandbox self-tests passed before the server started. No product 5xx or missing source was observed in this phase. Keep the established assertions and fixtures. Review the suffix-versus-content renderer expectation and the loaded-server queue deadline. This is a preview availability/test-coverage gap, not confirmed data loss or a merge-blocking crash.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1267
No description provided.