mirror of
https://github.com/openai/codex.git
synced 2026-11-18 23:02:23 +00:00
Expose plugin installation timestamps in app-server summaries (#35859)
## What changed - Add nullable `installedAt` metadata to `PluginSummary` and its generated schemas, expressed as a Unix timestamp in seconds. - Preserve the backend installation time for remote plugins across plugin list, installed, read, and share-list responses. Return `null` when the timestamp is unavailable, including for local or uninstalled plugins and older backend responses. ## Testing - Cover timestamp conversion in the remote plugin list integration test and the field's serialization and backward-compatible default in protocol tests. GitOrigin-RevId: 8a1640320adb298874e1074e9891d1017ad06937
This commit is contained in:
1 parent
b9b7c21821
commit
28f3f1f9ef
19 files changed
+103
-2
No files matched your search
@@ -78,6 +78,7 @@ fn build_remote_marketplace_preserves_directory_order_and_appends_installed_only
|
||||
];
|
||||
let installed_plugins = vec![RemotePluginInstalledItem {
|
||||
plugin: directory_plugin("plugin-a", "alpha"),
|
||||
installed_at: None,
|
||||
enabled: true,
|
||||
disabled_skill_names: Vec::new(),
|
||||
}];
|
||||
@@ -109,6 +110,7 @@ fn installation_policy_source_is_preserved_across_remote_summary_paths() {
|
||||
Some(RemotePluginInstallPolicySource::ImplicitCanonicalApp);
|
||||
let installed_plugin = RemotePluginInstalledItem {
|
||||
plugin: directory_plugin.clone(),
|
||||
installed_at: None,
|
||||
enabled: true,
|
||||
disabled_skill_names: Vec::new(),
|
||||
};
|
||||
@@ -163,6 +165,7 @@ fn plan_eligibility_is_preserved_across_remote_summary_paths() {
|
||||
]);
|
||||
let installed_plugin = RemotePluginInstalledItem {
|
||||
plugin: directory_plugin.clone(),
|
||||
installed_at: None,
|
||||
enabled: false,
|
||||
disabled_skill_names: Vec::new(),
|
||||
};
|
||||
@@ -255,6 +258,7 @@ fn installation_interstitial_requirement_is_preserved_across_remote_summary_path
|
||||
directory_plugin.must_show_installation_interstitial = Some(false);
|
||||
let installed_plugin = remote_installed_plugin_to_cache_entry(&RemotePluginInstalledItem {
|
||||
plugin: directory_plugin,
|
||||
installed_at: None,
|
||||
enabled: true,
|
||||
disabled_skill_names: Vec::new(),
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user