agentic-devtools 0.2.414__py3-none-any.whl → 0.2.415__py3-none-any.whl
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.
- agentic_devtools/_version.py +2 -2
- agentic_devtools/cli/ci/pipeline/actions/resolve_threads.py +17 -6
- {agentic_devtools-0.2.414.dist-info → agentic_devtools-0.2.415.dist-info}/METADATA +1 -1
- {agentic_devtools-0.2.414.dist-info → agentic_devtools-0.2.415.dist-info}/RECORD +7 -7
- {agentic_devtools-0.2.414.dist-info → agentic_devtools-0.2.415.dist-info}/WHEEL +0 -0
- {agentic_devtools-0.2.414.dist-info → agentic_devtools-0.2.415.dist-info}/entry_points.txt +0 -0
- {agentic_devtools-0.2.414.dist-info → agentic_devtools-0.2.415.dist-info}/licenses/LICENSE +0 -0
agentic_devtools/_version.py
CHANGED
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.2.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 2,
|
|
21
|
+
__version__ = version = '0.2.415'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 415)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -127,6 +127,7 @@ class ResolveThreadsAction:
|
|
|
127
127
|
suppressed = 0
|
|
128
128
|
skipped_reviews: list[str] = []
|
|
129
129
|
finalization_errors: list[str] = []
|
|
130
|
+
hard_failures: list[tuple[int, str]] = []
|
|
130
131
|
|
|
131
132
|
for prior_review in prior_reviews:
|
|
132
133
|
try:
|
|
@@ -138,13 +139,11 @@ class ResolveThreadsAction:
|
|
|
138
139
|
review_id=prior_review.id,
|
|
139
140
|
)
|
|
140
141
|
except Exception as exc:
|
|
141
|
-
logger.error(
|
|
142
|
-
|
|
143
|
-
name=self.name,
|
|
144
|
-
decision=ActionDecision.FAILED,
|
|
145
|
-
error=str(exc),
|
|
146
|
-
details="finalize_post_repair raised an exception",
|
|
142
|
+
logger.error(
|
|
143
|
+
"PR #%d: Thread resolution failed for review %s: %s", snapshot.pr_number, prior_review.id, exc
|
|
147
144
|
)
|
|
145
|
+
hard_failures.append((prior_review.id, str(exc)))
|
|
146
|
+
continue
|
|
148
147
|
|
|
149
148
|
finalization_errors.extend(result.errors)
|
|
150
149
|
|
|
@@ -156,6 +155,15 @@ class ResolveThreadsAction:
|
|
|
156
155
|
unresolved += result.unresolved_count
|
|
157
156
|
suppressed += result.suppressed_count
|
|
158
157
|
|
|
158
|
+
if len(hard_failures) == len(prior_reviews):
|
|
159
|
+
failure_msgs = [f"#{rid}: {err}" for rid, err in hard_failures]
|
|
160
|
+
return ActionResult(
|
|
161
|
+
name=self.name,
|
|
162
|
+
decision=ActionDecision.FAILED,
|
|
163
|
+
error="; ".join(failure_msgs),
|
|
164
|
+
details=f"All {len(prior_reviews)} prior reviews failed finalization: {', '.join(failure_msgs)}",
|
|
165
|
+
)
|
|
166
|
+
|
|
159
167
|
# Update derived state so downstream actions (approve, merge) see the
|
|
160
168
|
# post-resolution count within the same pipeline run.
|
|
161
169
|
#
|
|
@@ -192,6 +200,9 @@ class ResolveThreadsAction:
|
|
|
192
200
|
details = f"{details}; {suppressed} suppressed comment(s) not counted"
|
|
193
201
|
if skipped_reviews:
|
|
194
202
|
details = f"{details}; skipped {len(skipped_reviews)} prior review(s): {', '.join(skipped_reviews)}"
|
|
203
|
+
if hard_failures:
|
|
204
|
+
failure_msgs = [f"#{rid}: {err}" for rid, err in hard_failures]
|
|
205
|
+
details = f"{details}; hard failures: {', '.join(failure_msgs)}"
|
|
195
206
|
if finalization_errors:
|
|
196
207
|
details = f"{details}; finalization errors: {', '.join(finalization_errors)}"
|
|
197
208
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
agentic_devtools/__init__.py,sha256=J_Zw_vWKghk-cLmqI83hXQmSiS8zMhGIHM5WPLDkZuo,242
|
|
2
|
-
agentic_devtools/_version.py,sha256=
|
|
2
|
+
agentic_devtools/_version.py,sha256=yIi8ocqIsuh2cqu1EnYhgjeImc0-nP0OgjnFW9ZTHzw,524
|
|
3
3
|
agentic_devtools/agdt_gitignore.py,sha256=aBPBQe7M0GLH8NIp1NsyN9ZiO80fNGOi46IcT5A4SK4,1569
|
|
4
4
|
agentic_devtools/background_tasks.py,sha256=IVC1XJKQzPBP8wCRNCZX_iZCg9FJY_GBUzddSJj7xqw,17473
|
|
5
5
|
agentic_devtools/config.py,sha256=DEVxTVZhsQbVQwO9qdB_1h19aBpjMzF6xJY_ePYLGLs,15629
|
|
@@ -187,7 +187,7 @@ agentic_devtools/cli/ci/pipeline/actions/merge.py,sha256=MPQxTMaDWpeZBzge2tx8htC
|
|
|
187
187
|
agentic_devtools/cli/ci/pipeline/actions/publish.py,sha256=A00Lk-vZKnhOCN2O5mkks0tayr7NA5eZfUA95CUP7gs,3990
|
|
188
188
|
agentic_devtools/cli/ci/pipeline/actions/rebase.py,sha256=FGykjl5xi9Bg8nq2AE6IB7skdmKJ7Z4iOT4bd2K3B2U,5256
|
|
189
189
|
agentic_devtools/cli/ci/pipeline/actions/request_review.py,sha256=-BInEFbX7rHY_wKna-ksa5cQV_Arxi7w1Jg1kNdBltE,9173
|
|
190
|
-
agentic_devtools/cli/ci/pipeline/actions/resolve_threads.py,sha256=
|
|
190
|
+
agentic_devtools/cli/ci/pipeline/actions/resolve_threads.py,sha256=orY7RsqrMsvOmGDa7R-Z96itSFj9N5DICertZdekwOo,9687
|
|
191
191
|
agentic_devtools/cli/ci/pipeline/actions/squash.py,sha256=woloutgBoaEkZMO6HcLoChCV3S-yeD7T22ygePciRx0,10894
|
|
192
192
|
agentic_devtools/cli/ci/pipeline/actions/takeover.py,sha256=ms0coVGuT7peZ3XKbYzqzwrAwqwyyvfPzCsPXLPXKws,6394
|
|
193
193
|
agentic_devtools/cli/ci/pipeline/discovery/__init__.py,sha256=QNdOYvl_wK6qcWOvNJR-wm8EtWD_DPn4barKF5RSmfU,752
|
|
@@ -949,8 +949,8 @@ agentic_devtools/_bundled_skills/prompts/speckit.plan.prompt.md,sha256=IJja5r2Sd
|
|
|
949
949
|
agentic_devtools/_bundled_skills/prompts/speckit.specify.prompt.md,sha256=eyzE3GRi2hyW30a6xPYOU7q6MJf0skrD-baEGURYqpg,31
|
|
950
950
|
agentic_devtools/_bundled_skills/prompts/speckit.tasks.prompt.md,sha256=iPxXwon5nV6dNcJV8-JoP3PssKUVXctNiG-C9SsRhB8,29
|
|
951
951
|
agentic_devtools/_bundled_skills/prompts/speckit.taskstoissues.prompt.md,sha256=L5Y21PMSoUcPAAdHy2Jnf-wGVdi04jV_pPvyOJZfpm0,37
|
|
952
|
-
agentic_devtools-0.2.
|
|
953
|
-
agentic_devtools-0.2.
|
|
954
|
-
agentic_devtools-0.2.
|
|
955
|
-
agentic_devtools-0.2.
|
|
956
|
-
agentic_devtools-0.2.
|
|
952
|
+
agentic_devtools-0.2.415.dist-info/METADATA,sha256=0YFc2rqKU6aEqndgc0b1TPrbskguyu3vIIraNawyBCg,33466
|
|
953
|
+
agentic_devtools-0.2.415.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
954
|
+
agentic_devtools-0.2.415.dist-info/entry_points.txt,sha256=1xH6yqltFD5Gs3qbHN9zpKwwG3nXpWoC7x0w1Ip7LCw,11726
|
|
955
|
+
agentic_devtools-0.2.415.dist-info/licenses/LICENSE,sha256=yBEDdICksxhBYLWoERKp9MTqwGnUF6Ryj9BTLwXTc6k,1082
|
|
956
|
+
agentic_devtools-0.2.415.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|