xce009 commited on
Commit
5813c69
·
1 Parent(s): 142fe57

persistence test marker

Browse files
Files changed (2) hide show
  1. app/config.py +2 -0
  2. deploy.py +1 -11
app/config.py CHANGED
@@ -115,3 +115,5 @@ DEFAULT_STREAM = False
115
  @lru_cache(maxsize=1)
116
  def get_settings() -> Settings:
117
  return Settings()
 
 
 
115
  @lru_cache(maxsize=1)
116
  def get_settings() -> Settings:
117
  return Settings()
118
+
119
+ # Persistence test marker - remove after verification
deploy.py CHANGED
@@ -285,17 +285,7 @@ def git_status(cwd: str) -> list[str]:
285
 
286
 
287
  def git_add_all(cwd: str) -> bool:
288
- changes = git_status(cwd)
289
- if not changes:
290
- return True
291
- paths = []
292
- for line in changes:
293
- fn = line[3:].strip() if len(line) > 3 else ""
294
- if fn and fn.lower() != "nul":
295
- paths.append(fn)
296
- if not paths:
297
- return True
298
- rc, _ = _run_git(["add", "--"] + paths, cwd=cwd)
299
  return rc == 0
300
 
301
 
 
285
 
286
 
287
  def git_add_all(cwd: str) -> bool:
288
+ rc, _ = _run_git(["add", "-A", "."], cwd=cwd)
 
 
 
 
 
 
 
 
 
 
289
  return rc == 0
290
 
291