Commit History
-
fix: ヘルプ画面の更新履歴・既知の不具合が取得できない問題を修正
Ryo_Shimano +1: Claude Sonnet 5DockerイメージにgitがインストールされておらずHF Spaces上でgit logが 失敗していたため、Dockerfileにgitを追加。あわせてGitHub Issues API 呼び出しにGITHUB_TOKENによる認証を任意で使えるようにし、匿名レート 制限(60回/時間)による取得失敗を緩和する。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>98377d8
-
gunicorn本番運用設定を統一・強化
DockerfileにworkerクラスをgthreadへThreads4を追加して Procfile/render.yamlと揃え、全環境で--max-requests/ --max-requests-jitterによるワーカー定期再起動と --access-logfile/--error-logfileによる標準出力ログ出力を追加。dcfc9ea -
デスクトップ版(PyQt6)を廃止し、Web版に一本化
- main.py, ui/, shift_tool.spec, .github/workflows/build-windows.yml を削除 - デスクトップ専用ユーティリティ(theme/toast/updater)を削除 - utils/version.pyからビルド番号管理・更新チェック機能を削除し、gitコミットハッシュ表示のみに簡素化 - db/database.pyのsys.frozen分岐(EXE/.app用パス)を削除 - requirements.txtをWeb版の依存関係(旧requirements-web.txt)に統一し、Dockerfile/render.yamlの参照を更新 - CLAUDE.md・README.mdをWeb版運用前提の内容に更新fc5e1f9
-
fix: eliminate stale cache bug caused by multi-worker SimpleCache
Root cause: gunicorn --workers 2 gives each worker an independent SimpleCache. A cache.delete_memoized() call in Worker 1 has no effect on Worker 2's cache, so Worker 2 can serve stale data for up to the cache timeout (180s for employees/periods, 300s for settings). Fix 1: reduce to --workers 1 - SimpleCache invalidation now always works (single process) - Solver still works via background daemon thread (releases GIL) - Sufficient for single-restaurant low-concurrency usage Fix 2: save_app_setting now also invalidates get_all_app_settings - Previously only invalidated the specific key's cache - get_all_app_settings() could return stale data after individual save_app_setting() calls Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>e2c8c2a
-
Performance: in-memory cache, DB indexes, 2 gunicorn workers
- flask-caching SimpleCache: employees/periods/settings cached 180-300s - Cache invalidation on writes - 6 DB indexes on high-frequency foreign key columns - gunicorn workers 1→2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>3f4c264 -
Switch to fonts-ipafont-gothic for reliable TTF Japanese font in Docker
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>940901d -
Install Noto CJK fonts in Docker image to fix Japanese PDF output
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>776e655 -
Add Dockerfile and requirements-web.txt for Koyeb deployment
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8e62652