Skip to content

Not loading env vars from config.toml #13426

@heliole

Description

@heliole

What version of the IDE extension are you using?

0.4.79

What subscription do you have?

Pro

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

When i define .codex/config.toml like this:

[shell_environment_policy]
inherit = "all"
ignore_default_excludes = true
include_only = ["GH_TOKEN"]

it has no effect. Codex extension session has no access to the defined GH_TOKEN env var.

What steps can reproduce the bug?

Define that config file and .env file and see.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxing

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions