收紧回测引擎旧缓存门禁

This commit is contained in:
boris
2026-07-05 06:01:36 +08:00
parent 549595c1c6
commit 9a16ceefbb
+3 -3
View File
@@ -24,13 +24,13 @@ runtime_hits="$(
--glob '!**/*test*.rs' \ --glob '!**/*test*.rs' \
--glob '!crates/fidc-core/src/strategy_ai.rs' \ --glob '!crates/fidc-core/src/strategy_ai.rs' \
--glob '!scripts/verify-no-legacy-data-source.sh' \ --glob '!scripts/verify-no-legacy-data-source.sh' \
'fidatacenter|FIDATACENTER|/v1/backtest/data|/v1/xuntou|ClickHouse|clickhouse|CLICKHOUSE' \ 'fidatacenter|FIDATACENTER|/v1/backtest/data|/v1/xuntou|ClickHouse|clickhouse|CLICKHOUSE|FIDC_BT_INSTRUMENT_METADATA_CSV|FIDC_BT_WRITE_SNAPSHOTS|FIDC_BT_WRITE_CSV_SNAPSHOTS|FIDC_BT_WRITE_COMBINED_SOURCE_ROW_CACHE|write_csv_snapshot_files|write_csv\(|FIDC_RISK_RUNTIME_FILE|FIDC_RISK_RUNTIME_URL|FIDC_FIRISK_RUNTIME_FILE|FiRisk runtime snapshot' \
crates Cargo.toml \ crates Cargo.toml \
2>/dev/null || true 2>/dev/null || true
)" )"
if [[ -n "$runtime_hits" ]]; then if [[ -n "$runtime_hits" ]]; then
fail "legacy fidatacenter/ClickHouse runtime data source references are not allowed in fidc-backtest-engine" "$runtime_hits" fail "legacy fidatacenter/ClickHouse/CSV snapshot/FiRisk runtime data source references are not allowed in fidc-backtest-engine" "$runtime_hits"
fi fi
manifest_hits="$( manifest_hits="$(
@@ -51,7 +51,7 @@ local_only_hits="$(
--glob '!**/*test*.rs' \ --glob '!**/*test*.rs' \
--glob '!crates/fidc-core/src/strategy_ai.rs' \ --glob '!crates/fidc-core/src/strategy_ai.rs' \
--glob '!scripts/verify-no-legacy-data-source.sh' \ --glob '!scripts/verify-no-legacy-data-source.sh' \
'FICLAW_DATA_AGENT_URL|ficlaw_data\.source_rows_v1|strategy-factory-source-lake://local' \ 'FICLAW_DATA_AGENT_URL|ficlaw_data\.source_rows_v1|strategy-factory-source-lake://local|FIDC_BT_WRITE_COMBINED_SOURCE_ROW_CACHE' \
crates Cargo.toml \ crates Cargo.toml \
2>/dev/null || true 2>/dev/null || true
)" )"