kin: KIN-INFRA-006 Исправить command injection через deploy_path в SSH-команде
This commit is contained in:
parent
c20eae01c1
commit
d6d6e77744
1 changed files with 7 additions and 0 deletions
|
|
@ -702,6 +702,13 @@ def _migrate(conn: sqlite3.Connection):
|
|||
conn.execute("ALTER TABLE projects ADD COLUMN test_command TEXT DEFAULT NULL")
|
||||
conn.commit()
|
||||
|
||||
# KIN-102: Reset legacy 'make test' default — projects using old schema default get auto-detection.
|
||||
# Any project with a real Makefile should have test_command set explicitly, not via this default.
|
||||
conn.execute(
|
||||
"UPDATE projects SET test_command = NULL WHERE test_command = 'make test'"
|
||||
)
|
||||
conn.commit()
|
||||
|
||||
# Rename legacy 'auto' → 'auto_complete' (KIN-063)
|
||||
conn.execute(
|
||||
"UPDATE projects SET execution_mode = 'auto_complete' WHERE execution_mode = 'auto'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue