@resolveio/server-lib 22.3.218 → 22.3.219

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "22.3.218",
3
+ "version": "22.3.219",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "package": "./build_package.sh",
@@ -2584,6 +2584,10 @@ function normalizeResolveIOSupportDiagnosisGate(value, now) {
2584
2584
  || (issueCasePrimaryText ? 'Customer/account context from support ticket intake and hydrated support attachments.' : '')
2585
2585
  || (featureRequestClassified ? 'Customer/account context from support ticket intake.' : '');
2586
2586
  var rawReproductionStatus = issueCaseSource.reproduction_status || issueCaseSource.reproductionStatus || source.reproduction_status;
2587
+ var explicitReproductionBlocker = pickText(issueCaseSource, ['reproduction_blocker', 'reproductionBlocker', 'runtime_blocker', 'runtimeBlocker', 'blocked_reason', 'blockedReason', 'blocker', 'blocked_by', 'blockedBy'], 1000);
2588
+ var inferredReproductionBlocked = /\b(?:runtime\s+)?reproduction\s+(?:is\s+)?blocked\b|\bno accessible staged runtime\b|\bstaged (?:mongo|log|runtime) artifacts?.{0,80}\b(?:not accessible|unavailable|missing)\b|\b(?:cannot|unable to) reproduce\b/i.test(issueCaseText);
2589
+ var inferredReproductionBlocker = explicitReproductionBlocker
2590
+ || (inferredReproductionBlocked ? issueCaseText : '');
2587
2591
  var hasRuntimeReproductionEvidence = diagnosisEvidence.some(function (entry) { return SUPPORT_REPRODUCTION_EVIDENCE_TYPES.has(entry.type); });
2588
2592
  var explicitHypothesisEvidence = collectSupportDiagnosisTextListFromValues([
2589
2593
  hypothesisSource.evidence,
@@ -2604,8 +2608,8 @@ function normalizeResolveIOSupportDiagnosisGate(value, now) {
2604
2608
  account_customer_context: accountCustomerContext,
2605
2609
  reproduction_status: rawReproductionStatus
2606
2610
  ? normalizeReproductionStatus(rawReproductionStatus)
2607
- : (featureRequestClassified || !hasRuntimeReproductionEvidence ? 'classified' : 'reproduced'),
2608
- reproduction_blocker: pickText(issueCaseSource, ['reproduction_blocker', 'reproductionBlocker', 'runtime_blocker', 'runtimeBlocker', 'blocked_reason', 'blockedReason', 'blocker', 'blocked_by', 'blockedBy'], 1000)
2611
+ : (inferredReproductionBlocker ? 'blocked' : (featureRequestClassified || !hasRuntimeReproductionEvidence ? 'classified' : 'reproduced')),
2612
+ reproduction_blocker: inferredReproductionBlocker
2609
2613
  },
2610
2614
  issue_class: issueClass || 'missing_wrong_data',
2611
2615
  accepted_hypothesis: {