mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #201] [MERGED] perf: performance fixes, bugcop 404 handling, and createIndex docs #202
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/Comfy-PR#202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/201
Author: @snomiao
Created: 4/18/2026
Status: ✅ Merged
Merged: 4/18/2026
Merged by: @snomiao
Base:
main← Head:sno-perf📝 Commits (8)
0df5721perf: fix client bundle, caching, polling, queries, and depse53a26edocs: document top-level await createIndex as intentional security patterndc8e14cfix(bugcop): handle 404 for deleted/transferred issues0ad5b77fix: address codex review findings88babd2fix: address copilot review + remove zx dependencyd91f9aefix: address codex review round 2db26290fix(build): replace bun shell import with execa in contributor analyze9160392fix: address copilot review round 2📊 Changes
34 files changed (+990 additions, -98 deletions)
View changed files
➕
AGENTS.md(+1 -0)📝
CLAUDE.md(+12 -0)📝
app/(dashboard)/PullsStatusTable.tsx(+1 -1)📝
app/(dashboard)/TotalsBlock.tsx(+2 -2)➕
app/(dashboard)/TotalsChartLazy.tsx(+9 -0)📝
app/(dashboard)/details/page.tsx(+2 -2)📝
app/(dashboard)/page.tsx(+1 -2)📝
app/(dashboard)/totals/page.tsx(+1 -3)📝
app/api/(dump)/router.ts(+1 -1)📝
app/api/router.ts(+1 -1)📝
app/auth/login/page.tsx(+3 -4)📝
app/tasks/gh-design/page.tsx(+0 -1)📝
app/tasks/github-contributor-analyze/githubContributorAnalyze.ts(+4 -5)📝
app/tasks/github-contributor-analyze/page.tsx(+2 -2)📝
app/tasks/github-contributor-analyze/summaryGithubContributorAnalyzeTask.ts(+3 -3)📝
app/tasks/page.tsx(+0 -1)📝
bun.lock(+77 -24)📝
components/CodeEditor.tsx(+0 -5)➕
docs/perf/README.md(+23 -0)➕
docs/perf/build-and-typecheck.md(+88 -0)...and 14 more files
📄 Description
Summary
Performance improvements, CI fix, and documentation updates.
Commits
perf: fix client bundle, caching, polling, queries, and deps
d3→d3-dsv(smaller client bundle)react-icons→lucide-react(already a dep)next/dynamic(SSR: false)revalidateintervals from 60s → 300srefreshIntervalfrom 1s → 300s (was hammering server)limit=50to tRPC pulls-status route.limit(500)to contributor task APIfaker,prettierto devDependencies.next/typesto tsconfig includesdocs: document top-level await createIndex as intentional security pattern
await createIndex()at module scope is deliberatefix(bugcop): handle 404 for deleted/transferred issues
ghc.issues.get()on deleted/transferred issues (e.g. #9366) throws unhandled 404fix: address codex review findings
analyzePullsStatusdefault limit to 0 (unbounded) — internal callers need full resultszxback to runtime deps (imported from runtime entrypoints).sort({updatedAt: -1})to contributor task API for deterministic resultsCI Impact
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.