Files
pages/docs/operations/deployments/2026-09-27-task-lists.md
T
Anya Tokugawa c1175d389f Implement Knowledge City platform, organizer and DAV integration
Capture accumulated application, UI, CLI, regression tests and design documentation changes, including task project mapping and default CalDAV list naming.

Keep deployment data, backups, local credentials and build artifacts out of Git. Move the Compose enrollment token to an ignored local environment file.
2026-09-27 14:44:43 +09:00

36 lines
2.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 本番反映:OneTaskのVTODOリスト作成
2026-09-27、`organizer.tasks 0.10.0`。[詳細設計](../../design/ja/caldav-task-lists.md)。
## 対象と変更
OneTaskの`SyncTaskListsSend`が発行するMKCALENDARに201を返し、そのURIを独立したタスクリストとして保存・探索・同期する。固定リストへの単純aliasにはしない。リストは既存の版付きプロジェクトに対応付ける。認証・scope・ETag・所有者分離・拡張無効化を維持する。
app/app2のみ反映。外部カレンダー本文や本番資格情報を試験に使わない。新規作成後のOneTask実機同期成功は利用者確認待ち。
## 検証
- 全Goテスト成功。
- OneTaskの提示XML形状で201→PROPFIND→PUT→REPORT/GET→更新→DELETEの隔離試験成功。
- 不正XML、未対応property/component、並行再作成、権限、既存VEVENT URIとの衝突、リスト分離、索引再構築、Webでの所属変更を検証。
- chroncalの固定・共通・名前付きリストの同期、vdirsyncer/Todoman回帰成功。
- タスク/カレンダーのChromium回帰成功。
## 保全と切戻し
- 反映前image:`sha256:71999001d598732a6e4fa05b8cc4b8d3dc3158679cbaa43895d81bc0390c63f8`
- 保全tag:`pageswiki-app:rollback-before-task-lists-20260927`
- 反映image:`sha256:86dfde6d962227cf1e653e3ad5b955847a124f570079fb04a06ae0e5a8373ce5`
- 両appを停止した上でDB/WAL/SHMを`.deployment-backups/20260927-task-lists/`へコピー。ディレクトリ700、ファイル600。これはDBの保全であり正本全体のバックアップではない。移行自体は表追加・索引登録のみで正本文書を書き換えない。
- 名前付きリスト作成後の切戻しでは先にタスク拡張を停止する。旧バイナリで該当プロジェクトを編集すると未知のdav_collectionが失われ得る。新規タスクを消すようなDB復元は別途承認なしで行わない。
## 反映後確認
- 2026-09-27 10:44:50 JSTにapp、10:45:17 JSTにapp2が新imageで起動。両方running、再起動0。appのDocker healthはhealthy。
- 公開HTTPSのhealthとapp2の正しいHostでのhealthは200。未認証共通DAV OPTIONSは401で認証制限を維持。
- 両DBのsqlite_masterからorganizer_dav_collections表の存在を確認(タスク・予定データは取得しない)。
- 両コンテナ内のtask_dav_collections.goのSHA-256がローカルと一致。
- 反映後の確認範囲でfatal、DB locked、event job failed、render errorは0。
- 停止時DBコピーは5.8 GiB。復元は実施していない。
- 利用者へ、アカウント再作成なしでOneTaskの再同期を依頼。OneTask実機の最終成功は未確認。