Skip to content

⚡ Bolt: Optimize ERD Export Foreign Key Lookups - #1303

Open
seonghobae wants to merge 4 commits into
mainfrom
bolt-export-optimizations-11967707925511230869
Open

seonghobae wants to merge 4 commits into
mainfrom
bolt-export-optimizations-11967707925511230869

Conversation

@seonghobae

@seonghobae seonghobae commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

💡 What: 프론트엔드 ERD export 과정에서 외래 키 관계를 탐색할 때 O(N) 비용을 유발하던 .find() 루프를 O(1) 핸들러 파싱으로 교체했습니다. 🎯 Why: 수천 개의 노드와 엣지를 가진 그래프를 내보낼 때 O(N * C * E) 복잡도를 제거하여 성능을 최적화하기 위함입니다. 📊 Impact: exportDDL 등의 대규모 내보내기 성능을 크게 향상시키며, 가비지 컬렉션 부담을 줄입니다. 🔬 Measurement: 프론트엔드의 테스트 스위트 및 빌드를 실행하여 회귀 검사를 수행했습니다.


PR created automatically by Jules for task 11967707925511230869 started by @seonghobae

Summary by CodeRabbit

  • 개선 사항
    • ERD 내보내기에서 핸들 ID를 컬럼명으로 해석해 외래 키 컬럼을 더 정확하게 연결합니다.
    • 연결할 컬럼을 찾지 못하면 기존 대체 처리를 유지합니다.

@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 2
  • backend/requirements-dev.lock is excluded by !**/*.lock
  • frontend/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cfaee5f7-7c04-4a67-bf41-1cf176de7e6d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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