Skip to content

fix: stabilize production URL import for PDFs - #66

Merged
Talljack merged 1 commit into
mainfrom
fix/url-import-prod-pdf-query-sync
Jun 6, 2026
Merged

Talljack merged 1 commit into
mainfrom
fix/url-import-prod-pdf-query-sync

Conversation

@Talljack

@Talljack Talljack commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • lazy-load PDF extraction in URL import so the production route does not eagerly pull PDF parsing into startup
  • force PDF and extract-text import routes onto Node.js runtime with a longer max duration
  • sync document import subtab and source URL into the page query string so URL imports can be reloaded and shared

Testing

  • pnpm lint
  • pnpm typecheck
  • pnpm build
  • pnpm test
  • local browser verification on /library/import with the BBC PDF URL

@vercel

vercel Bot commented Jun 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
echo-type Ready Ready Preview, Comment Jun 6, 2026 3:42am

@Talljack
Talljack merged commit fb0bd62 into main Jun 6, 2026
4 of 5 checks passed
@Talljack
Talljack deleted the fix/url-import-prod-pdf-query-sync branch June 6, 2026 03:41

This branch was successfully deployed

1 active deployment
Preview — 2ef2b388 Deployed Jun 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant