-
Notifications
You must be signed in to change notification settings - Fork 18.9k
feat: plugin auto upgrade strategy #19758
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
d36a81d to
46df95d
Compare
4e79e87 to
5e7a7cc
Compare
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.
Pull Request Overview
A comprehensive plugin auto-upgrade feature implementation that allows administrators to configure automatic plugin updates with customizable strategies, timing, and plugin selection modes.
- Implements a plugin auto-upgrade strategy system with support for fix-only and latest version update strategies
- Adds a complete UI for configuring auto-update settings including time selection and plugin selection
- Integrates background tasks for automatic plugin upgrade checking and execution
Reviewed Changes
Copilot reviewed 55 out of 309 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
web/app/components/plugins/reference-setting-modal/auto-update-setting/index.tsx |
Main auto-update settings component with strategy, time, and plugin selection configuration |
api/models/account.py |
Database model for tenant plugin auto-upgrade strategies with configurable options |
api/services/plugin/plugin_auto_upgrade_service.py |
Service layer for managing plugin auto-upgrade strategy configuration |
api/tasks/process_tenant_plugin_autoupgrade_check_task.py |
Background task for checking and executing plugin upgrades |
api/schedule/check_upgradable_plugin_task.py |
Celery scheduled task for triggering upgrade checks |
web/app/components/plugins/plugin-detail-panel/detail-header.tsx |
UI updates to show auto-upgrade status indicators |
web/app/components/plugins/reference-setting-modal/auto-update-setting/utils.spec.ts
Outdated
Show resolved
Hide resolved
web/app/components/plugins/reference-setting-modal/auto-update-setting/utils.ts
Outdated
Show resolved
Hide resolved
web/app/components/plugins/plugin-detail-panel/detail-header.tsx
Outdated
Show resolved
Hide resolved
a839d7b to
f68a28b
Compare
…-setting/utils.spec.ts Co-authored-by: Copilot <[email protected]>
…-setting/utils.ts Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
5652d77 to
78a952f
Compare
Yeuoly
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
Co-authored-by: Joel <[email protected]> Co-authored-by: crazywoola <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Novice <[email protected]>
Co-authored-by: Joel <[email protected]> Co-authored-by: crazywoola <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Novice <[email protected]>

Summary
Tip
Close issue syntax:
Fixes #<issue number>orResolves #<issue number>, see documentation for more details.Screenshots
Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat(backend) andcd web && npx lint-staged(frontend) to appease the lint gods