@adaptic/backend-legacy 0.0.959 → 0.0.961
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/ABTest.cjs +180 -66
- package/Account.cjs +180 -66
- package/AccountDecisionRecord.cjs +180 -66
- package/AccountLinkingRequest.cjs +180 -66
- package/Action.cjs +180 -66
- package/Alert.cjs +180 -66
- package/Allocation.cjs +180 -66
- package/AlpacaAccount.cjs +180 -66
- package/AnalyticsConfiguration.cjs +180 -66
- package/AnalyticsSnapshot.cjs +180 -66
- package/Asset.cjs +180 -66
- package/AuditLog.cjs +180 -66
- package/Authenticator.cjs +180 -66
- package/Configuration.cjs +180 -66
- package/ConflictEvent.cjs +180 -66
- package/ConnectionHealthSnapshot.cjs +180 -66
- package/Customer.cjs +180 -66
- package/DeadLetterMessage.cjs +180 -66
- package/DecisionMemorySummary.cjs +180 -66
- package/EconomicEvent.cjs +180 -66
- package/EquityBar.cjs +180 -66
- package/Event.cjs +180 -66
- package/EventSnapshot.cjs +180 -66
- package/FeatureImportanceAnalysis.cjs +180 -66
- package/InstitutionalFlowSignal.cjs +180 -66
- package/InstitutionalHolding.cjs +180 -66
- package/InstitutionalSentimentAlerts.cjs +180 -66
- package/InstitutionalSentimentErrors.cjs +180 -66
- package/InstitutionalSentimentHistory.cjs +180 -66
- package/InstitutionalSentimentMetrics.cjs +180 -66
- package/InviteToken.cjs +180 -66
- package/LinkedProvider.cjs +180 -66
- package/LlmConfiguration.cjs +180 -66
- package/MLModelVersion.cjs +180 -66
- package/MLTrainingData.cjs +180 -66
- package/MarketSentiment.cjs +180 -66
- package/ModelArtifact.cjs +180 -66
- package/ModelVersion.cjs +180 -66
- package/ModelVersionArtifact.cjs +180 -66
- package/NewsArticle.cjs +180 -66
- package/NewsArticleAssetSentiment.cjs +180 -66
- package/OptionsContract.cjs +180 -66
- package/OptionsGreeksHistory.cjs +180 -66
- package/OptionsPosition.cjs +180 -66
- package/OptionsPositionEvent.cjs +180 -66
- package/OptionsTradeExecution.cjs +180 -66
- package/PolicyOverlay.cjs +180 -66
- package/PortfolioGreeksHistory.cjs +180 -66
- package/ScheduledOptionOrder.cjs +180 -66
- package/Session.cjs +180 -66
- package/SignalGeneratorMetrics.cjs +180 -66
- package/SignalLineage.cjs +180 -66
- package/SignalOutcome.cjs +180 -66
- package/SignalPriorityQueue.cjs +180 -66
- package/SyncEvent.cjs +180 -66
- package/SystemAlert.cjs +180 -66
- package/Trade.cjs +180 -66
- package/TradeAuditEvent.cjs +180 -66
- package/TradeExecutionHistory.cjs +180 -66
- package/TradeOutcome.cjs +180 -66
- package/TradingPolicy.cjs +180 -66
- package/User.cjs +180 -66
- package/VerificationToken.cjs +180 -66
- package/WaitlistEntry.cjs +180 -66
- package/esm/ABTest.d.ts.map +1 -1
- package/esm/ABTest.js.map +1 -1
- package/esm/ABTest.mjs +180 -66
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +180 -66
- package/esm/AccountDecisionRecord.d.ts.map +1 -1
- package/esm/AccountDecisionRecord.js.map +1 -1
- package/esm/AccountDecisionRecord.mjs +180 -66
- package/esm/AccountLinkingRequest.d.ts.map +1 -1
- package/esm/AccountLinkingRequest.js.map +1 -1
- package/esm/AccountLinkingRequest.mjs +180 -66
- package/esm/Action.d.ts.map +1 -1
- package/esm/Action.js.map +1 -1
- package/esm/Action.mjs +180 -66
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +180 -66
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +180 -66
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +180 -66
- package/esm/AnalyticsConfiguration.d.ts.map +1 -1
- package/esm/AnalyticsConfiguration.js.map +1 -1
- package/esm/AnalyticsConfiguration.mjs +180 -66
- package/esm/AnalyticsSnapshot.d.ts.map +1 -1
- package/esm/AnalyticsSnapshot.js.map +1 -1
- package/esm/AnalyticsSnapshot.mjs +180 -66
- package/esm/Asset.d.ts.map +1 -1
- package/esm/Asset.js.map +1 -1
- package/esm/Asset.mjs +180 -66
- package/esm/AuditLog.d.ts.map +1 -1
- package/esm/AuditLog.js.map +1 -1
- package/esm/AuditLog.mjs +180 -66
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +180 -66
- package/esm/Configuration.d.ts.map +1 -1
- package/esm/Configuration.js.map +1 -1
- package/esm/Configuration.mjs +180 -66
- package/esm/ConflictEvent.d.ts.map +1 -1
- package/esm/ConflictEvent.js.map +1 -1
- package/esm/ConflictEvent.mjs +180 -66
- package/esm/ConnectionHealthSnapshot.d.ts.map +1 -1
- package/esm/ConnectionHealthSnapshot.js.map +1 -1
- package/esm/ConnectionHealthSnapshot.mjs +180 -66
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +180 -66
- package/esm/DeadLetterMessage.d.ts.map +1 -1
- package/esm/DeadLetterMessage.js.map +1 -1
- package/esm/DeadLetterMessage.mjs +180 -66
- package/esm/DecisionMemorySummary.d.ts.map +1 -1
- package/esm/DecisionMemorySummary.js.map +1 -1
- package/esm/DecisionMemorySummary.mjs +180 -66
- package/esm/EconomicEvent.d.ts.map +1 -1
- package/esm/EconomicEvent.js.map +1 -1
- package/esm/EconomicEvent.mjs +180 -66
- package/esm/EquityBar.d.ts.map +1 -1
- package/esm/EquityBar.js.map +1 -1
- package/esm/EquityBar.mjs +180 -66
- package/esm/Event.d.ts.map +1 -1
- package/esm/Event.js.map +1 -1
- package/esm/Event.mjs +180 -66
- package/esm/EventSnapshot.d.ts.map +1 -1
- package/esm/EventSnapshot.js.map +1 -1
- package/esm/EventSnapshot.mjs +180 -66
- package/esm/FeatureImportanceAnalysis.d.ts.map +1 -1
- package/esm/FeatureImportanceAnalysis.js.map +1 -1
- package/esm/FeatureImportanceAnalysis.mjs +180 -66
- package/esm/InstitutionalFlowSignal.d.ts.map +1 -1
- package/esm/InstitutionalFlowSignal.js.map +1 -1
- package/esm/InstitutionalFlowSignal.mjs +180 -66
- package/esm/InstitutionalHolding.d.ts.map +1 -1
- package/esm/InstitutionalHolding.js.map +1 -1
- package/esm/InstitutionalHolding.mjs +180 -66
- package/esm/InstitutionalSentimentAlerts.d.ts.map +1 -1
- package/esm/InstitutionalSentimentAlerts.js.map +1 -1
- package/esm/InstitutionalSentimentAlerts.mjs +180 -66
- package/esm/InstitutionalSentimentErrors.d.ts.map +1 -1
- package/esm/InstitutionalSentimentErrors.js.map +1 -1
- package/esm/InstitutionalSentimentErrors.mjs +180 -66
- package/esm/InstitutionalSentimentHistory.d.ts.map +1 -1
- package/esm/InstitutionalSentimentHistory.js.map +1 -1
- package/esm/InstitutionalSentimentHistory.mjs +180 -66
- package/esm/InstitutionalSentimentMetrics.d.ts.map +1 -1
- package/esm/InstitutionalSentimentMetrics.js.map +1 -1
- package/esm/InstitutionalSentimentMetrics.mjs +180 -66
- package/esm/InviteToken.d.ts.map +1 -1
- package/esm/InviteToken.js.map +1 -1
- package/esm/InviteToken.mjs +180 -66
- package/esm/LinkedProvider.d.ts.map +1 -1
- package/esm/LinkedProvider.js.map +1 -1
- package/esm/LinkedProvider.mjs +180 -66
- package/esm/LlmConfiguration.d.ts.map +1 -1
- package/esm/LlmConfiguration.js.map +1 -1
- package/esm/LlmConfiguration.mjs +180 -66
- package/esm/MLModelVersion.d.ts.map +1 -1
- package/esm/MLModelVersion.js.map +1 -1
- package/esm/MLModelVersion.mjs +180 -66
- package/esm/MLTrainingData.d.ts.map +1 -1
- package/esm/MLTrainingData.js.map +1 -1
- package/esm/MLTrainingData.mjs +180 -66
- package/esm/MarketSentiment.d.ts.map +1 -1
- package/esm/MarketSentiment.js.map +1 -1
- package/esm/MarketSentiment.mjs +180 -66
- package/esm/ModelArtifact.d.ts.map +1 -1
- package/esm/ModelArtifact.js.map +1 -1
- package/esm/ModelArtifact.mjs +180 -66
- package/esm/ModelVersion.d.ts.map +1 -1
- package/esm/ModelVersion.js.map +1 -1
- package/esm/ModelVersion.mjs +180 -66
- package/esm/ModelVersionArtifact.d.ts.map +1 -1
- package/esm/ModelVersionArtifact.js.map +1 -1
- package/esm/ModelVersionArtifact.mjs +180 -66
- package/esm/NewsArticle.d.ts.map +1 -1
- package/esm/NewsArticle.js.map +1 -1
- package/esm/NewsArticle.mjs +180 -66
- package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/esm/NewsArticleAssetSentiment.js.map +1 -1
- package/esm/NewsArticleAssetSentiment.mjs +180 -66
- package/esm/OptionsContract.d.ts.map +1 -1
- package/esm/OptionsContract.js.map +1 -1
- package/esm/OptionsContract.mjs +180 -66
- package/esm/OptionsGreeksHistory.d.ts.map +1 -1
- package/esm/OptionsGreeksHistory.js.map +1 -1
- package/esm/OptionsGreeksHistory.mjs +180 -66
- package/esm/OptionsPosition.d.ts.map +1 -1
- package/esm/OptionsPosition.js.map +1 -1
- package/esm/OptionsPosition.mjs +180 -66
- package/esm/OptionsPositionEvent.d.ts.map +1 -1
- package/esm/OptionsPositionEvent.js.map +1 -1
- package/esm/OptionsPositionEvent.mjs +180 -66
- package/esm/OptionsTradeExecution.d.ts.map +1 -1
- package/esm/OptionsTradeExecution.js.map +1 -1
- package/esm/OptionsTradeExecution.mjs +180 -66
- package/esm/PolicyOverlay.d.ts.map +1 -1
- package/esm/PolicyOverlay.js.map +1 -1
- package/esm/PolicyOverlay.mjs +180 -66
- package/esm/PortfolioGreeksHistory.d.ts.map +1 -1
- package/esm/PortfolioGreeksHistory.js.map +1 -1
- package/esm/PortfolioGreeksHistory.mjs +180 -66
- package/esm/ScheduledOptionOrder.d.ts.map +1 -1
- package/esm/ScheduledOptionOrder.js.map +1 -1
- package/esm/ScheduledOptionOrder.mjs +180 -66
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +180 -66
- package/esm/SignalGeneratorMetrics.d.ts.map +1 -1
- package/esm/SignalGeneratorMetrics.js.map +1 -1
- package/esm/SignalGeneratorMetrics.mjs +180 -66
- package/esm/SignalLineage.d.ts.map +1 -1
- package/esm/SignalLineage.js.map +1 -1
- package/esm/SignalLineage.mjs +180 -66
- package/esm/SignalOutcome.d.ts.map +1 -1
- package/esm/SignalOutcome.js.map +1 -1
- package/esm/SignalOutcome.mjs +180 -66
- package/esm/SignalPriorityQueue.d.ts.map +1 -1
- package/esm/SignalPriorityQueue.js.map +1 -1
- package/esm/SignalPriorityQueue.mjs +180 -66
- package/esm/SyncEvent.d.ts.map +1 -1
- package/esm/SyncEvent.js.map +1 -1
- package/esm/SyncEvent.mjs +180 -66
- package/esm/SystemAlert.d.ts.map +1 -1
- package/esm/SystemAlert.js.map +1 -1
- package/esm/SystemAlert.mjs +180 -66
- package/esm/Trade.d.ts.map +1 -1
- package/esm/Trade.js.map +1 -1
- package/esm/Trade.mjs +180 -66
- package/esm/TradeAuditEvent.d.ts.map +1 -1
- package/esm/TradeAuditEvent.js.map +1 -1
- package/esm/TradeAuditEvent.mjs +180 -66
- package/esm/TradeExecutionHistory.d.ts.map +1 -1
- package/esm/TradeExecutionHistory.js.map +1 -1
- package/esm/TradeExecutionHistory.mjs +180 -66
- package/esm/TradeOutcome.d.ts.map +1 -1
- package/esm/TradeOutcome.js.map +1 -1
- package/esm/TradeOutcome.mjs +180 -66
- package/esm/TradingPolicy.d.ts.map +1 -1
- package/esm/TradingPolicy.js.map +1 -1
- package/esm/TradingPolicy.mjs +180 -66
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +180 -66
- package/esm/VerificationToken.d.ts.map +1 -1
- package/esm/VerificationToken.js.map +1 -1
- package/esm/VerificationToken.mjs +180 -66
- package/esm/WaitlistEntry.d.ts.map +1 -1
- package/esm/WaitlistEntry.js.map +1 -1
- package/esm/WaitlistEntry.mjs +180 -66
- package/esm/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1025,13 +1025,28 @@ export const FeatureImportanceAnalysis = {
|
|
|
1025
1025
|
await new Promise(resolve => setTimeout(resolve, delay));
|
|
1026
1026
|
continue;
|
|
1027
1027
|
}
|
|
1028
|
-
// Log structured error details and rethrow
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1028
|
+
// Log structured error details and rethrow.
|
|
1029
|
+
// Demote transient failures to WARN with explicit transient+recoveryHint
|
|
1030
|
+
// metadata so log analytics can distinguish recoverable upstream retries
|
|
1031
|
+
// from true defects.
|
|
1032
|
+
if (isConnectionError) {
|
|
1033
|
+
logger.warn("Database create operation failed (transient after retries)", {
|
|
1034
|
+
operation: 'createOneFeatureImportanceAnalysis',
|
|
1035
|
+
model: 'FeatureImportanceAnalysis',
|
|
1036
|
+
error: String(error),
|
|
1037
|
+
isRetryable: true,
|
|
1038
|
+
transient: true,
|
|
1039
|
+
recoveryHint: "Upstream caller should retry on next cycle",
|
|
1040
|
+
});
|
|
1041
|
+
}
|
|
1042
|
+
else {
|
|
1043
|
+
logger.error("Database create operation failed", {
|
|
1044
|
+
operation: 'createOneFeatureImportanceAnalysis',
|
|
1045
|
+
model: 'FeatureImportanceAnalysis',
|
|
1046
|
+
error: String(error),
|
|
1047
|
+
isRetryable: false,
|
|
1048
|
+
});
|
|
1049
|
+
}
|
|
1035
1050
|
throw error;
|
|
1036
1051
|
}
|
|
1037
1052
|
}
|
|
@@ -1163,13 +1178,25 @@ export const FeatureImportanceAnalysis = {
|
|
|
1163
1178
|
await new Promise(resolve => setTimeout(resolve, delay));
|
|
1164
1179
|
continue;
|
|
1165
1180
|
}
|
|
1166
|
-
// Log structured error details and rethrow
|
|
1167
|
-
|
|
1168
|
-
operation
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1181
|
+
// Log structured error details and rethrow (transient -> WARN).
|
|
1182
|
+
if (isConnectionError) {
|
|
1183
|
+
logger.warn("Database createMany operation failed (transient after retries)", {
|
|
1184
|
+
operation: 'createManyFeatureImportanceAnalysis',
|
|
1185
|
+
model: 'FeatureImportanceAnalysis',
|
|
1186
|
+
error: String(error),
|
|
1187
|
+
isRetryable: true,
|
|
1188
|
+
transient: true,
|
|
1189
|
+
recoveryHint: "Upstream caller should retry on next cycle",
|
|
1190
|
+
});
|
|
1191
|
+
}
|
|
1192
|
+
else {
|
|
1193
|
+
logger.error("Database createMany operation failed", {
|
|
1194
|
+
operation: 'createManyFeatureImportanceAnalysis',
|
|
1195
|
+
model: 'FeatureImportanceAnalysis',
|
|
1196
|
+
error: String(error),
|
|
1197
|
+
isRetryable: false,
|
|
1198
|
+
});
|
|
1199
|
+
}
|
|
1173
1200
|
throw error;
|
|
1174
1201
|
}
|
|
1175
1202
|
}
|
|
@@ -4537,14 +4564,27 @@ export const FeatureImportanceAnalysis = {
|
|
|
4537
4564
|
await new Promise(resolve => setTimeout(resolve, delay));
|
|
4538
4565
|
continue;
|
|
4539
4566
|
}
|
|
4540
|
-
// Log structured error details and rethrow
|
|
4541
|
-
|
|
4542
|
-
operation
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4567
|
+
// Log structured error details and rethrow (transient -> WARN).
|
|
4568
|
+
if (isConnectionError) {
|
|
4569
|
+
logger.warn("Database update operation failed (transient after retries)", {
|
|
4570
|
+
operation: 'updateOneFeatureImportanceAnalysis',
|
|
4571
|
+
model: 'FeatureImportanceAnalysis',
|
|
4572
|
+
error: String(error),
|
|
4573
|
+
recordId: props.id,
|
|
4574
|
+
isRetryable: true,
|
|
4575
|
+
transient: true,
|
|
4576
|
+
recoveryHint: "Upstream caller should retry on next cycle",
|
|
4577
|
+
});
|
|
4578
|
+
}
|
|
4579
|
+
else {
|
|
4580
|
+
logger.error("Database update operation failed", {
|
|
4581
|
+
operation: 'updateOneFeatureImportanceAnalysis',
|
|
4582
|
+
model: 'FeatureImportanceAnalysis',
|
|
4583
|
+
error: String(error),
|
|
4584
|
+
recordId: props.id,
|
|
4585
|
+
isRetryable: false,
|
|
4586
|
+
});
|
|
4587
|
+
}
|
|
4548
4588
|
throw error;
|
|
4549
4589
|
}
|
|
4550
4590
|
}
|
|
@@ -8720,14 +8760,27 @@ export const FeatureImportanceAnalysis = {
|
|
|
8720
8760
|
await new Promise(resolve => setTimeout(resolve, delay));
|
|
8721
8761
|
continue;
|
|
8722
8762
|
}
|
|
8723
|
-
// Log structured error details and rethrow
|
|
8724
|
-
|
|
8725
|
-
operation
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8763
|
+
// Log structured error details and rethrow (transient -> WARN).
|
|
8764
|
+
if (isConnectionError) {
|
|
8765
|
+
logger.warn("Database upsert operation failed (transient after retries)", {
|
|
8766
|
+
operation: 'upsertOneFeatureImportanceAnalysis',
|
|
8767
|
+
model: 'FeatureImportanceAnalysis',
|
|
8768
|
+
error: String(error),
|
|
8769
|
+
recordId: props.id,
|
|
8770
|
+
isRetryable: true,
|
|
8771
|
+
transient: true,
|
|
8772
|
+
recoveryHint: "Upstream caller should retry on next cycle",
|
|
8773
|
+
});
|
|
8774
|
+
}
|
|
8775
|
+
else {
|
|
8776
|
+
logger.error("Database upsert operation failed", {
|
|
8777
|
+
operation: 'upsertOneFeatureImportanceAnalysis',
|
|
8778
|
+
model: 'FeatureImportanceAnalysis',
|
|
8779
|
+
error: String(error),
|
|
8780
|
+
recordId: props.id,
|
|
8781
|
+
isRetryable: false,
|
|
8782
|
+
});
|
|
8783
|
+
}
|
|
8731
8784
|
throw error;
|
|
8732
8785
|
}
|
|
8733
8786
|
}
|
|
@@ -12093,13 +12146,25 @@ export const FeatureImportanceAnalysis = {
|
|
|
12093
12146
|
await new Promise(resolve => setTimeout(resolve, delay));
|
|
12094
12147
|
continue;
|
|
12095
12148
|
}
|
|
12096
|
-
// Log structured error details and rethrow
|
|
12097
|
-
|
|
12098
|
-
operation
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12149
|
+
// Log structured error details and rethrow (transient -> WARN).
|
|
12150
|
+
if (isConnectionError) {
|
|
12151
|
+
logger.warn("Database updateMany operation failed (transient after retries)", {
|
|
12152
|
+
operation: 'updateManyFeatureImportanceAnalysis',
|
|
12153
|
+
model: 'FeatureImportanceAnalysis',
|
|
12154
|
+
error: String(error),
|
|
12155
|
+
isRetryable: true,
|
|
12156
|
+
transient: true,
|
|
12157
|
+
recoveryHint: "Upstream caller should retry on next cycle",
|
|
12158
|
+
});
|
|
12159
|
+
}
|
|
12160
|
+
else {
|
|
12161
|
+
logger.error("Database updateMany operation failed", {
|
|
12162
|
+
operation: 'updateManyFeatureImportanceAnalysis',
|
|
12163
|
+
model: 'FeatureImportanceAnalysis',
|
|
12164
|
+
error: String(error),
|
|
12165
|
+
isRetryable: false,
|
|
12166
|
+
});
|
|
12167
|
+
}
|
|
12103
12168
|
throw error;
|
|
12104
12169
|
}
|
|
12105
12170
|
}
|
|
@@ -12221,14 +12286,27 @@ export const FeatureImportanceAnalysis = {
|
|
|
12221
12286
|
await new Promise(resolve => setTimeout(resolve, delay));
|
|
12222
12287
|
continue;
|
|
12223
12288
|
}
|
|
12224
|
-
// Log structured error details and rethrow
|
|
12225
|
-
|
|
12226
|
-
operation
|
|
12227
|
-
|
|
12228
|
-
|
|
12229
|
-
|
|
12230
|
-
|
|
12231
|
-
|
|
12289
|
+
// Log structured error details and rethrow (transient -> WARN).
|
|
12290
|
+
if (isConnectionError) {
|
|
12291
|
+
logger.warn("Database delete operation failed (transient after retries)", {
|
|
12292
|
+
operation: 'deleteOneFeatureImportanceAnalysis',
|
|
12293
|
+
model: 'FeatureImportanceAnalysis',
|
|
12294
|
+
error: String(error),
|
|
12295
|
+
recordId: props.id,
|
|
12296
|
+
isRetryable: true,
|
|
12297
|
+
transient: true,
|
|
12298
|
+
recoveryHint: "Upstream caller should retry on next cycle",
|
|
12299
|
+
});
|
|
12300
|
+
}
|
|
12301
|
+
else {
|
|
12302
|
+
logger.error("Database delete operation failed", {
|
|
12303
|
+
operation: 'deleteOneFeatureImportanceAnalysis',
|
|
12304
|
+
model: 'FeatureImportanceAnalysis',
|
|
12305
|
+
error: String(error),
|
|
12306
|
+
recordId: props.id,
|
|
12307
|
+
isRetryable: false,
|
|
12308
|
+
});
|
|
12309
|
+
}
|
|
12232
12310
|
throw error;
|
|
12233
12311
|
}
|
|
12234
12312
|
}
|
|
@@ -12326,13 +12404,25 @@ export const FeatureImportanceAnalysis = {
|
|
|
12326
12404
|
await new Promise(resolve => setTimeout(resolve, delay));
|
|
12327
12405
|
continue;
|
|
12328
12406
|
}
|
|
12329
|
-
// Log structured error details and rethrow
|
|
12330
|
-
|
|
12331
|
-
operation
|
|
12332
|
-
|
|
12333
|
-
|
|
12334
|
-
|
|
12335
|
-
|
|
12407
|
+
// Log structured error details and rethrow (transient -> WARN).
|
|
12408
|
+
if (isConnectionError) {
|
|
12409
|
+
logger.warn("Database get operation failed (transient after retries)", {
|
|
12410
|
+
operation: 'getFeatureImportanceAnalysis',
|
|
12411
|
+
model: 'FeatureImportanceAnalysis',
|
|
12412
|
+
error: String(error),
|
|
12413
|
+
isRetryable: true,
|
|
12414
|
+
transient: true,
|
|
12415
|
+
recoveryHint: "Upstream caller should retry on next cycle",
|
|
12416
|
+
});
|
|
12417
|
+
}
|
|
12418
|
+
else {
|
|
12419
|
+
logger.error("Database get operation failed", {
|
|
12420
|
+
operation: 'getFeatureImportanceAnalysis',
|
|
12421
|
+
model: 'FeatureImportanceAnalysis',
|
|
12422
|
+
error: String(error),
|
|
12423
|
+
isRetryable: false,
|
|
12424
|
+
});
|
|
12425
|
+
}
|
|
12336
12426
|
throw error;
|
|
12337
12427
|
}
|
|
12338
12428
|
}
|
|
@@ -12418,13 +12508,25 @@ export const FeatureImportanceAnalysis = {
|
|
|
12418
12508
|
await new Promise(resolve => setTimeout(resolve, delay));
|
|
12419
12509
|
continue;
|
|
12420
12510
|
}
|
|
12421
|
-
// Log structured error details and rethrow
|
|
12422
|
-
|
|
12423
|
-
operation
|
|
12424
|
-
|
|
12425
|
-
|
|
12426
|
-
|
|
12427
|
-
|
|
12511
|
+
// Log structured error details and rethrow (transient -> WARN).
|
|
12512
|
+
if (isConnectionError) {
|
|
12513
|
+
logger.warn("Database getAll operation failed (transient after retries)", {
|
|
12514
|
+
operation: 'getAllFeatureImportanceAnalysis',
|
|
12515
|
+
model: 'FeatureImportanceAnalysis',
|
|
12516
|
+
error: String(error),
|
|
12517
|
+
isRetryable: true,
|
|
12518
|
+
transient: true,
|
|
12519
|
+
recoveryHint: "Upstream caller should retry on next cycle",
|
|
12520
|
+
});
|
|
12521
|
+
}
|
|
12522
|
+
else {
|
|
12523
|
+
logger.error("Database getAll operation failed", {
|
|
12524
|
+
operation: 'getAllFeatureImportanceAnalysis',
|
|
12525
|
+
model: 'FeatureImportanceAnalysis',
|
|
12526
|
+
error: String(error),
|
|
12527
|
+
isRetryable: false,
|
|
12528
|
+
});
|
|
12529
|
+
}
|
|
12428
12530
|
throw error;
|
|
12429
12531
|
}
|
|
12430
12532
|
}
|
|
@@ -12534,13 +12636,25 @@ export const FeatureImportanceAnalysis = {
|
|
|
12534
12636
|
await new Promise(resolve => setTimeout(resolve, delay));
|
|
12535
12637
|
continue;
|
|
12536
12638
|
}
|
|
12537
|
-
// Log structured error details and rethrow
|
|
12538
|
-
|
|
12539
|
-
operation
|
|
12540
|
-
|
|
12541
|
-
|
|
12542
|
-
|
|
12543
|
-
|
|
12639
|
+
// Log structured error details and rethrow (transient -> WARN).
|
|
12640
|
+
if (isConnectionError) {
|
|
12641
|
+
logger.warn("Database findMany operation failed (transient after retries)", {
|
|
12642
|
+
operation: 'findManyFeatureImportanceAnalysis',
|
|
12643
|
+
model: 'FeatureImportanceAnalysis',
|
|
12644
|
+
error: String(error),
|
|
12645
|
+
isRetryable: true,
|
|
12646
|
+
transient: true,
|
|
12647
|
+
recoveryHint: "Upstream caller should retry on next cycle",
|
|
12648
|
+
});
|
|
12649
|
+
}
|
|
12650
|
+
else {
|
|
12651
|
+
logger.error("Database findMany operation failed", {
|
|
12652
|
+
operation: 'findManyFeatureImportanceAnalysis',
|
|
12653
|
+
model: 'FeatureImportanceAnalysis',
|
|
12654
|
+
error: String(error),
|
|
12655
|
+
isRetryable: false,
|
|
12656
|
+
});
|
|
12657
|
+
}
|
|
12544
12658
|
throw error;
|
|
12545
12659
|
}
|
|
12546
12660
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstitutionalFlowSignal.d.ts","sourceRoot":"","sources":["../../src/InstitutionalFlowSignal.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,IAAI,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AACvI,OAAO,EAAmB,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAkFpG,eAAO,MAAM,uBAAuB;IAElC;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,2BAA2B,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"InstitutionalFlowSignal.d.ts","sourceRoot":"","sources":["../../src/InstitutionalFlowSignal.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,IAAI,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AACvI,OAAO,EAAmB,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AAkFpG,eAAO,MAAM,uBAAuB;IAElC;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,2BAA2B,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAqThJ;;;;;;;OAOG;sBACqB,2BAA2B,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,YAAY;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAoJzL;;;;;;OAMG;kBACiB,2BAA2B,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IA6sB9I;;;;;;OAMG;kBACiB,2BAA2B,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IA+2B9I;;;;;;OAMG;sBACqB,2BAA2B,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IA2sBjJ;;;;;;OAMG;kBACiB,2BAA2B,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAqJ9I;;;;;;;OAOG;eACc,2BAA2B,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,eAAe,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,2BAA2B,GAAG,IAAI,CAAC;IAwHxL;;;;;OAKG;0BACyB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,2BAA2B,EAAE,GAAG,IAAI,CAAC;IA6GnH;;;;;;;OAOG;oBACmB,2BAA2B,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,eAAe,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,2BAA2B,EAAE,GAAG,IAAI,CAAC;CAoIhM,CAAC"}
|