백엔드 Docker 빌드 실패로 배포가 막히던 문제를 수정한다.
테스트 컴파일 오류(RsiThresholdCrossSignalTest)와 -DskipTests 한계를 해결해 StrategyConditionThresholdNormalizer가 실제 서버 이미지에 포함되도록 한다. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
||||
type EditorConditionState,
|
||||
} from './strategyConditionSerde';
|
||||
import { getStartCandleTypes, normalizeStartCandleType } from './strategyStartNodes';
|
||||
import { normalizeLogicRootForPersistence } from './strategyConditionNormalize';
|
||||
import type { LogicNode } from './strategyTypes';
|
||||
import type { StrategyFlowLayoutStore } from './strategyEditorLayoutStorage';
|
||||
|
||||
@@ -211,8 +212,8 @@ export async function persistStrategyEditorState(
|
||||
id: strategyId,
|
||||
name,
|
||||
description,
|
||||
buyCondition: encodedBuy,
|
||||
sellCondition: encodedSell,
|
||||
buyCondition: encodedBuy ? normalizeLogicRootForPersistence(encodedBuy) : encodedBuy,
|
||||
sellCondition: encodedSell ? normalizeLogicRootForPersistence(encodedSell) : encodedSell,
|
||||
flowLayout,
|
||||
enabled: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user