Skip to content

Skip managed config loading for registered Windows sandbox refreshes - #50480

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e65ba1359be65e6314fa483b24fb66ed57a444ac
Oct 3, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Skip managed config loading for registered Windows sandbox refreshes

Why

Registration-only refreshes retain the existing sandbox, so package maintenance should not require another cloud-policy fetch.

What changed

Skip managed configuration loading when a provisioning request has both registered_core and refresh_only set. The registered-runtime transaction still checks the existing owner, accounts, and unchanged settings under the setup lock. Other provisioning requests continue to enforce managed policy.

Testing

Update the invalid-impersonation-token test to cover all four flag combinations, verifying that only registered refreshes succeed without loading configuration.

…50480)

## Why

Registration-only refreshes retain the existing sandbox, so package maintenance should not require another cloud-policy fetch.

## What changed

Skip managed configuration loading when a provisioning request has both `registered_core` and `refresh_only` set. The registered-runtime transaction still checks the existing owner, accounts, and unchanged settings under the setup lock. Other provisioning requests continue to enforce managed policy.

## Testing

Update the invalid-impersonation-token test to cover all four flag combinations, verifying that only registered refreshes succeed without loading configuration.

GitOrigin-RevId: e65ba1359be65e6314fa483b24fb66ed57a444ac
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e65ba1359be65e6314fa483b24fb66ed57a444ac branch from 874b4ad to 8f7a0f7 Compare October 3, 2026 01:22
@copyberry
copyberry Bot merged commit 8f7a0f7 into main Oct 3, 2026
15 of 23 checks passed
@github-actions

github-actions Bot commented Oct 3, 2026

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/e65ba1359be65e6314fa483b24fb66ed57a444ac branch October 3, 2026 01:22
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 3, 2026
@krkim123
krkim123 deployed to issue-triage October 3, 2026 01:24 — with GitHub Actions Active
@krkim123
krkim123 deployed to issue-triage October 3, 2026 01:24 — with GitHub Actions Active
@krkim123
krkim123 deployed to issue-triage October 3, 2026 01:24 — with GitHub Actions Active
@smturtle2
smturtle2 deployed to issue-triage October 3, 2026 01:37 — with GitHub Actions Active
@smturtle2
smturtle2 deployed to issue-triage October 3, 2026 01:37 — with GitHub Actions Active
@smturtle2
smturtle2 deployed to issue-triage October 3, 2026 01:37 — with GitHub Actions Active
@jorgehdzsosa
jorgehdzsosa deployed to issue-triage October 3, 2026 01:44 — with GitHub Actions Active
@jorgehdzsosa
jorgehdzsosa deployed to issue-triage October 3, 2026 01:44 — with GitHub Actions Active
@jorgehdzsosa
jorgehdzsosa deployed to issue-triage October 3, 2026 01:44 — with GitHub Actions Active
@keyral
keyral deployed to issue-triage October 3, 2026 01:46 — with GitHub Actions Active
@keyral
keyral deployed to issue-triage October 3, 2026 01:46 — with GitHub Actions Active
@keyral
keyral deployed to issue-triage October 3, 2026 01:46 — with GitHub Actions Active
@jorgehdzsosa
jorgehdzsosa deployed to issue-triage October 3, 2026 01:46 — with GitHub Actions Active
@keyral
keyral deployed to issue-triage October 3, 2026 01:47 — with GitHub Actions Active
@Chazhfoote
Chazhfoote deployed to issue-triage October 3, 2026 01:50 — with GitHub Actions Active
@Chazhfoote
Chazhfoote deployed to issue-triage October 3, 2026 01:50 — with GitHub Actions Active
@Chazhfoote
Chazhfoote deployed to issue-triage October 3, 2026 01:50 — with GitHub Actions Active
@ftuckyeg
ftuckyeg deployed to issue-triage October 3, 2026 01:50 — with GitHub Actions Active
@ftuckyeg
ftuckyeg deployed to issue-triage October 3, 2026 01:50 — with GitHub Actions Active
@ftuckyeg
ftuckyeg deployed to issue-triage October 3, 2026 01:50 — with GitHub Actions Active
@DCThang293
DCThang293 deployed to issue-triage October 3, 2026 01:53 — with GitHub Actions Active
@DCThang293
DCThang293 deployed to issue-triage October 3, 2026 01:53 — with GitHub Actions Active
@DCThang293
DCThang293 deployed to issue-triage October 3, 2026 01:53 — with GitHub Actions Active
@stanicio
stanicio deployed to issue-triage October 3, 2026 02:02 — with GitHub Actions Active
@fy142857
fy142857 deployed to issue-triage October 3, 2026 02:14 — with GitHub Actions Active
@fy142857
fy142857 deployed to issue-triage October 3, 2026 02:14 — with GitHub Actions Active
@fy142857
fy142857 deployed to issue-triage October 3, 2026 02:14 — with GitHub Actions Active
@vgbrokera
vgbrokera deployed to issue-triage October 3, 2026 02:14 — with GitHub Actions Active
@vgbrokera
vgbrokera deployed to issue-triage October 3, 2026 02:14 — with GitHub Actions Active
@vgbrokera
vgbrokera deployed to issue-triage October 3, 2026 02:14 — with GitHub Actions Active
@vgbrokera
vgbrokera deployed to issue-triage October 3, 2026 02:15 — with GitHub Actions Active
@fy142857
fy142857 deployed to issue-triage October 3, 2026 02:15 — with GitHub Actions Active
@FelixToday
FelixToday deployed to issue-triage October 3, 2026 02:25 — with GitHub Actions Active
@FelixToday
FelixToday deployed to issue-triage October 3, 2026 02:25 — with GitHub Actions Active
@FelixToday
FelixToday deployed to issue-triage October 3, 2026 02:25 — with GitHub Actions Active
@FelixToday
FelixToday deployed to issue-triage October 3, 2026 02:26 — with GitHub Actions Active
@sinasun
sinasun deployed to issue-triage October 3, 2026 02:33 — with GitHub Actions Active
@sinasun
sinasun deployed to issue-triage October 3, 2026 02:33 — with GitHub Actions Active
@sinasun
sinasun deployed to issue-triage October 3, 2026 02:33 — with GitHub Actions Active
@sinasun
sinasun deployed to issue-triage October 3, 2026 02:34 — with GitHub Actions Active
@feliixdiiaz
feliixdiiaz deployed to issue-triage October 3, 2026 02:35 — with GitHub Actions Active
@feliixdiiaz
feliixdiiaz deployed to issue-triage October 3, 2026 02:35 — with GitHub Actions Active
@feliixdiiaz
feliixdiiaz deployed to issue-triage October 3, 2026 02:35 — with GitHub Actions Active
@feliixdiiaz
feliixdiiaz deployed to issue-triage October 3, 2026 02:36 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
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.