mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
enabling execpolicy by default
This commit is contained in:
@@ -177,7 +177,8 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn returns_none_when_feature_disabled() {
|
||||
let features = Features::with_defaults();
|
||||
let mut features = Features::with_defaults();
|
||||
features.disable(Feature::ExecPolicy);
|
||||
let temp_dir = tempdir().expect("create temp dir");
|
||||
|
||||
let policy = exec_policy_for(&features, temp_dir.path()).expect("policy result");
|
||||
|
||||
@@ -303,7 +303,7 @@ pub const FEATURES: &[FeatureSpec] = &[
|
||||
id: Feature::ExecPolicy,
|
||||
key: "exec_policy",
|
||||
stage: Stage::Experimental,
|
||||
default_enabled: false,
|
||||
default_enabled: true,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::SandboxCommandAssessment,
|
||||
|
||||
Reference in New Issue
Block a user