Repository navigation
[Copilot Dreams] Avoid rejecting valid inherited server timeouts - #15997
Conversation
Co-authored-by: Copilot <[email protected]>
| - **Note**: For the full JSON stdin field list and complete TOML examples (including `gateway.keepalive_interval`, top-level `sequential_launch`, and `guards_mode`), see `docs/CONFIGURATION.md` and `config.example.toml` | ||
| - **Note**: For the full gateway field list (including `trusted_bots`, `rate_limit_threshold`, `rate_limit_cooldown`, and all server fields), see [`docs/CONFIGURATION.md`](docs/CONFIGURATION.md) | ||
| - Port range validation: 1-65535 | ||
| - Timeout validation: positive integers only |
There was a problem hiding this comment.
🧹 Accept inherited timeouts: The positive-only claim could make Copilot reject valid server settings: the HTTP-server input schema accepts zero. Zero inherits the gateway timeout; gateway-specific positive/minimum requirements still apply.
There was a problem hiding this comment.
🟢 Approval recommended
The documentation-only change removes an inaccurate blanket timeout rule while preserving guidance for inherited server timeouts, and no active review issues are identified.
No open issues 🎉
What changed in this PR
This documentation-only PR updates AGENTS.md to avoid rejecting valid per-server timeouts that inherit the gateway timeout.
Changes:
- Removed the blanket requirement that all timeout values be positive.
- Preserved guidance for inherited server timeout behavior, including
toolTimeout: 0.
| File | Summary |
|---|---|
AGENTS.md |
Removes the inaccurate blanket timeout-validation rule. |
Review effort: Lite (auto)
|
@copilot address review feedback |
The timeout guidance feedback is already addressed in commit |
🧠 How this helps Copilot
The old guidance could lead Copilot to reject valid server settings because it says every timeout must be positive. Removing that blanket restriction avoids unnecessary overrides when a server inherits the gateway's timeout.
Automated details
Source:
curate-memoriesDream, analyzingmainatd855b1e.make agent-finishedcould not pass five existing logger permission-fallback tests when run as root. Those same tests passed under an unprivileged user. The aggregate also skipped golangci-lint because it was unavailable; the separate Rust guard tests passed.