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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user