Skip to content

Commit 0206497

Browse files
rustyconoverclaude
andcommitted
tests: keep vgi-serve's minted-key marker out of the hosted worker's env
Earlier tests in the same process export VGI_SIGNING_KEY_MINTED=1 via resolve_shared_signing_key(propagate_to_children=True); the hosted fixtures copied os.environ, so the worker (correctly, since 0.53.2) treated its test key as minted and refused to start. Strip it with the other auth env. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzrG3FzSh28NiZ8UnVtRbk
1 parent 877d881 commit 0206497

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎tests/test_orchard_hosted.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
RSA = RSAKey.generate_key(2048, parameters={"kid": "desk-rs256-1"}, private=True)
5252

5353
_AUTH_ENV = (
54+
# Other tests in the same process may export vgi-serve's "minted key"
55+
# marker; inherited, it makes the hosted worker refuse its test key.
56+
"VGI_SIGNING_KEY_MINTED",
5457
"VGI_BEARER_TOKENS",
5558
"VGI_JWT_ISSUER",
5659
"VGI_JWT_AUDIENCE",

0 commit comments

Comments
 (0)