Skip to content

Conversation

bufdev
Copy link
Member

@bufdev bufdev commented Oct 20, 2025

This PR deprecates and hides the global --timeout flag.

This specifically came up with buf lsp serve, where this command should not have a timeout. As such, we'd want to move --timeout to non-global anyways, but looking at the problem, it's not entirely clear what we're solving by having this flag in the first place. It was originally added because "all RPCs should have a timeout" but I'm not sure if this really desired or necessary.

As such, this just turns it into a no-op. You could theoretically argue that users expecting timeouts today will no longer get them, but this is generally how flags are deprecated, and you get a warning.

Copy link
Contributor

github-actions bot commented Oct 20, 2025

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 20, 2025, 8:58 PM

@bufdev
Copy link
Member Author

bufdev commented Oct 20, 2025

Alternative: bufbuild/app-go#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant