diff --git a/build/agent-ci-bundle.cjs b/build/agent-ci-bundle.cjs index 7ca241ff..9194dad2 100644 --- a/build/agent-ci-bundle.cjs +++ b/build/agent-ci-bundle.cjs @@ -186,7 +186,7 @@ async function buildCiAgentBundle(options) { remoteRuntimeVersion: runtimeLock.runtimes.opencode.version, architecture: options.arch, - archive: second.package.archive, + archive: second.archive, archiveSha256: archiveDigest } } finally { diff --git a/tests/agents-workflow.test.ts b/tests/agents-workflow.test.ts index 10bc1b40..e815e57a 100644 --- a/tests/agents-workflow.test.ts +++ b/tests/agents-workflow.test.ts @@ -176,6 +176,10 @@ describe('GoodBuddy Agents workflow', () => { ) expect(ciBundleSource).toContain('assembleAgentPackage') expect(ciBundleSource).toContain('buildRuntimeBundle') + expect(ciBundleSource).toContain('archive: second.archive') + expect(ciBundleSource).not.toContain( + 'second.package.archive' + ) expect(build).toContain('.gbagent') expect(ciBundleSource).not.toContain( 'readTrustedKeyRegistry'