fix(plugins): check and update installed plugins with provenance guards
This commit is contained in:
1 parent
d715b16ba5
commit
cab674299a
26 files changed
+1180
-44
No files matched your search
@@ -71,6 +71,16 @@ const CASES: { name: string; message: string; key: string; params?: Record<strin
|
||||
message: "Plugin update blocked by active operations. Please wait for them to finish.",
|
||||
key: "pluginPlatform.updateBlockedByOperations",
|
||||
},
|
||||
{
|
||||
name: "plugin update from a changed source needs confirmation",
|
||||
message: "Plugin update source change requires confirmation: the offering repository, publisher, or signing key differs from the recorded install",
|
||||
key: "pluginPlatform.updateSourceChangeRequired",
|
||||
},
|
||||
{
|
||||
name: "plugin downgrade is rejected",
|
||||
message: "Plugin downgrade to version 1.0.5 is not allowed (installed 1.1.0)",
|
||||
key: "pluginPlatform.updateDowngradeRejected",
|
||||
},
|
||||
{
|
||||
name: "connection admission waits for plugin update",
|
||||
message: "Plugin update is in progress. Please try again after it finishes.",
|
||||
@@ -611,6 +621,8 @@ describe("backend error wording is pinned to the Rust sources", () => {
|
||||
["crates/dbx-drivers/src/agent_service.rs", "is in use by drivers: "],
|
||||
["crates/dbx-drivers/src/agent_service.rs", "agent-registry.json not found in the ZIP; not a valid offline driver package."],
|
||||
["crates/dbx-core/src/admin/mq/adapters/kafka.rs", "Kafka does not support unloading topics"],
|
||||
["crates/dbx-plugin-runtime/src/plugins/installer.rs", "Plugin update source change requires confirmation:"],
|
||||
["crates/dbx-plugin-runtime/src/plugins/installer.rs", "Plugin downgrade to version "],
|
||||
["crates/dbx-web/src/auth.rs", "Please try again in {remaining}s"],
|
||||
["crates/dbx-web/src/routes/agents.rs", "Close these database connections before updating drivers: "],
|
||||
["src-tauri/src/commands/agents.rs", "Close these database connections before updating drivers: "],
|
||||
|
||||
Reference in new issue
Block a user