-
Notifications
You must be signed in to change notification settings - Fork 18
disable concolic testing in LSP mode #450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
from pathlib import Path | ||
from typing import Any, Optional | ||
|
||
from codeflash.cli_cmds.console import logger | ||
from codeflash.cli_cmds.console import console, logger | ||
from codeflash.code_utils.code_utils import exit_with_message | ||
from codeflash.code_utils.formatter import format_code | ||
from codeflash.code_utils.shell_utils import read_api_key_from_shell_config | ||
|
@@ -110,3 +110,8 @@ def get_cached_gh_event_data() -> dict[str, Any] | None: | |
return None | ||
with Path(event_path).open() as f: | ||
return json.load(f) # type: ignore # noqa | ||
|
||
|
||
@lru_cache(maxsize=1) | ||
def is_LSP_enabled() -> bool: | ||
return console.quiet | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Q: Isnt it redundant as we already have it in main function in beta.py? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no, console.quiet by default is False, beta.py sets it to True & this function let's other parts of the codebase when it's been set to true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: What changes in aiservices are we thinking to change for LSP server?
No of candidates and tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently we only limit the number of line profiler candidates to 5, the aiservice already is ready for this change