Closed olafurpg closed 3 days ago
‼️ Hey @sourcegraph/cody-security, please review this PR carefully as it introduces the usage of an unsafe_
function or abuses PromptString.
Re-running an unrelated test failure. This looks similar to the context-quality issue I saw recently
FAIL |agent| src/fix.test.ts [ agent/src/fix.test.ts ]
Error: Command failed: pnpm run build:agent
❯ checkExecSyncError ../node:child_process:890:11
❯ Proxy.execSync ../node:child_process:962:15
❯ buildAgentBinary src/TestClient.ts:105:5
103| //
Looks like something became more flaky recently in running pnpm build:agent
Previously,
npm install -g @sourcergraph/cody-agent
didn't work. This PR fixes the problempeerDependencies
instead ofdepenencies
anddevDependencies
so users don't install transitive dependenciesTest plan
Manually tested by running a local
verdaccio
registry and installing from there.