Skip to content

Keep configuration values out of Windows sandbox policy events - #49067

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4f2fa5f6f602c34451776ec31381a102213660b8
Sep 28, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4f2fa5f6f602c34451776ec31381a102213660b8

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Keep configuration values out of Windows sandbox policy events

Why

Configuration parser errors can include entire configuration lines containing credentials. Persistent policy-rejection events must avoid recording those values.

What changed

Replace free-form error text in Windows sandbox provisioning policy-rejection events with known stage labels and typed cloud, HTTP, I/O, and Win32 error codes. Use fixed fallback labels when the stage or cause is unrecognized.

Testing

Add regression coverage using malformed requirements and cloud configuration fragments containing a synthetic secret. Verify that diagnostics exclude parser values while retaining safe error codes, and that unknown errors produce fixed fallback text.

## Why

Configuration parser errors can include entire configuration lines containing credentials. Persistent policy-rejection events must avoid recording those values.

## What changed

Replace free-form error text in Windows sandbox provisioning policy-rejection events with known stage labels and typed cloud, HTTP, I/O, and Win32 error codes. Use fixed fallback labels when the stage or cause is unrecognized.

## Testing

Add regression coverage using malformed requirements and cloud configuration fragments containing a synthetic secret. Verify that diagnostics exclude parser values while retaining safe error codes, and that unknown errors produce fixed fallback text.

GitOrigin-RevId: 4f2fa5f6f602c34451776ec31381a102213660b8
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/4f2fa5f6f602c34451776ec31381a102213660b8 branch from 2ff3ef2 to 5a5a4aa Compare September 28, 2026 19:56
@copyberry
copyberry Bot merged commit 5a5a4aa into main Sep 28, 2026
1 check failed
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/4f2fa5f6f602c34451776ec31381a102213660b8 branch September 28, 2026 19:56
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 28, 2026
@gogetwoo
gogetwoo deployed to issue-triage September 28, 2026 19:58 — with GitHub Actions Active
@gogetwoo
gogetwoo deployed to issue-triage September 28, 2026 19:58 — with GitHub Actions Active
@gogetwoo
gogetwoo deployed to issue-triage September 28, 2026 19:58 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — 5a5a4aa7 Deployed Sep 28, 2026 by gogetwoo via Identify potential duplicates (all issues) #49550
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.

2 participants