Compare commits

..

3 Commits

Author SHA1 Message Date
mingholy.lmh
cb5ad43ca7 fix: sandbox exception log to stderr 2025-11-23 17:32:48 +08:00
mingholy.lmh
650079b0c7 fix: failed json-output tests 2025-11-21 18:34:02 +08:00
mingholy.lmh
48d2df5342 fix: reset authType settings 2025-11-21 17:50:10 +08:00
3 changed files with 5 additions and 3 deletions

View File

@@ -224,4 +224,5 @@ jobs:
run: |-
gh issue create \
--title "Release Failed for ${RELEASE_TAG} on $(date +'%Y-%m-%d')" \
--body "The release workflow failed. See the full run for details: ${DETAILS_URL}"
--body "The release workflow failed. See the full run for details: ${DETAILS_URL}" \
--label "kind/bug,release-failure"

View File

@@ -54,6 +54,7 @@ describe('JSON output', () => {
});
it('should return a JSON error for enforced auth mismatch before running', async () => {
const originalOpenaiApiKey = process.env['OPENAI_API_KEY'];
process.env['OPENAI_API_KEY'] = 'test-key';
await rig.setup('json-output-auth-mismatch', {
settings: {
@@ -68,7 +69,7 @@ describe('JSON output', () => {
} catch (e) {
thrown = e as Error;
} finally {
delete process.env['OPENAI_API_KEY'];
process.env['OPENAI_API_KEY'] = originalOpenaiApiKey;
}
expect(thrown).toBeDefined();

View File

@@ -848,7 +848,7 @@ export async function start_sandbox(
sandboxProcess?.on('close', (code, signal) => {
process.stdin.resume();
if (code !== 0 && code !== null) {
console.log(
console.error(
`Sandbox process exited with code: ${code}, signal: ${signal}`,
);
}