fix: bump debug share paste TTL from 1 hour to 6 hours (#11240)

Users (Teknium) report missing debug reports before the 1-hour auto-delete
fires. 6 hours gives enough window for async bug-report triage without
leaving sensitive log data on public paste services indefinitely.

Applies to both the CLI (hermes debug share) and gateway (/debug) paths.
This commit is contained in:
Teknium
2026-04-16 14:34:46 -07:00
committed by GitHub
parent fce6c3cdf6
commit f6179c5d5f
2 changed files with 8 additions and 8 deletions

View File

@@ -6889,7 +6889,7 @@ class GatewayRunner:
except Exception as exc:
return f"✗ Failed to upload debug report: {exc}"
# Schedule auto-deletion after 1 hour
# Schedule auto-deletion after 6 hours
_schedule_auto_delete(list(urls.values()))
lines = [_GATEWAY_PRIVACY_NOTICE, "", "**Debug report uploaded:**", ""]
@@ -6898,7 +6898,7 @@ class GatewayRunner:
lines.append(f"`{label:<{label_width}}` {url}")
lines.append("")
lines.append("⏱ Pastes will auto-delete in 1 hour.")
lines.append("⏱ Pastes will auto-delete in 6 hours.")
lines.append("For full log uploads, use `hermes debug share` from the CLI.")
lines.append("Share these links with the Hermes team for support.")
return "\n".join(lines)