mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-16 13:53:04 +08:00
feat: add observability readiness gate
This commit is contained in:
committed by
Affaan Mustafa
parent
ab6e998383
commit
8aa8c32d2a
@@ -109,6 +109,27 @@ if (
|
||||
passed++;
|
||||
else failed++;
|
||||
|
||||
if (
|
||||
test('skips Python virtual environments', () => {
|
||||
const root = makeTempRoot('ecc-unicode-venv-');
|
||||
fs.mkdirSync(path.join(root, '.venv', 'lib', 'python3.12', 'site-packages'), { recursive: true });
|
||||
fs.mkdirSync(path.join(root, 'venv', 'lib', 'python3.12', 'site-packages'), { recursive: true });
|
||||
fs.writeFileSync(
|
||||
path.join(root, '.venv', 'lib', 'python3.12', 'site-packages', 'package.py'),
|
||||
`message = "hello ${rocketEmoji}"\n`
|
||||
);
|
||||
fs.writeFileSync(
|
||||
path.join(root, 'venv', 'lib', 'python3.12', 'site-packages', 'package.py'),
|
||||
`message = "hello ${rocketEmoji}"\n`
|
||||
);
|
||||
|
||||
const result = runCheck(root);
|
||||
assert.strictEqual(result.status, 0, result.stdout + result.stderr);
|
||||
})
|
||||
)
|
||||
passed++;
|
||||
else failed++;
|
||||
|
||||
console.log(`\nPassed: ${passed}`);
|
||||
console.log(`Failed: ${failed}`);
|
||||
process.exit(failed > 0 ? 1 : 0);
|
||||
|
||||
Reference in New Issue
Block a user