docs: 標註 S3 相容儲存尚未啟用(缺 R2 帳號)
Run Tests / test (pull_request) Failing after 11s

在 .env.example 的 AWS_* 區塊與 MigrateStorageToS3 command 加上
TODO(2026-08-03) 註解,說明目前功能已實作但因缺帳號未啟用,直接在
code 裡就看得到狀態,不用另外翻 openspec 文件。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011LpcY9b7y9x4fusHBTXciQ
This commit is contained in:
2026-08-03 03:40:47 +08:00
parent 1c81b5fc10
commit a0fa339d6d
2 changed files with 6 additions and 0 deletions
@@ -6,6 +6,9 @@ use Illuminate\Console\Command;
use Illuminate\Support\Facades\Storage;
use Throwable;
// TODO(2026-08-03): 尚未申請 S3 相容服務帳號,此指令目前無法在正式環境執行
// (會因缺少 AWS_* credentials 連線失敗)。待 R2 帳號建立後才會實際使用,
// 見 openspec/changes/cloud-ready-s3-storage/tasks.md 第 4-6 組。
class MigrateStorageToS3 extends Command
{
protected $signature = 'storage:migrate-to-s3