Skip to content

GitHub suggestion submit timeout env value should have an upper cap #2916

Description

@Widthdom

Summary

The GitHub suggestion submission timeout environment value accepts any positive integer number of seconds.

Evidence

GitHubIssueReporter.ResolveSubmitTimeout reads TimeoutEnvironmentVariable and returns TimeSpan.FromSeconds(seconds) for any parsed positive int, otherwise falling back to the default timeout.

Impact

A very large configured timeout can make suggestion submission hang far longer than intended and delay CLI/MCP workflows waiting on GitHub submission.

Expected

Reject or clamp timeout values above a documented maximum, and surface a clear warning or fallback when the environment value is out of range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions