PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: apache/camel-k (go)

Issue:
Add .flow example to e2e tests
Similar to https://github.com/apache/camel-k/blob/3a4c8823bf311a6d19972243fa1bee6391665fa3/e2e/run_test.go#L45-L51

Pull request:
test(yaml): Add YAML e2e test
fixes #780

Patch:
diff --git a/pkg/builder/builder_steps.go b/pkg/builder/builder_steps.go
index 113b6467e..ea34d529a 100644
--- a/pkg/builder/builder_steps.go
+++ b/pkg/builder/builder_steps.go
@@ -161,13 +161,6 @@ func generateProject(ctx *Context) error {
 		}
 	}
 
-	// Add Log4j 2 SLF4J binding as default logging impl
-	ctx.Maven.Project.AddDependency(maven.Dependency{
-		GroupID:    "org.apache.logging.log4j",
-		ArtifactID: "log4j-slf4j-impl",
-		Scope:      "runtime",
-	})
-
 	return nil
 }
 


Test patch:
diff --git a/e2e/files/xml.xml b/e2e/files/xml.xml
index a656351ac..953ef8cb7 100644
--- a/e2e/files/xml.xml
+++ b/e2e/files/xml.xml
@@ -21,7 +21,7 @@
 
     <route id="hello">
         <from uri="timer:hello?period=3s"/>
-        <setHeader headerName="m">
+        <setHeader name="m">
             <constant>string!</constant>
         </setHeader>
         <setBody>
diff --git a/e2e/files/yaml.yaml b/e2e/files/yaml.yaml
new file mode 100644
index 000000000..f79e2b49c
--- /dev/null
+++ b/e2e/files/yaml.yaml
@@ -0,0 +1,12 @@
+- id: "yaml"
+  from:
+    uri: "timer:yaml"
+    parameters:
+      period: "5s"
+    steps:
+      - set-header:
+          name: "m"
+          constant: "string!"
+      - set-body:
+          simple: "Magic${header.m}"
+      - to: "log:info"
diff --git a/e2e/run_test.go b/e2e/run_test.go
index 550a685da..90d2a351d 100644
--- a/e2e/run_test.go
+++ b/e2e/run_test.go
@@ -74,5 +74,12 @@ func TestRunSimpleExamples(t *testing.T) {
 			Expect(kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil())
 		})
 
+		t.Run("run yaml", func(t *testing.T) {
+			RegisterTestingT(t)
+			Expect(kamel("run", "-n", ns, "files/yaml.yaml").Execute()).Should(BeNil())
+			Eventually(integrationPodPhase(ns, "yaml"), 5*time.Minute).Should(Equal(v1.PodRunning))
+			Eventually(integrationLogs(ns, "yaml"), 1*time.Minute).Should(ContainSubstring("Magicstring!"))
+			Expect(kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil())
+		})
 	})
 }
diff --git a/pkg/builder/builder_steps_test.go b/pkg/builder/builder_steps_test.go
index 30cfdbaf0..61f622c34 100644
--- a/pkg/builder/builder_steps_test.go
+++ b/pkg/builder/builder_steps_test.go
@@ -118,11 +118,6 @@ func TestGenerateJvmProject(t *testing.T) {
 				GroupID:    "org.apache.camel",
 				ArtifactID: "camel-properties",
 			},
-			{
-				GroupID:    "org.apache.logging.log4j",
-				ArtifactID: "log4j-slf4j-impl",
-				Scope:      "runtime",
-			},
 		},
 	)
 }
@@ -308,11 +303,6 @@ func TestGenerateGroovyProject(t *testing.T) {
 				GroupID:    "org.apache.camel",
 				ArtifactID: "camel-groovy",
 			},
-			{
-				GroupID:    "org.apache.logging.log4j",
-				ArtifactID: "log4j-slf4j-impl",
-				Scope:      "runtime",
-			},
 		},
 	)
 }
Repository: rsteube/carapace (go)

Issue:
powershell broken in 7.3.0
Empty argument is not completed in powershell 7.3.0 (needs at least one character).

```sh
git <TAB>
```

Pull request:
powershell: fix 7.3.0
fix #594

Patch:
diff --git a/internal/shell/powershell/snippet.go b/internal/shell/powershell/snippet.go
index bb9974c..ed9ffaf 100644
--- a/internal/shell/powershell/snippet.go
+++ b/internal/shell/powershell/snippet.go
@@ -42,7 +42,7 @@ Function _%v_completer {
 
     $completions = @(
       if (!$wordToComplete) {
-        %v _carapace powershell $($elems| ForEach-Object {$_}) '""' | ConvertFrom-Json | ForEach-Object { [CompletionResult]::new($_.CompletionText, $_.ListItemText.replace('`+"`"+`e[', "`+"`"+`e["), [CompletionResultType]::ParameterValue, $_.ToolTip) }
+        %v _carapace powershell $($elems| ForEach-Object {$_}) '' | ConvertFrom-Json | ForEach-Object { [CompletionResult]::new($_.CompletionText, $_.ListItemText.replace('`+"`"+`e[', "`+"`"+`e["), [CompletionResultType]::ParameterValue, $_.ToolTip) }
       } else {
         %v _carapace powershell $($elems| ForEach-Object {$_}) | ConvertFrom-Json | ForEach-Object { [CompletionResult]::new($_.CompletionText, $_.ListItemText.replace('`+"`"+`e[', "`+"`"+`e["), [CompletionResultType]::ParameterValue, $_.ToolTip) }
       }


Test patch:
diff --git a/example/cmd/_test/powershell.ps1 b/example/cmd/_test/powershell.ps1
index d9411e1..82091eb 100644
--- a/example/cmd/_test/powershell.ps1
+++ b/example/cmd/_test/powershell.ps1
@@ -30,7 +30,7 @@ Function _example_completer {
 
     $completions = @(
       if (!$wordToComplete) {
-        example _carapace powershell $($elems| ForEach-Object {$_}) '""' | ConvertFrom-Json | ForEach-Object { [CompletionResult]::new($_.CompletionText, $_.ListItemText.replace('`e[', "`e["), [CompletionResultType]::ParameterValue, $_.ToolTip) }
+        example _carapace powershell $($elems| ForEach-Object {$_}) '' | ConvertFrom-Json | ForEach-Object { [CompletionResult]::new($_.CompletionText, $_.ListItemText.replace('`e[', "`e["), [CompletionResultType]::ParameterValue, $_.ToolTip) }
       } else {
         example _carapace powershell $($elems| ForEach-Object {$_}) | ConvertFrom-Json | ForEach-Object { [CompletionResult]::new($_.CompletionText, $_.ListItemText.replace('`e[', "`e["), [CompletionResultType]::ParameterValue, $_.ToolTip) }
       }