mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-23 18:19:15 +00:00
Compare commits
3 Commits
mingholy/f
...
v0.3.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9af74816a | ||
|
|
9cfea73207 | ||
|
|
87b1ffe017 |
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -224,5 +224,4 @@ jobs:
|
|||||||
run: |-
|
run: |-
|
||||||
gh issue create \
|
gh issue create \
|
||||||
--title "Release Failed for ${RELEASE_TAG} on $(date +'%Y-%m-%d')" \
|
--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"
|
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ describe('JSON output', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should return a JSON error for enforced auth mismatch before running', async () => {
|
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';
|
process.env['OPENAI_API_KEY'] = 'test-key';
|
||||||
await rig.setup('json-output-auth-mismatch', {
|
await rig.setup('json-output-auth-mismatch', {
|
||||||
settings: {
|
settings: {
|
||||||
@@ -68,7 +69,7 @@ describe('JSON output', () => {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
thrown = e as Error;
|
thrown = e as Error;
|
||||||
} finally {
|
} finally {
|
||||||
delete process.env['OPENAI_API_KEY'];
|
process.env['OPENAI_API_KEY'] = originalOpenaiApiKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(thrown).toBeDefined();
|
expect(thrown).toBeDefined();
|
||||||
|
|||||||
@@ -848,7 +848,7 @@ export async function start_sandbox(
|
|||||||
sandboxProcess?.on('close', (code, signal) => {
|
sandboxProcess?.on('close', (code, signal) => {
|
||||||
process.stdin.resume();
|
process.stdin.resume();
|
||||||
if (code !== 0 && code !== null) {
|
if (code !== 0 && code !== null) {
|
||||||
console.log(
|
console.error(
|
||||||
`Sandbox process exited with code: ${code}, signal: ${signal}`,
|
`Sandbox process exited with code: ${code}, signal: ${signal}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user