Commit 5fc50ce
committed
docs: comprehensive R2_ARCHIVE_ENABLED documentation
Add clear documentation that R2 archival is ENABLED BY DEFAULT and
how to disable it if needed.
New Documentation:
- docs/CONFIGURATION.md - Complete environment variables guide
- All variables explained (ENVIRONMENT, AI_GATEWAY_ID, R2_ARCHIVE_ENABLED)
- How to override via dashboard vs wrangler.jsonc
- When to enable/disable each feature
- Bindings configuration reference
Updated Documentation:
- README.md
- Added "R2 archival ENABLED BY DEFAULT" warning
- Clear instructions to disable (dashboard or wrangler.jsonc)
- When you might want to disable archival
- docs/R2_STORAGE.md
- New section "Enabling/Disabling R2 Archival"
- Step-by-step disable instructions (2 options)
- When to disable archival (quota, testing, diagnostics)
- Updated emergency procedures
- Simplified pre-implementation checklist
Key Points Documented:
✅ R2_ARCHIVE_ENABLED=true by default in wrangler.jsonc
✅ Two ways to disable (dashboard preferred, no redeploy)
✅ When to disable (approaching quota, testing, etc.)
✅ How to re-enable archival
✅ Monitoring via /api/archive endpoint
This ensures users understand R2 is active by default and know
how to control it without confusion.1 parent 8423197 commit 5fc50ce
3 files changed
Lines changed: 444 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
298 | 301 | | |
299 | 302 | | |
300 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
301 | 318 | | |
302 | 319 | | |
303 | 320 | | |
304 | 321 | | |
305 | 322 | | |
| 323 | + | |
306 | 324 | | |
307 | 325 | | |
308 | 326 | | |
| |||
0 commit comments