Closed eyeseast closed 3 days ago
Your pull request is modifying functions with the following pre-existing issues:
📄 File: src/lib/load/document.ts
Function | Unhandled Issue |
---|---|
load |
SyntaxError: Unexpected token '%', "%PDF-1.4 /doc... Event Count: 1 Affected Users: 1 |
load |
TypeError: Failed to construct 'URL': Invalid URL /documents/25279468-aritzia-inc-q2-2025-mda... Event Count: 1 Affected Users: 1 |
Did you find this useful? React with a 👍 or 👎
Status | Category | Percentage | Covered / Total |
---|---|---|---|
🔵 | Lines | 30.84% | 6674 / 21634 |
🔵 | Statements | 30.84% | 6674 / 21634 |
🔵 | Functions | 49.54% | 273 / 551 |
🔵 | Branches | 75.37% | 1007 / 1336 |
Name | Link |
---|---|
Latest commit | 631d8cfb5deacbcebdc645a9a25001ea2a16c714 |
Latest deploy log | https://app.netlify.com/sites/documentcloud-frontend/deploys/673b50f31a20430008eef94b |
Deploy Preview | https://deploy-preview-839.muckcloud.com |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
Lighthouse |
1 paths audited Performance: 55 Accessibility: 85 Best Practices: 92 SEO: 91 PWA: - View the detailed breakdown and full score reports |
To edit notification comments on pull requests, go to your Netlify site configuration.
Fixes #837
Test URL: https://deploy-preview-839.muckcloud.com/documents/20006876-2017-epa-staff-calendars-part2-s/
The issue seems to be that server-side rendering every page in a giant document produces a huge HTML page that's too big for our Lambda workers to push it through.
This PR fixes it, but we should do another pass and see if we can slim down our pages further.