Skip to content

perf: make command rbac-migrate-member-roles use less mem and make it…#38151

Merged
fatelei merged 1 commit into
langgenius:mainfrom
fatelei:rbac_migrate_roles
Jun 29, 2026
Merged

perf: make command rbac-migrate-member-roles use less mem and make it…#38151
fatelei merged 1 commit into
langgenius:mainfrom
fatelei:rbac_migrate_roles

Conversation

@fatelei

@fatelei fatelei commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

… fast

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

make command rbac-migrate-member-roles use less mem and make it run fast

Screenshots

Before After
... ...

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

@fatelei fatelei requested a review from QuantumGhost as a code owner June 29, 2026 06:56
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. refactor labels Jun 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 51.49% 51.50% +0.00%
Strict coverage 51.01% 51.01% +0.00%
Typed symbols 30,844 30,847 +3
Untyped symbols 29,331 29,331 0
Modules 2931 2931 0

@fatelei fatelei force-pushed the rbac_migrate_roles branch from 2f485fe to b17ebc4 Compare June 29, 2026 09:12

@hjlarry hjlarry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jun 29, 2026
@fatelei fatelei added this pull request to the merge queue Jun 29, 2026
Merged via the queue into langgenius:main with commit 49a92f0 Jun 29, 2026
31 checks passed
@fatelei fatelei deleted the rbac_migrate_roles branch June 29, 2026 12:57
GareArc pushed a commit that referenced this pull request Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer refactor size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants