Skip to content

Commit cb4e38f

Browse files
Merge branch 'main' into ryan/upgrade_to_zod_4
2 parents 2a89612 + 46c330b commit cb4e38f

5 files changed

Lines changed: 6 additions & 0 deletions

File tree

apps/code/src/main/services/archive/service.integration.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ async function createTempGitRepo(): Promise<string> {
4646
stdio: "pipe",
4747
});
4848
execSync("git config user.name 'Test'", { cwd: dir, stdio: "pipe" });
49+
execSync("git config commit.gpgsign false", { cwd: dir, stdio: "pipe" });
4950
await fs.writeFile(path.join(dir, "README.md"), "# Test Repo");
5051
execSync("git add . && git commit -m 'Initial commit'", {
5152
cwd: dir,

packages/agent/src/sagas/test-fixtures.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export async function createTestRepo(prefix = "test-repo"): Promise<TestRepo> {
3838
await git(["init"]);
3939
await git(["config", "user.email", "test@test.com"]);
4040
await git(["config", "user.name", "Test"]);
41+
await git(["config", "commit.gpgsign", "false"]);
4142

4243
await writeFile(join(repoPath, ".gitignore"), ".posthog/\n");
4344
await writeFile(join(repoPath, "README.md"), "# Test Repo");

packages/agent/src/test/fixtures/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export async function createTestRepo(prefix = "test-repo"): Promise<TestRepo> {
3535
await git(["init"]);
3636
await git(["config", "user.email", "test@test.com"]);
3737
await git(["config", "user.name", "Test"]);
38+
await git(["config", "commit.gpgsign", "false"]);
3839

3940
await writeFile(join(repoPath, ".gitignore"), ".posthog/\n");
4041
await writeFile(join(repoPath, "README.md"), "# Test Repo");

packages/git/src/queries.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ async function setupRepo(defaultBranch = "main"): Promise<string> {
1111
await git.init(["--initial-branch", defaultBranch]);
1212
await git.addConfig("user.name", "Test");
1313
await git.addConfig("user.email", "test@example.com");
14+
await git.addConfig("commit.gpgsign", "false");
1415
await writeFile(path.join(dir, "file.txt"), "content\n");
1516
await git.add(["file.txt"]);
1617
await git.commit("initial");

packages/git/src/sagas/checkpoint.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ async function setupRepo(): Promise<string> {
1818
await git.init();
1919
await git.addConfig("user.name", "PostHog Code Test");
2020
await git.addConfig("user.email", "posthog-code-test@example.com");
21+
await git.addConfig("commit.gpgsign", "false");
2122

2223
await writeFile(path.join(dir, "a.txt"), "one\n");
2324
await writeFile(path.join(dir, "b.txt"), "base\n");
@@ -258,6 +259,7 @@ describe("checkpoint sagas", () => {
258259
await subGit.init();
259260
await subGit.addConfig("user.name", "PostHog Code Test");
260261
await subGit.addConfig("user.email", "posthog-code-test@example.com");
262+
await subGit.addConfig("commit.gpgsign", "false");
261263
await writeFile(path.join(subRepo, "sub.txt"), "sub\n");
262264
await subGit.add(["sub.txt"]);
263265
await subGit.commit("sub-init");

0 commit comments

Comments
 (0)