Commit b780391
committed
fix: harden Roblox API dump sync to skip missing builds
The sync step was using latest.json to resolve the build GUID, but the
latest build's files are often missing from the archive. curl without
--fail silently wrote the 404 response body as the dump, corrupting it.
Now uses metadata.json to find the latest GUID that actually has
Full-API-Dump.json available, adds curl -f, and validates JSON output.
Also restores the dump from the last available build.1 parent 9901136 commit b780391
2 files changed
Lines changed: 208419 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
60 | 70 | | |
61 | 71 | | |
62 | 72 | | |
63 | | - | |
64 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
65 | 79 | | |
66 | 80 | | |
67 | 81 | | |
| |||
0 commit comments