@taiga-ai/mcp-server 0.28.0-dev.579 → 0.28.0-dev.581

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.
Files changed (2) hide show
  1. package/dist/index.js +18 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23535,6 +23535,10 @@ const READY_BLOCKERS = [
23535
23535
  * streak a person's does, so the agent and the bot cannot loop without end.
23536
23536
  * - `ci_never_settled`: the pull request's checks did not finish within the
23537
23537
  * CI poll's window, so Taiga stopped waiting for them (PRO-2715).
23538
+ * - `review_fix_stalled`: a round on review comments pushed no commit and left
23539
+ * some of them unfixed (PRO-3126). Each thread says what was tried and what
23540
+ * stopped it; with nothing pushed, nothing new arrives to review, so without
23541
+ * this the run sat on "waiting for merge" with the comments unanswered.
23538
23542
  */
23539
23543
  const REVIEW_ESCALATION_REASONS = [
23540
23544
  "ci_fix_cap",
@@ -23543,7 +23547,8 @@ const REVIEW_ESCALATION_REASONS = [
23543
23547
  "ready_blocked",
23544
23548
  "check_weakened",
23545
23549
  "review_bot_cap",
23546
- "ci_never_settled"
23550
+ "ci_never_settled",
23551
+ "review_fix_stalled"
23547
23552
  ];
23548
23553
  /** One failing check as stored: the name is required, and the link survives only as http(s). */
23549
23554
  const storedFailingCheck = object({
@@ -25601,6 +25606,7 @@ const FINDING_ROW_FIELDS = [
25601
25606
  "backlogItemId",
25602
25607
  "createdAt",
25603
25608
  "detectedAt",
25609
+ "resolvedReason",
25604
25610
  "ignoreReason",
25605
25611
  "ignoreExpiresAt"
25606
25612
  ];
@@ -25623,7 +25629,8 @@ function groupKey(row) {
25623
25629
  const link = String(row["productRepositoryId"] ?? "");
25624
25630
  if (row["kind"] === "license_violation") {
25625
25631
  const verdict = licenseVerdict(row);
25626
- return verdict ? `license|${status}|${link}|${verdict}` : null;
25632
+ const reason = String(row["resolvedReason"] ?? "");
25633
+ return verdict ? `license|${status}|${reason}|${link}|${verdict}` : null;
25627
25634
  }
25628
25635
  const location = row["location"];
25629
25636
  const rule = typeof location?.ruleId === "string" ? location.ruleId : null;
@@ -25702,6 +25709,14 @@ function grouped(rows, fold) {
25702
25709
  * read off the row; remediableBy stays as the sweep recorded it.
25703
25710
  */
25704
25711
  function withFixability(row) {
25712
+ if (row["kind"] === "license_violation" && row["status"] === "resolved") {
25713
+ const reason = row["resolvedReason"];
25714
+ return {
25715
+ ...row,
25716
+ fixable: false,
25717
+ fixNote: reason === "not_shipped" ? "No longer applies: the package is only a build for platforms the repository does not deploy to. Nothing to do." : reason === "license_approved" ? "No longer applies: its license is on the organization's approved list. Nothing to do." : "Resolved: the sweep no longer reports it. Nothing to do."
25718
+ };
25719
+ }
25705
25720
  if (row["kind"] === "license_violation") return {
25706
25721
  ...row,
25707
25722
  fixable: false,
@@ -27262,6 +27277,7 @@ function handbackSaid(escalation) {
27262
27277
  case "conflict_cap": return `the branch still conflicts with its base${rounds}`;
27263
27278
  case "review_bot_cap": return `review bots still have open comments${rounds}`;
27264
27279
  case "ci_never_settled": return "CI did not finish in time";
27280
+ case "review_fix_stalled": return "Taiga could not fix some review comments; its replies say what it tried";
27265
27281
  case "ready_blocked": return `CI is green, but Taiga kept the pull request a draft${blockers.length ? `: ${blockers.join("; ")}` : ""}`;
27266
27282
  case "check_weakened": return `CI went green only after a fix changed ${typeof e.file === "string" ? e.file : "a CI workflow or a test"}`;
27267
27283
  default: return typeof e.reason === "string" ? e.reason : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.28.0-dev.579",
3
+ "version": "0.28.0-dev.581",
4
4
  "description": "Taiga for AI coding assistants: read products, policies, initiatives and runs, and operate the line, over MCP",
5
5
  "mcpName": "ga.tai/mcp-server",
6
6
  "license": "UNLICENSED",