Repository navigation
Require Codex notification plugin 0.4.3 #16368
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -45,7 +45,7 @@ fn minimum_version() { | |||||
| let _guard = FeatureFlag::CodexPlugin.override_enabled(true); | ||||||
| assert_eq!( | ||||||
| CodexPluginManager::new(None, None, None).minimum_plugin_version(), | ||||||
| "0.4.2" | ||||||
| MINIMUM_PLUGIN_VERSION | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 [SUGGESTION] This makes the test mirror the implementation constant instead of pinning the release floor; keep the literal version so an accidental minimum bump or downgrade is visible in review.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seem valid, but I kind of think this test is useless and we should delete it |
||||||
| ); | ||||||
| } | ||||||
|
|
||||||
|
|
@@ -225,7 +225,7 @@ fn platform_plugin_version_is_not_current_when_cache_outdated() { | |||||
| fn needs_update_true_when_enabled_and_version_outdated() { | ||||||
| let dir = tempfile::tempdir().unwrap(); | ||||||
| write_plugin_config(dir.path(), super::PLUGIN_KEY, true); | ||||||
| write_cache_manifest(dir.path(), super::PLUGIN_NAME, "0.4.1"); | ||||||
| write_cache_manifest(dir.path(), super::PLUGIN_NAME, "0.4.2"); | ||||||
|
|
||||||
| assert!(super::plugin_needs_update( | ||||||
| dir.path(), | ||||||
|
|
||||||
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.