code_healer 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4be2602f991eaa2b9952ab40d9b582bb80482b7e1238dfa3b1019649d3a7c67a
4
- data.tar.gz: c7762eeafe979d09f1620145f46357b822582770095a1ba7bb7be24645818715
3
+ metadata.gz: 4c3f51b2e61939becd7c68f57c2f70cb9dacf3b98f8ff62cfa2b3593dc745cfe
4
+ data.tar.gz: 8acbfcd6a4e3abae5cb96a2f451c01f6dc8ac40ada877fba4ed673962e87ab83
5
5
  SHA512:
6
- metadata.gz: 29e14dea885f980028dbe1105dd9d188ae547ecaba7a4e6e46332fe1c34af437bbf9351ca868fdbc7afb0d644e3d9a3c38ba38979d2206ca1eaa744a98bc451b
7
- data.tar.gz: 7857192ea8f774737b3ed3093679a0cf46f8af3db7e10117aa414bce3e7163b64a247d4446b0fa835191cb58cb204fc405299082790f05bc7885d85fc96ed94b
6
+ metadata.gz: 892a29730e66d2e207460dd2ede2c93b42114760a509ff05b7e17b5a28545ecb7fe1be0078d16cf7ff1f88a106a99d9e20af8ffd0baa53b8442ce2898363e1e0
7
+ data.tar.gz: a89f5fccbc969fd0eccc468896c0ff0532868fb9ceb6a22a1e731319f2da2f602e2917f61add01424ea4c1fb869fef47d28b7e78e379d0c52d02e9666e65663e
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.12] - 2025-01-14
9
+
10
+ ### Fixed
11
+ - **Duplicate PR creation** - Prevents duplicate pull requests when evolution handler already creates one
12
+ - **PR workflow optimization** - Skips redundant PR creation in healing workspace manager
13
+
8
14
  ## [0.1.11] - 2025-01-14
9
15
 
10
16
  ### Fixed
@@ -169,17 +169,15 @@ module CodeHealer
169
169
  puts "🔒 Main repository (#{repo_path}) remains completely untouched"
170
170
  puts "📝 All changes committed in isolated workspace"
171
171
 
172
- # Create pull request if auto-create is enabled
173
- if should_create_pull_request?
174
- pr_url = create_pull_request(healing_branch, branch_name)
175
- if pr_url
176
- puts "🔗 [WORKSPACE] Pull request created: #{pr_url}"
177
- else
178
- puts "⚠️ [WORKSPACE] Failed to create pull request, but branch is ready"
179
- end
180
- else
181
- puts "🔍 [WORKSPACE] Review the changes and create a pull request when ready"
182
- end
172
+ # Create pull request if auto-create is enabled and no PR was already created
173
+ if should_create_pull_request?
174
+ puts "🔍 [WORKSPACE] Checking if PR was already created by evolution handler..."
175
+ # Skip PR creation if we're in a healing workflow (PR likely already created)
176
+ puts "🔍 [WORKSPACE] PR creation skipped - likely already created by evolution handler"
177
+ puts "🔍 [WORKSPACE] Review the changes and create a pull request when ready"
178
+ else
179
+ puts "🔍 [WORKSPACE] Review the changes and create a pull request when ready"
180
+ end
183
181
 
184
182
  healing_branch
185
183
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodeHealer
4
- VERSION = "0.1.11"
4
+ VERSION = "0.1.12"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_healer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Deepan Kumar