Dominik Jain
15f60a0b1f
Merge pull request #1043 from oraios/mypy-test
...
Enable mypy for test/
2026-02-14 21:14:29 +01:00
Dominik Jain
e23800bea4
Disable TestSerenaAgent::test_find_symbol for FSHARP in CI #1039
...
Use apply instead of apply_ex in test to make exceptions visible
2026-02-14 20:26:20 +01:00
Dominik Jain
7513800a0f
Fix mypy issues in tests
2026-02-14 19:48:07 +01:00
Dominik Jain
177f0f46cb
Enable mypy for test/ (allowing untyped defs)
2026-02-14 19:31:41 +01:00
Dominik Jain
e20af1a328
Disable TestLanguageServerCommonFunctionality::test_open_file_cache_invalidate in Windows CI #1039
2026-02-14 19:13:02 +01:00
Dominik Jain
2024747e7f
Disable TestSerenaAgent::test_find_symbol_references for TYPESCRIPT in CI #1039
2026-02-14 19:10:25 +01:00
Dominik Jain
31d458583f
Remove 'on CI' suffix from CI task name [skip ci]
2026-02-14 18:05:08 +01:00
Dominik Jain
ee992690f2
Add sleep time to fix flaky test in Windows CI
2026-02-14 17:43:35 +01:00
Dominik Jain
f704abefbf
Merge pull request #1041 from oraios/skip-flaky-tests
...
Skip flaky tests in CI
2026-02-14 16:54:41 +01:00
Dominik Jain
3ab0720ff4
Disable TestSerenaAgent::test_find_symbol for FSHARP in CI #1039
2026-02-14 14:20:26 +01:00
Dominik Jain
2e2384020a
Disable TestNixLanguageServer::test_hover_information in CI #1039
2026-02-14 14:20:26 +01:00
Dominik Jain
9e95663cd7
Disable TestFSharpLanguageServer::test_find_referencing_symbols_across_files in CI #1039
2026-02-14 14:20:25 +01:00
Dominik Jain
558caa0ad5
Disable Phpactor tests in Windows CI #1039
2026-02-14 14:20:25 +01:00
Dominik Jain
a72ca90358
Merge pull request #996 from takeokunn/feature/add-ignore_path-system-global
...
SerenaConfig: Add system-global ignored_paths for cross-project path exclusion
2026-02-14 13:13:43 +01:00
Dominik Jain
d0ec712c13
Merge pull request #1038 from takeokunn/fix/phpactor-test-auto-skip
...
Skip PHP_PHPACTOR tests when PHP is not installed
2026-02-14 13:01:16 +01:00
takeokunn
614b035621
fix(tests): auto-skip Phpactor tests if PHP is unavailable
...
- Add check in conftest.py to disable PHP_PHPACTOR tests when php binary
is not found
- Refactor test_php_basic.py to use dynamic PHP server list based on
availability
- Ensure tests for PHP_PHPACTOR are only parametrized if PHP is present
2026-02-14 17:30:59 +09:00
Dominik Jain
d69f53cd5a
Hotfix for serena-jetbrains-plugin/issues/13
2026-02-13 23:05:27 +01:00
Dominik Jain
66a12eee3c
Fix type annotation
2026-02-13 16:38:40 +01:00
Dominik Jain
036a065848
Dashboard: Improve accessibility of logs view
...
'Overview' and 'Logs' are now tabs instead of menu items
2026-02-13 15:15:26 +01:00
Dominik Jain
88327d6192
Merge pull request #1035 from oraios/limited-log-buffer
...
Limit the size of the log buffer
2026-02-13 15:02:16 +01:00
Dominik Jain
1ab009ccf5
Limit the size of the log buffer
...
Fixes #1034
2026-02-13 14:51:10 +01:00
Dominik Jain
21bc996f10
Merge pull request #1028 from oraios/fix-ls-open-file-stale-buffers
...
LSPFileBuffer: Ensure that file contents are never stale
2026-02-13 12:52:08 +01:00
Dominik Jain
37965666be
LSPFileBuffer: Ensure that file contents are never stale by monitoring file modification date
...
For every read access on .contents, check for external file modification
and re-read if necessary, invalidating the content hash as well.
Fixes #1013
2026-02-13 12:48:12 +01:00
takeokunn
0025402f37
RegisteredProject: pass SerenaConfig through get_project_instance
...
Remove serena_config storage from RegisteredProject; instead accept it
as an explicit parameter in get_project_instance() for cleaner separation
of concerns.
2026-02-13 15:39:52 +09:00
takeokunn
43902782fa
Project.load: accept SerenaConfig instead of global_ignored_paths
...
Use `serena_config: SerenaConfig | None` without a default value,
requiring callers to explicitly pass the configuration.
2026-02-13 15:37:59 +09:00
takeokunn
f2beb3bb16
Project: accept SerenaConfig instead of global_ignored_paths
...
Replace `global_ignored_paths: Sequence[str]` with `serena_config: SerenaConfig | None`
in Project.__init__ and propagate through RegisteredProject for more general and
future-proof interfaces.
2026-02-13 15:37:29 +09:00
Dominik Jain
1064afceed
Merge pull request #1030 from oraios/fix-symbol-body-end
...
Handle end_col when extracting symbol body
2026-02-13 03:58:23 +01:00
Dominik Jain
256cb61416
DependencyProviders: Allow only lists for commands to ensure robustness
2026-02-13 03:20:13 +01:00
Dominik Jain
cd2f6f6717
Update list of LS supporting ls_path
2026-02-13 03:12:28 +01:00
Dominik Jain
8c54806abe
Marksman: Use DependencyProvider, fixing run command not working with spaces in path
2026-02-13 03:12:28 +01:00
Dominik Jain
1ab7e0aa97
YamlLanguageServer: Use DependencyProvider, fixing run command not working with spaces in path
2026-02-13 03:02:59 +01:00
Dominik Jain
754806af3e
BashLanguageServer: Use DependencyProvider
2026-02-13 02:59:35 +01:00
Dominik Jain
c195b2961a
Handle end_col when extracting symbol body
...
Fixes #1029
2026-02-13 02:56:48 +01:00
Dominik Jain
4809d5882b
TaploLanguageServer: Use DependencyProvider, fixing run command not working with spaces in path
2026-02-13 02:56:48 +01:00
Dominik Jain
58f2727800
BashLanguageServer: Fix run command failing in case of spaces in path
2026-02-13 02:48:59 +01:00
Dominik Jain
05031e6afb
Merge pull request #1000 from oraios/copilot/fix-news-display-logic
...
Filter news items by installation date
2026-02-13 00:12:13 +01:00
Dominik Jain
be155a348e
Improve JetBrains usage documentation
...
Relates to #1027
2026-02-12 21:26:22 +01:00
Dominik Jain
3e71411780
Improve language requirements/alternatives documentation
2026-02-11 21:17:27 +01:00
Dominik Jain
d65a99034b
Disable Phpactor tests that find references on Windows (takes forever/fails)
2026-02-11 21:02:30 +01:00
Dominik Jain
af6ce686ad
_postprocess_symbol_collection_response: Apply conversion recursively
2026-02-11 19:42:33 +01:00
Dominik Jain
83c4116257
Merge pull request #1002 from takeokunn/feature/support-phpactor
...
Add Phpactor as alternative PHP language server
2026-02-11 13:27:31 +01:00
Michael Panchenko
d7125fabe1
Merge pull request #1010 from Proton23/fix/add-python-artifacts-to-dockerignore
...
fix: Add Python artifacts to .dockerignore
2026-02-09 22:16:46 +01:00
Antonio Melillo and Cursor
23a860cdc0
fix: Add Python artifacts to .dockerignore
...
Docker build fails when local .venv directory exists because:
1. COPY . /workspaces/serena/ copies .venv into container
2. RUN uv venv fails with 'virtual environment already exists'
This change prevents the issue by excluding Python development artifacts:
- .venv (virtual environment)
- __pycache__ (Python bytecode cache)
- *.pyc (compiled Python files)
- .pytest_cache (test cache)
These files are not needed for Docker builds as the container creates
its own clean environment.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-02-09 21:44:03 +01:00
Michael Panchenko
257d0370ee
Fix nix hover test - wrong position in test
2026-02-09 12:05:53 +01:00
Dominik Jain
3b707283f0
Fix log message parameters #1004
2026-02-09 02:04:57 +01:00
Dominik Jain
c1c54e9936
Merge pull request #1003 from bahaaza/fix/switch-modes-bug
...
Fix: switch_modes tool silently failing to change modes
2026-02-09 01:56:03 +01:00
Bahaa Zahika
271e2006d2
Fix switch_modes tool silently failing to change modes
...
set_modes() applied requested modes directly to self._active_modes,
then called _update_active_modes_and_tools() which recreates
_active_modes from scratch (global config -> project config -> CLI
overrides), discarding the change.
Fix: store the requested modes into self._mode_overrides so they
survive the rebuild and take highest priority, matching the behavior
of CLI --mode flags.
Also adds test coverage for set_modes() which was previously untested.
Bug was introduced in commit 40a3075 on Jan 26, 2026.
2026-02-09 01:08:37 +02:00
Michael Panchenko
46d3f11427
Human > AI (for now)
2026-02-07 20:23:18 +01:00
takeokunn
e0c2a4ff93
Merge branch 'feature/support-phpactor' of ssh://github.com/takeokunn/serena into feature/support-phpactor
...
# Conflicts:
# test/conftest.py
2026-02-08 01:08:26 +09:00
takeokunn
46fabd69f4
fix(test): merge PHP test classes into TestPhpLanguageServers
...
Consolidate TestPhpLanguageServer and TestPhpPhpactorLanguageServer
into a single TestPhpLanguageServers class. Both Language.PHP and
Language.PHP_PHPACTOR are now parametrized together, with conditional
branching where the two language servers differ in behavior.
Addresses review comment on PR #1002 .
2026-02-08 01:03:17 +09:00