Skip to content

Commit 4c45904

Browse files
committed
ci: harden recall and secret guard checks
1 parent 0edbbb8 commit 4c45904

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,8 @@ jobs:
107107
- name: Install dependencies
108108
run: npm ci
109109

110+
- name: Install linux native bindings
111+
run: npm install @rolldown/binding-linux-x64-gnu @tailwindcss/oxide-linux-x64-gnu @unrs/resolver-binding-linux-x64-gnu --no-save
112+
110113
- name: Run recall canary gate
111114
run: npm run check:recall-canary

apps/memroos/src/lib/__tests__/db-ingest.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,14 +377,14 @@ describe('db-ingest: direct provider file ingestion', () => {
377377
{
378378
type: 'user',
379379
timestamp: '2025-03-01T10:00:00Z',
380-
cwd: '/home/user/project',
380+
cwd: '/workspace/project',
381381
gitBranch: 'feature-x',
382382
message: { role: 'user', parts: [{ text: 'qwen hello' }] },
383383
},
384384
{
385385
type: 'assistant',
386386
timestamp: '2025-03-01T10:00:01Z',
387-
cwd: '/home/user/project',
387+
cwd: '/workspace/project',
388388
gitBranch: 'feature-x',
389389
message: { role: 'assistant', parts: [{ text: 'qwen reply' }] },
390390
},
@@ -400,7 +400,7 @@ describe('db-ingest: direct provider file ingestion', () => {
400400
expect(rows.length).toBe(2);
401401
expect(rows.every((row) => row.project === 'qwen:memroos')).toBe(true);
402402
expect(rows.every((row) => row.agent_id === 'memroos')).toBe(true);
403-
expect(rows.every((row) => row.cwd === '/home/user/project')).toBe(true);
403+
expect(rows.every((row) => row.cwd === '/workspace/project')).toBe(true);
404404
expect(rows.every((row) => row.git_branch === 'feature-x')).toBe(true);
405405
expect(rows[0].timestamp).toBe('2025-03-01T10:00:00Z');
406406
});

apps/memroos/src/lib/__tests__/env.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe("loadMemroosEnv", () => {
9595
});
9696

9797
it("validates startup configuration and returns root config status", () => {
98-
const result = validateMemroosEnvAtStartup({ HOME: "/Users/USERNAME", MEM0_URL: "http://mem0.test" });
98+
const result = validateMemroosEnvAtStartup({ HOME: "/tmp/memroos-home", MEM0_URL: "http://mem0.test" });
9999

100100
expect(result.env.MEM0_URL).toBe("http://mem0.test");
101101
expect(result.rootConfigStatus.map((entry) => entry.file)).toEqual([

0 commit comments

Comments
 (0)