Fix MTGJSON download: use .gz URLs and handle pre-uncompressed files
This commit is contained in:
+9
-8
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"task_description": "MTG Online Backend - MTGJSON Data Integration & Docker Deployment",
|
||||
"current_step": "Testing: destroy all containers, rebuild backend, deploy stack",
|
||||
"current_step": "Testing full container lifecycle",
|
||||
"files_created": [
|
||||
"backend/app/services/mtgjson_manager.py",
|
||||
"backend/scripts/sanity_check_mtgjson.py",
|
||||
@@ -26,17 +26,18 @@
|
||||
"Implemented retry logic with exponential backoff (up to 3 attempts)",
|
||||
"Cleanup deletes corrupted data before retry",
|
||||
"Container marked unhealthy if validation fails after all retries",
|
||||
"Doubled all timeout values to prevent timeouts during download/upsert",
|
||||
"Download timeout increased to 60 minutes (3600s) for large files"
|
||||
],
|
||||
"next_steps": [
|
||||
"Destroy all containers",
|
||||
"Build backend image",
|
||||
"Deploy stack",
|
||||
"Monitor until healthy",
|
||||
"Check logs for success"
|
||||
"Save state to state.json",
|
||||
"Commit and push to Gitea",
|
||||
"Stop and destroy all Docker containers",
|
||||
"Build backend Docker container",
|
||||
"Deploy stack and monitor",
|
||||
"Check container health status",
|
||||
"Verify logs show successful initialization"
|
||||
],
|
||||
"blockers": [],
|
||||
"commit_hash": "20fb572",
|
||||
"commit_hash": "0643544",
|
||||
"timestamp": 1784598400
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user