Repository navigation
Warn users on enabling underdevelopment features - #9954
Conversation
| }); | ||
| } | ||
|
|
||
| fn maybe_push_unstable_features_warning( |
There was a problem hiding this comment.
Can we move this in features.rs?
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2be347dc9f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if let Some(table) = config | ||
| .config_layer_stack | ||
| .effective_config() | ||
| .get("features") | ||
| .and_then(TomlValue::as_table) |
There was a problem hiding this comment.
Warn for under-development features set via profiles
This warning only inspects the top‑level features table in the merged TOML, so it won’t fire when an under‑development feature is enabled through an active profile (e.g., [profiles.dev.features] child_agents_md = true). Those profile entries are applied later in Features::from_config, so the feature is active but never appears under top‑level features, and the warning is skipped. If the intent is to warn whenever config.toml enables an under‑development feature, profile‑scoped feature toggles should be included in the scan (or the warning should inspect the derived ConfigProfile).
Useful? React with 👍 / 👎.
| @@ -0,0 +1,21 @@ | |||
| # Config Warnings for Unstable Features | |||
|
|
|||
| When `config.toml` explicitly enables a feature whose stage is **under development**, Codex core emits a non-fatal warning event at session | |||
There was a problem hiding this comment.
We don't have docs in this repo any longer. Please remove this before committing.
Uh oh!
There was an error while loading. Please reload this page.