Skip to content

Warn users on enabling underdevelopment features - #9954

Merged
aibrahim-oai merged 11 commits into
mainfrom
warn/users/experimental
Jan 27, 2026
Merged

aibrahim-oai merged 11 commits into
mainfrom
warn/users/experimental

Conversation

@aibrahim-oai

@aibrahim-oai aibrahim-oai commented Jan 27, 2026 •

Copy link
Copy Markdown
Contributor
image

Comment thread codex-rs/core/src/codex.rs Outdated
});
}

fn maybe_push_unstable_features_warning(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this in features.rs?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack

Comment thread codex-rs/docs/config.md Resolved
Comment thread codex-rs/core/config.schema.json Resolved
@aibrahim-oai

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +486 to +490
if let Some(table) = config
.config_layer_stack
.effective_config()
.get("features")
.and_then(TomlValue::as_table)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@aibrahim-oai
aibrahim-oai enabled auto-merge (squash) January 27, 2026 01:33
Comment thread codex-rs/docs/config.md Outdated
@@ -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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have docs in this repo any longer. Please remove this before committing.

@aibrahim-oai
aibrahim-oai merged commit c900de2 into main Jan 27, 2026
32 checks passed
@aibrahim-oai
aibrahim-oai deleted the warn/users/experimental branch January 27, 2026 01:58
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants