-
Notifications
You must be signed in to change notification settings - Fork 18.9k
feat(api/repo): Allow to config repository implementation #21458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e6ed5bf to
1fadcf5
Compare
|
Update: Nearly finished, with only some code related to |
2c73dd2 to
edc0823
Compare
edc0823 to
6a548cf
Compare
|
Hi @QuantumGhost. Do you have some time to take a look at this? |
6a548cf to
53cb15c
Compare
QuantumGhost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
By the way, now that PostgreSQL is available in the CI pipeline, you may write integration tests for the repository implementations to ensure they behave as expected. |
Signed-off-by: -LAN- <[email protected]>
…tion operations out of core. Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
…on_repository Signed-off-by: -LAN- <[email protected]>
Signed-off-by: -LAN- <[email protected]>
…isolation Signed-off-by: -LAN- <[email protected]>
…run query for clarity Signed-off-by: -LAN- <[email protected]>
since we can utilize `Session.get_bind` to retrieve the correspond `Engine` for a session, there's no need to manually inject the `sessionmaker` for `WorkflowDraftVariableService`.
b74360d to
00c50ed
Compare
… to prevent session issues Signed-off-by: -LAN- <[email protected]>
…roves pagination logic for workflow runs Signed-off-by: -LAN- <[email protected]>
… note on tenant isolation responsibility Signed-off-by: -LAN- <[email protected]>
…ry.py): Add tenant isolation warning in method docstring Signed-off-by: -LAN- <[email protected]>
QuantumGhost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Internal Server Error |
* main: (533 commits) chore: bump nextjs to 15.3 (langgenius#22262) Provides a set of Kubernetes manifests supporting version 1.6.0 (langgenius#22287) improve opik workflow_trace span name to node name (langgenius#22356) fix: aliyun trace title&description (langgenius#22347) Update README.md (langgenius#22351) fix: close session before doing long latency operation (langgenius#22306) feat(api/repo): Allow to config repository implementation (langgenius#21458) Fix: Remove height and overflow style settings (langgenius#22327) Chore: Replace lodash/noop with lodash-es/noop (langgenius#22331) fix: error parsing object type parameters for code node (langgenius#22230) fix: prevent trigger form submit action when press 'enter' (langgenius#22313) Update README.md (langgenius#22305) test: add comprehensive unit tests for login decorator (langgenius#22294) fixing Enum part in backend and making it same as front end (langgenius#22296) test(web): add password regexp test case (langgenius#22308) fix(ui): prevent var icon hidden when only one var in list of start node (langgenius#22290) fix: tool's model selector and app selector not work (langgenius#22291) chore: bump ruff to 0.12.x (langgenius#22259) minor fix: wrong and (langgenius#22242) Add unit test for account service (langgenius#22278) ... # Conflicts: # web/app/(commonLayout)/apps/AppCard.tsx # web/app/(commonLayout)/apps/Apps.tsx # web/app/(commonLayout)/apps/page.tsx # web/app/(commonLayout)/datasets/Container.tsx # web/app/components/base/logo/dify-logo.tsx # web/app/components/base/markdown.tsx # web/app/components/header/account-dropdown/workplace-selector/index.tsx # web/app/components/header/explore-nav/index.tsx # web/app/components/header/index.tsx # web/app/components/header/nav/index.tsx # web/app/components/header/plugins-nav/index.tsx # web/app/components/header/tools-nav/index.tsx # web/app/components/tools/provider-list.tsx # web/app/components/workflow/nodes/_base/panel.tsx # web/app/reset-password/layout.tsx # web/app/signin/_header.tsx # web/app/signin/layout.tsx # web/app/signin/normalForm.tsx # web/i18n/zh-Hans/common.ts # web/i18n/zh-Hans/explore.ts # web/package.json # web/pnpm-lock.yaml # web/themes/dark.css # web/themes/light.css
…#21458) Signed-off-by: -LAN- <[email protected]> Co-authored-by: QuantumGhost <[email protected]> (cherry picked from commit 6eb155a)
…#21458) Signed-off-by: -LAN- <[email protected]> Co-authored-by: QuantumGhost <[email protected]>
…#21458) Signed-off-by: -LAN- <[email protected]> Co-authored-by: QuantumGhost <[email protected]>
Important
Fixes #<issue number>.Summary
related #20147
Screenshots
Checklist
dev/reformat(backend) andcd web && npx lint-staged(frontend) to appease the lint gods