Skip to content

perf: trim page export bundles and issue count annotations#6

Draft
d0cd wants to merge 3 commits intod0cd/task-376v72from
d0cd/perf-review-plane-stack-4o2u2h
Draft

perf: trim page export bundles and issue count annotations#6
d0cd wants to merge 3 commits intod0cd/task-376v72from
d0cd/perf-review-plane-stack-4o2u2h

Conversation

@d0cd
Copy link
Copy Markdown

@d0cd d0cd commented Apr 28, 2026

Summary

  • replace repeated per-issue count subqueries with shared aggregate annotations for links, attachments, and sub-issues
  • add a focused test covering the shared issue count annotation helper
  • move page export PDF styles and runtime imports behind lazy boundaries so @react-pdf/renderer is no longer loaded in the always-on page header path

Verification

  • pnpm --filter=web build
  • /tmp/plane-api-venv/bin/python -m compileall apps/api/plane/app/views/issue/base.py apps/api/plane/tests/unit/views/test_issue_counts.py

Notes

  • Live API/browser profiling was limited by unstable local infra containers, so I used deterministic build output and server-side query inspection for this pass.

🌒 Run on Niteshift: View Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant