Merge branch 'main' into dev

This commit is contained in:
Neo
2025-11-19 03:38:27 +08:00
31 changed files with 3101 additions and 1 deletions

View File

@@ -76,6 +76,17 @@ DEFAULTS = {
"redact_keys": ["token", "password", "Authorization"],
"echo_token_in_logs": False,
},
<<<<<<< HEAD
=======
"testing": {
# ONLINE: 正常实时ETLOFFLINE: 读取归档JSON做T/L
"mode": "OFFLINE",
# 离线归档JSON所在目录
"json_archive_dir": "",
# 测试运行时用于生成/复制临时JSON的目录
"temp_json_dir": "",
},
>>>>>>> main
}
# 任务代码常量

View File

@@ -24,6 +24,12 @@ ENV_MAP = {
"OVERLAP_SECONDS": ("run.overlap_seconds",),
"WINDOW_BUSY_MIN": ("run.window_minutes.default_busy",),
"WINDOW_IDLE_MIN": ("run.window_minutes.default_idle",),
<<<<<<< HEAD
=======
"TEST_MODE": ("testing.mode",),
"TEST_JSON_ARCHIVE_DIR": ("testing.json_archive_dir",),
"TEST_JSON_TEMP_DIR": ("testing.temp_json_dir",),
>>>>>>> main
}
def _deep_set(d, dotted_keys, value):