Skip to content

Feature/omnisharp 1.39.13#223

Closed
MischaPanch wants to merge 15 commits intomainfrom
feature/omnisharp-1.39.13
Closed

Feature/omnisharp 1.39.13#223
MischaPanch wants to merge 15 commits intomainfrom
feature/omnisharp-1.39.13

Conversation

@MischaPanch
Copy link
Contributor

No description provided.

thomhurst and others added 15 commits June 20, 2025 21:31
Adds timeout to document symbol requests

Fixes potential indefinite hang by adding a timeout parameter
to document symbol requests. Ensures the operation fails
gracefully if it exceeds the set duration.
Introduces default timeout values to prevent indefinite hangs during asynchronous operations in language server methods. Updates include:

- Setting a default timeout for document symbol requests when `self.timeout` is unspecified.
- Adding timeout handling with error logging for OmniSharp capabilities (`definition_available` and `references_available`).
- Passing timeout parameter to `index_repository` in the Serena agent.

Improves reliability by avoiding potential blocking issues.
Updates `index_repository` to conditionally handle a timeout parameter based on the server type.

Adds timeouts for waiting on OmniSharp capabilities to prevent indefinite hangs, logging warnings if the timeout is exceeded.
Enhances repository indexing by refining error handling, progress tracking, and cache saving logic, ensuring failed files are logged and indexed efficiently. Adjusts checkpoint frequency to improve performance.

Adds a timeout mechanism for language server requests to prevent indefinite blocking, raising a clear error if the server fails to respond within 30 seconds.
Enhances server communication logic by adding timeout handling for
waiting on completions and reading process streams. Improves logging
to provide better insights into failures, including timeouts and
invalid headers. Uses unbuffered I/O for better real-time interaction.

Fixes potential indefinite waits and unexpected EOF errors during
language server communication.
Introduces mechanisms to track and clean up abandoned requests in the language server.

Enhances robustness by:
- Ignoring late responses to timed-out requests.
- Preventing memory leaks through periodic cleanup of old abandoned request IDs.
- Logging for better traceability of abandoned and unknown requests.

Fixes potential desynchronization issues caused by request timeouts.
Enhances EOFError handling to include process exit codes and
stderr messages for better diagnostics. Updates logic to
capture additional error details when processes terminate
unexpectedly, aiding debugging and troubleshooting.
Conflicts:
	src/solidlsp/language_servers/omnisharp/omnisharp.py
	src/solidlsp/ls.py
	src/solidlsp/ls_handler.py
@openhands-ai
Copy link

openhands-ai bot commented Jun 23, 2025

Looks like there are a few issues preventing this PR from being merged!

  • GitHub Actions are failing:
    • Tests on CI

If you'd like me to help, just leave a comment, like

@OpenHands please fix the failing actions on PR #223

Feel free to include any additional details that might help me get this PR into a better state.

You can manage your notification settings

@MischaPanch MischaPanch deleted the feature/omnisharp-1.39.13 branch July 6, 2025 21:40
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.

2 participants