@resolveio/server-lib 22.3.220 → 22.3.222

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.220",
3
+ "version": "22.3.222",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "package": "./build_package.sh",
@@ -1080,7 +1080,7 @@ function normalizeSupportDiagnosisEvidence(values, ownerFiles) {
1080
1080
  .map(function (entry) {
1081
1081
  var type = cleanText(entry.type, 80).toLowerCase();
1082
1082
  var artifactPath = cleanText(entry.artifactPath || entry.artifact_path || entry.artifact || entry.path || entry.file, 500);
1083
- var summary = cleanText(entry.summary || entry.detail || entry.message || entry.evidence || entry.reason || entry.rejection_reason || entry.rejectionReason || entry.fact || entry.finding || entry.description || entry.proof || entry.proof_required || entry.proofRequired, 1200)
1083
+ var summary = cleanText(entry.summary || entry.detail || entry.supports || entry.support || entry.message || entry.evidence || entry.reason || entry.rejection_reason || entry.rejectionReason || entry.fact || entry.finding || entry.description || entry.proof || entry.proof_required || entry.proofRequired, 1200)
1084
1084
  || (artifactPath ? "Evidence from ".concat(artifactPath) : '');
1085
1085
  var evidenceText = [summary, artifactPath].filter(Boolean).join(' ');
1086
1086
  var inferredType = (function () {
@@ -1813,6 +1813,12 @@ function supportDiagnosisNarrativeText(value, max) {
1813
1813
  'summary',
1814
1814
  'detail',
1815
1815
  'description',
1816
+ 'issue',
1817
+ 'problem',
1818
+ 'customer_symptom',
1819
+ 'customerSymptom',
1820
+ 'reported_issue',
1821
+ 'reportedIssue',
1816
1822
  'rationale',
1817
1823
  'why',
1818
1824
  'statement',
@@ -2545,6 +2551,8 @@ function normalizeResolveIOSupportDiagnosisGate(value, now) {
2545
2551
  'customer_symptom',
2546
2552
  'customerSymptom',
2547
2553
  'symptom',
2554
+ 'issue',
2555
+ 'problem',
2548
2556
  'reported_issue',
2549
2557
  'reportedIssue',
2550
2558
  'complaint',
@@ -2575,7 +2583,7 @@ function normalizeResolveIOSupportDiagnosisGate(value, now) {
2575
2583
  ].filter(Boolean).join(' '), 1200);
2576
2584
  var routeModule = pickText(issueCaseSource, ['route_module', 'routeModule', 'route', 'module', 'workflow', 'screen', 'route_or_module', 'routeOrModule', 'module_path', 'modulePath'], 500)
2577
2585
  || pickText(source, ['route_module', 'routeModule', 'module', 'workflow', 'screen', 'route_or_module', 'routeOrModule', 'module_path', 'modulePath'], 500)
2578
- || pickText(failingPathSource, ['route', 'module', 'path', 'description', 'reported', 'verified', 'reported_path', 'reportedPath', 'verified_path', 'verifiedPath'], 500)
2586
+ || pickText(failingPathSource, ['route', 'module', 'path', 'description', 'reported', 'verified', 'reported_path', 'reportedPath', 'verified_path', 'verifiedPath', 'frontend_event_data_path', 'frontendEventDataPath', 'backend_method_publication_query_path', 'backendMethodPublicationQueryPath', 'data_path', 'dataPath'], 500)
2579
2587
  || failingPathText
2580
2588
  || (featureRequestClassified ? 'net-new support feature workflow' : '');
2581
2589
  var expectedResult = pickText(issueCaseSource, ['expected_result', 'expectedResult', 'expected', 'expected_business_result', 'expectedBusinessResult', 'expected_business_state', 'expectedBusinessState', 'desired_result', 'desiredResult', 'desired_outcome', 'desiredOutcome'], 1000)
@@ -2591,9 +2599,13 @@ function normalizeResolveIOSupportDiagnosisGate(value, now) {
2591
2599
  || (issueCasePrimaryText ? 'Customer/account context from support ticket intake and hydrated support attachments.' : '')
2592
2600
  || (featureRequestClassified ? 'Customer/account context from support ticket intake.' : '');
2593
2601
  var rawReproductionStatus = issueCaseSource.reproduction_status || issueCaseSource.reproductionStatus || source.reproduction_status;
2602
+ var blockingArtifactsText = cleanList(issueCaseSource.blocking_artifacts || issueCaseSource.blockingArtifacts || source.blocking_artifacts || source.blockingArtifacts, 8, 500)
2603
+ .join(' | ')
2604
+ .slice(0, 1000);
2594
2605
  var explicitReproductionBlocker = pickText(issueCaseSource, ['reproduction_blocker', 'reproductionBlocker', 'runtime_blocker', 'runtimeBlocker', 'blocked_reason', 'blockedReason', 'blocker', 'blocked_by', 'blockedBy'], 1000);
2595
2606
  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);
2596
2607
  var inferredReproductionBlocker = explicitReproductionBlocker
2608
+ || blockingArtifactsText
2597
2609
  || (inferredReproductionBlocked ? issueCaseText : '');
2598
2610
  var hasRuntimeReproductionEvidence = diagnosisEvidence.some(function (entry) { return SUPPORT_REPRODUCTION_EVIDENCE_TYPES.has(entry.type) && !supportDiagnosisEvidenceIsTicketAttachment(entry); });
2599
2611
  var explicitHypothesisEvidence = collectSupportDiagnosisTextListFromValues([
@@ -2630,11 +2642,11 @@ function normalizeResolveIOSupportDiagnosisGate(value, now) {
2630
2642
  },
2631
2643
  rejected_alternatives: normalizeSupportDiagnosisRejectedAlternatives(source.rejected_alternatives || source.rejectedAlternatives),
2632
2644
  failing_path: {
2633
- frontend: pickText(failingPathSource, ['frontend', 'frontend_path', 'frontendPath', 'eventPath'], 700),
2634
- backend: pickText(failingPathSource, ['backend', 'backend_path', 'backendPath', 'methodPublicationPath'], 700),
2645
+ frontend: pickText(failingPathSource, ['frontend', 'frontend_path', 'frontendPath', 'eventPath', 'frontend_event_data_path', 'frontendEventDataPath'], 700),
2646
+ backend: pickText(failingPathSource, ['backend', 'backend_path', 'backendPath', 'methodPublicationPath', 'backend_method_publication_query_path', 'backendMethodPublicationQueryPath'], 700),
2635
2647
  shared_library: pickText(failingPathSource, ['shared_library', 'sharedLibrary', 'library', 'lib'], 700),
2636
- data_query: pickText(failingPathSource, ['data_query', 'dataQuery', 'query'], 700),
2637
- description: pickText(failingPathSource, ['description', 'path_chain', 'pathChain', 'chain', 'visibility_gate_trace', 'visibilityGateTrace', 'reported', 'verified', 'reported_path', 'reportedPath', 'verified_path', 'verifiedPath', 'path', 'assessment', 'summary', 'route'], 1200) || failingPathText
2648
+ data_query: pickText(failingPathSource, ['data_query', 'dataQuery', 'query', 'data_path', 'dataPath'], 700),
2649
+ description: pickText(failingPathSource, ['description', 'path_chain', 'pathChain', 'chain', 'visibility_gate_trace', 'visibilityGateTrace', 'reported', 'verified', 'reported_path', 'reportedPath', 'verified_path', 'verifiedPath', 'path', 'assessment', 'summary', 'route', 'frontend_event_data_path', 'frontendEventDataPath', 'backend_method_publication_query_path', 'backendMethodPublicationQueryPath', 'data_path', 'dataPath'], 1200) || failingPathText
2638
2650
  },
2639
2651
  owner_files: ownerFiles,
2640
2652
  proof_plan: {