mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-01 18:07:00 +01:00
Merge pinned master while preserving Pi runtime admission
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
commit
0735ca2dc9
94 files changed
+1972
-220
No files matched your search
@@ -157,12 +157,12 @@ async function seedValidWorktreeSource(
|
||||
userId,
|
||||
role: "instance_admin",
|
||||
});
|
||||
await db.insert(companies).values({
|
||||
id: companyId,
|
||||
name: "Seed Source",
|
||||
issuePrefix: "SEED",
|
||||
requireBoardApprovalForNewAgents: false,
|
||||
});
|
||||
// Seed only columns present in the historical source schema. The current
|
||||
// model includes accounting columns that the worktree migration adds later.
|
||||
await db.$client`
|
||||
insert into companies (id, name, issue_prefix, require_board_approval_for_new_agents)
|
||||
values (${companyId}, 'Seed Source', 'SEED', false)
|
||||
`;
|
||||
await db.insert(companyMemberships).values({
|
||||
companyId,
|
||||
principalType: "user",
|
||||
@@ -1384,7 +1384,7 @@ describe("worktree helpers", () => {
|
||||
.select()
|
||||
.from(executionWorkspaces)
|
||||
.where(eq(executionWorkspaces.id, executionWorkspaceId));
|
||||
expect(executionWorkspace?.metadata).toEqual({
|
||||
expect(executionWorkspace?.metadata).toMatchObject({
|
||||
keep: "execution-metadata",
|
||||
config: {
|
||||
environmentId: "environment-1",
|
||||
|
||||
Reference in new issue
Block a user