instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
yayaa__LocationManager__111
yayaa/LocationManager
111
defect
ab6a2056ef087996083932a72cfbeb79a334a016
c83432e05706cd4b943d08a477170d211bb821d3
Process unresolved Google Play service events (fix #110)
Fix #110
diff --git a/library/src/main/java/com/yayandroid/locationmanager/providers/locationprovider/DispatcherLocationProvider.java b/library/src/main/java/com/yayandroid/locationmanager/providers/locationprovider/DispatcherLocationProvider.java index 513316d..477f9b1 100644 --- a/library/src/main/java/com/yayandroid/location...
1
1
0
[{"id": "G0", "claim": "The dismiss listener should not be attached via the switch's catch-all default branch; instead add it explicitly only for the Result types that need it (e.g. SERVICE_INVALID), so that future new error types would not unintentionally get a dismiss listener.", "category": "design", "verdict": "sup...
null
yayaa__LocationManager__69
yayaa/LocationManager
69
defect
062034b064c162b2a51524af7c309302686c29af
d9d7fa152e416e74f5aa9113167cae8832f37ea9
bugfix: add a NPE protection.
The `onLocationChanged(Location location)` callback is actually called in a thread's looper, which created the LocationManager. So, event if the `DefaultLocationProvider.onDestroy()` is done, the message which has the callback, may not be destroyed (because the `removeUpdates(LocationListener listener)` method will c...
diff --git a/library/src/main/java/com/yayandroid/locationmanager/providers/locationprovider/DefaultLocationProvider.java b/library/src/main/java/com/yayandroid/locationmanager/providers/locationprovider/DefaultLocationProvider.java index 51a0b7f..9fbe6ab 100644 --- a/library/src/main/java/com/yayandroid/locationmanage...
1
1
0
[{"id": "G0", "claim": "The switchTaskIsRemoved() check should be removed from the top of onLocationChanged and moved to right before getProviderSwitchTask().stop(), so that only updateRequestIsRemoved() causes the whole block to return.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introd...
null
ycm-core__YouCompleteMe__3104
ycm-core/YouCompleteMe
3,104
defect
459b3e620e45191b15c48c66b02ff89f1a0674db
3f81edf6400ba0219549ece1b4ec4bcac63393d0
[READY] Convert strings from omnifunc into dictionaries
Vim allows each item of the list returned by an omnifunc to be either a string or a dictionary (see `:h complete-items`) but ycmd only supports lists where items are all strings or all dictionaries. Convert all strings into dictionaries. Fixes https://github.com/Valloric/YouCompleteMe/issues/3103. Fixes https://g...
diff --git a/python/ycm/omni_completer.py b/python/ycm/omni_completer.py index d40da07b6a..4c1eedd96e 100644 --- a/python/ycm/omni_completer.py +++ b/python/ycm/omni_completer.py @@ -113,7 +113,19 @@ def ComputeCandidatesInner( self, request_data ): if not hasattr( items, '__iter__' ): raise TypeError( ...
2
1
0
[{"id": "G0", "claim": "Suggests folding the empty-item `continue` into a single `if item and not isinstance( item, dict ):` check because the reviewer personally finds it more readable, while explicitly saying it can be ignored.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introdu...
null
ycm-core__YouCompleteMe__3192
ycm-core/YouCompleteMe
3,192
defect
34dee0ebcb9d7f82b2cd8c426bbd99a84dd14db4
be4a4d4a66d91492fa47eeed3d86b07500e6b626
[READY] Recompute starting column on auto-wrapping
When auto-wrapping is enabled (`t` or `c` are present in `formatoptions`), Vim wraps the current line after the completion request is sent but before calling the completefunc. The column where the completion starts is invalid in that case and must be recomputed. Fixes #2789. <!-- Reviewable:start --> --- This c...
diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 4e9d149e05..ddf86b746c 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -24,8 +24,10 @@ let s:script_folder_path = escape( expand( '<sfile>:p:h' ), '\' ) let s:force_semantic = 0 let s:completion_stopped = 0 let s:d...
1
1
0
[{"id": "G0", "claim": "The completion-response dictionary is defined in more than one place (the Vim autoload file and the Python client) and should exist in only one place so that a later change only needs one edit.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ycm-core__YouCompleteMe__3208
ycm-core/YouCompleteMe
3,208
defect
34dee0ebcb9d7f82b2cd8c426bbd99a84dd14db4
7e09264f90097ae8154bc2f67b74721cd95c72e8
[READY] Handle null characters in completion response
The `detailed_info` field may contain null characters e.g. `\x00` in Python docstrings (though it doesn't make sense to use such characters in a docstring). Since these characters cannot be evaluated through `pyeval` (and `py3eval`), we replace them with the symbol used by Vim to display them (`^@`). This PR also re...
diff --git a/python/ycm/client/completion_request.py b/python/ycm/client/completion_request.py index 5acefc2486..980d1e8df6 100644 --- a/python/ycm/client/completion_request.py +++ b/python/ycm/client/completion_request.py @@ -187,49 +187,44 @@ def matcher( key ): return matched_completions +def _GetCompletionIn...
2
1
0
[{"id": "G0", "claim": "Replacing null characters with `^@` is not obviously a null character and the 'symbol used by Vim' comment misattributes the representation, so Python's representation of null should be considered instead, as done in #3207.", "category": "design", "verdict": "supported", "priority": "P3", "scope...
null
ycm-core__YouCompleteMe__3241
ycm-core/YouCompleteMe
3,241
defect
8e33c3c6448db8ef9d35b6d12ef2c96474d49d26
89a891cbe21ba17bafb2d7ecfa7e168823e131c3
[READY] Run flake8 on scripts in root
See https://github.com/Valloric/ycmd/pull/1135 for reference. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/3241) <!-- Reviewable:end -->
diff --git a/ci/appveyor/appveyor_install.bat b/ci/appveyor/appveyor_install.bat index 33c7807244..b85901fd98 100755 --- a/ci/appveyor/appveyor_install.bat +++ b/ci/appveyor/appveyor_install.bat @@ -19,4 +19,5 @@ python --version appveyor DownloadFile https://bootstrap.pypa.io/get-pip.py python get-pip.py pip instal...
1
1
1
[{"id": "G0", "claim": "The added `del get-pip.py` cleanup in ci/appveyor/appveyor_install.bat should be moved after the pip-install failure check or immediately after running get-pip.py, so a failing `pip install` does not leave the file undeleted.", "category": "correctness", "verdict": "supported", "priority": "P1",...
null
ycm-core__YouCompleteMe__3335
ycm-core/YouCompleteMe
3,335
defect
443356132eceb391be0654663917e60cd96c51fc
8ca44f17cee95c3a34fe64f1b79d47a019ad1315
[READY] Ensure only loclist or quickfix windows are closed
Fixes #3334. Note that `autocmd! * <buffer>` is required for location lists because we don't want to remove the autocommand in other location lists. It doesn't matter for the quickfix window since there is only one. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" hei...
diff --git a/python/ycm/tests/client/command_request_test.py b/python/ycm/tests/client/command_request_test.py index 764d47322e..36f28f2dce 100644 --- a/python/ycm/tests/client/command_request_test.py +++ b/python/ycm/tests/client/command_request_test.py @@ -107,7 +107,10 @@ def _CheckGoToList( self, ] ) vim_...
2
2
0
[{"id": "G0", "claim": "For extra safety, the `au WinLeave <buffer> q` autocommand should be replaced with one that only quits when the quickfix or location-list window itself is left (first suggested as `if &bt == \"quickfix\" | q | endif`, then refined to `if bufnr( \"%\" ) == expand( \"<abuf>\" ) | q | endif`).", "c...
null
ycm-core__YouCompleteMe__3344
ycm-core/YouCompleteMe
3,344
defect
299f8e48e7d34e780d24b4956cd61e4d42a139eb
44ef4319ecfd7823c876415c461581787edf3e04
[READY] Drop python 3.4
see Valloric/ycmd#1207 for details. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/3344) <!-- Reviewable:end -->
diff --git a/.circleci/config.yml b/.circleci/config.yml index 79c408200d..0b0f773858 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,7 +54,7 @@ jobs: - *run-tests - *upload-coverage environment: - YCMD_PYTHON_VERSION: 3.4 + YCMD_PYTHON_VERSION: 3.5 workflows: versio...
4
4
2
[{"id": "G0", "claim": "puremourning questions why the version check in install.py was switched to sys.hexversion and prefers the major/minor comparison as much easier to read.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "micbou suggests rewri...
null
ycm-core__YouCompleteMe__3380
ycm-core/YouCompleteMe
3,380
defect
2ae00449e5d7505102bb63d4bc28abb5e0744829
11d76f2bd7ae0c757e2357880874642bde180864
[READY] Ensure positive position for diagnostic matches
Creating a diagnostic match with a non-positive line or column number raises an exception. Fixes #3373. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/3380) <!-- R...
diff --git a/python/ycm/tests/vimsupport_test.py b/python/ycm/tests/vimsupport_test.py index 6fde2a3695..09575e94da 100644 --- a/python/ycm/tests/vimsupport_test.py +++ b/python/ycm/tests/vimsupport_test.py @@ -1373,6 +1373,24 @@ def AddDiagnosticSyntaxMatch_UnicodeAtEndOfLine_test(): ) +def AddDiagnosticSynta...
1
1
0
[{"id": "G0", "claim": "It would be better to perform the >= 1 clamping inside LineAndColumnNumbersClamped and add to its API the guarantee that the returned line and column are >= 1, instead of clamping column_num at the call site in GetDiagnosticMatchPattern.", "category": "design", "verdict": "supported", "priority"...
null
ycm-core__YouCompleteMe__3390
ycm-core/YouCompleteMe
3,390
defect
d691404ae2f7c79ec5d053f2c22a4c775b4bf915
4a1f329848d4812199796ac40737b80e3fc53ae9
[READY] Ignore case when comparing paths on Windows and macOS
There is an issue on Windows where jumping to a file that is already open in a window doesn't go to that window if the case differs between the path of the file and the path of the buffer in the window (with `g:ycm_goto_command_buffer` sets to `'split-or-existing-window'`). This shouldn't happen since paths are case-in...
diff --git a/python/ycm/tests/test_utils.py b/python/ycm/tests/test_utils.py index 0734cdc4cd..bc5840b71f 100644 --- a/python/ycm/tests/test_utils.py +++ b/python/ycm/tests/test_utils.py @@ -34,7 +34,12 @@ import re import sys -from ycmd.utils import GetCurrentDirectory, ToBytes, ToUnicode +try: + from unittest im...
2
1
1
[{"id": "G0", "claim": "macOS is also case-insensitive by default, so the new case-insensitive path comparison and the case test should cover macOS too, not only Windows.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The same case-sensitivity bug i...
null
ycm-core__YouCompleteMe__3502
ycm-core/YouCompleteMe
3,502
defect
036ad6e935aabd2783821c24ea7a8383bab9a5bb
5d5a76df27aafb02a2fbfc1e59e6a90aa20627cb
[READY] Handle unresolved fixits
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/README.md b/README.md index 86760c9535..82e2692e91 100644 --- a/README.md +++ b/README.md @@ -861,6 +861,7 @@ Quick Feature Summary * Go to declaration/definition (`GoTo`, etc.) * Go to type definition (`GoToType`) * Automatically fix certain errors (`FixIt`) +* View documentation comments for identifie...
3
2
2
[{"id": "G3", "claim": "The resolve_fixit request should re-use the original request data instead of building a fresh BuildRequestData().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G6", "claim": "The true branch of if chosen_fixit['resolve'] in CommandRequest....
null
ycm-core__YouCompleteMe__3509
ycm-core/YouCompleteMe
3,509
defect
94cfacd11ff97643a32409671fed072e3b1412d6
3740a7c4a5008e59b40297fd089df46ead188089
[READY] Stop async diagnostics from updating at inopportune times
Currently `g:ycm_show_diagnostics_ui` doesn't prevent async diagnostics from popping up. This PR fixes that and also prevents diagnostics from changing in any mode except normal, as I think it can be very distracting. # PR Prelude Thank you for working on YCM! :) **Please complete these steps and check th...
diff --git a/python/ycm/client/messages_request.py b/python/ycm/client/messages_request.py index 07c9159c64..d6ce40f62b 100644 --- a/python/ycm/client/messages_request.py +++ b/python/ycm/client/messages_request.py @@ -22,12 +22,16 @@ # Not installing aliases from python-future; it's unreliable and slow. from builtin...
5
5
0
[{"id": "G0", "claim": "The mode-dependent diagnostics update (only publishing diagnostics in normal mode) is contentious and should be split out of this bugfix into a separate RFC.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The decision whether to d...
null
ycm-core__YouCompleteMe__3524
ycm-core/YouCompleteMe
3,524
defect
3620fb550d6dd790376b18ed730dbc0f53239b35
b9ad19f45addc1a2aa72a24c49974c35b5e22f17
[READY] Do not hardcode async diagnostic filetype support
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/python/ycm/buffer.py b/python/ycm/buffer.py index bc24fb32b9..01bf5ecf42 100644 --- a/python/ycm/buffer.py +++ b/python/ycm/buffer.py @@ -29,7 +29,6 @@ DIAGNOSTIC_UI_FILETYPES = { 'cpp', 'cs', 'c', 'objc', 'objcpp', 'cuda', 'javascript', 'typescript' } -DIAGNOSTIC_UI_ASYNC_F...
2
1
1
[{"id": "G0", "claim": "The PR should keep the diagnostics gate in UpdateDiagnostics: update diagnostics from the FileReadyToParse response only for filetypes whose UI should show them (or when forced), because otherwise the messages poll and the on-file-ready-to-parse response can overwrite fresher async diagnostics w...
null
ycm-core__YouCompleteMe__3550
ycm-core/YouCompleteMe
3,550
defect
8099995959e7e533306a2cadd38a2f83d2ea9ed9
a3c84483064271bcbf5a261b5a743b8383232030
[READY] Don't poll forever if signature help request isn't sent
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [X] I have read and understood YCM's [CONTRIBUTING][cont] document. - [X] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 18aed539a6..94dbe38263 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -553,11 +553,17 @@ function! s:SetCompleteFunc() endfunction +function s:StopPoller( poller ) abort + call timer_stop( a:poller.id ) + let ...
3
2
0
[{"id": "G0", "claim": "Log something when s:PollSignatureHelp is entered while the signature-help poller timer is already running, instead of returning silently from the branch the code itself calls a bug.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "cl...
null
ycm-core__YouCompleteMe__3573
ycm-core/YouCompleteMe
3,573
defect
6be9ce1d51dc3d0590346140ce617f8522460845
4f8d9e3c25ae5c8b47d637843cb2d75b0c1686f5
[READY] Avoid calling _RawResponse when retrieving extra_data
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/python/ycm/client/completion_request.py b/python/ycm/client/completion_request.py index fa7cd223aa..007639fbe3 100644 --- a/python/ycm/client/completion_request.py +++ b/python/ycm/client/completion_request.py @@ -22,6 +22,7 @@ # Not installing aliases from python-future; it's unreliable and slow. from b...
4
4
1
[{"id": "G0", "claim": "The parameters of _GetRequiredNamespaceImport and _GetFixItCompletion should be named extra_data, since the functions now receive extra_data rather than whole completions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "_C...
null
ycm-core__YouCompleteMe__3654
ycm-core/YouCompleteMe
3,654
defect
cf4fa1ec786b20ea39497507f1913c04323e46f6
188a7cf69a3e1ef8e47e87857ed22b214084e7a0
[READY] Add public function to get the response from a subcommand
This is useful for customistaions, and allows things like the ExecuteCommand response to be used for things programmatically. An example is to get the debugger port from `YcmCompleter ExecuteCommand vscode.java.startDebugSession` as required by Vimspector. Closes #3467 <!-- Reviewable:start --> --- This change i...
diff --git a/README.md b/README.md index a5490101f7..6fa8d54f0e 100644 --- a/README.md +++ b/README.md @@ -1959,6 +1959,41 @@ For example: call youcompleteme#GetWarningCount() ``` +### The `youcompleteme#GetCommandResponse( ... )` function + +Run a [completer subcommand]() and return the result as a string. This ...
3
3
0
[{"id": "G0", "claim": "The README section's 'completer subcommand' text is missing a link (the link target is empty).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new documentation should also be generated into doc/youcompleteme.txt.", "cat...
null
ycm-core__YouCompleteMe__3682
ycm-core/YouCompleteMe
3,682
defect
b48e6d49fa3441f507f91a9dae3437ff64f876f6
7374f969232b9ae5e7108a79b1ec8d1aeb8a7b8f
Truncate extra_menu_info when completeopt is in popup mode
Fixes #3547 # PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] docume...
diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 21011bc074..673fa12ef5 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -505,7 +505,9 @@ function! s:SetUpCompleteopt() " Also, having this option set breaks the plugin. set completeopt-=longest - if g:ycm_add...
5
3
0
[{"id": "G0", "claim": "The tests mock the new vimsupport helpers (vim options / UsingPreviewPopup / DisplayWidth) with @patch, which leaves them uncovered; vim settings should be mocked through the suite's standard VIM_OPTIONS/UserOptions infrastructure (e.g. MockVimModule) instead.", "category": "testing", "verdict":...
null
ycm-core__YouCompleteMe__3754
ycm-core/YouCompleteMe
3,754
defect
2afee9d9771cf53eec63ab854bcd491fe277109e
6bac0b336e9f9c05ff414eac2bd3d915bc811ac0
[READY] Make hover request async
The hover request is enabled by default on CursorHold. It's not uncommon for &updatetime to be set to a small value for other plugings that update on CursorHold (even YCM used to do this). However, previously the Hover request was _blocking_. This meant that on a fairly large codebase, by defa...
diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 86bf6fd8a8..8d9cc213a1 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -51,6 +51,10 @@ let s:pollers = { \ 'receive_messages': { \ 'id': -1, \ 'wait_milliseconds': 100 + \ }, + ...
8
7
0
[{"id": "G0", "claim": "The leftover s:SetUpHover() stub with its empty `if exists( '*popup_beval' )` body is nonsense and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The GetDefinedSubcommandsAsync addition in YouCompleteMe...
null
ycm-core__YouCompleteMe__3783
ycm-core/YouCompleteMe
3,783
defect
6e4d1501e806267eeb4f53457ffd57a42708e9f0
a0b181de842af7504adc9e26d3729460bc6ae7b1
[READY] Allow suppressing the quickfix height changes
Upstreaming this because it's useful. I use a lot of commands that run tests and things and the output goes to the QuickFix window. I like this to be vertical for some things. However, YCM's resizing messes up the window layout even if you override it with the autocmd. This is a tiny change to allow YCM to not resise t...
diff --git a/python/ycm/vimsupport.py b/python/ycm/vimsupport.py index f00d9b7ae0..8ee16700e3 100644 --- a/python/ycm/vimsupport.py +++ b/python/ycm/vimsupport.py @@ -398,6 +398,9 @@ def ComputeFittingHeightForCurrentWindow(): def SetFittingHeightForCurrentWindow(): + if int( vim.current.buffer.vars.get( 'ycm_no_...
4
1
1
[{"id": "G0", "claim": "Use the existing GetBufferVariable()/GetIntValue() helpers instead of reading vim.current.buffer.vars directly in SetFittingHeightForCurrentWindow.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new early-return conditi...
null
ycm-core__YouCompleteMe__3809
ycm-core/YouCompleteMe
3,809
defect
604a2a02e070bbd46f58c79a46f4df048e26a97c
9b17f598cd447b628897078ca18d136ad64f2710
[READY] Drop the dependency on requests
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/.gitmodules b/.gitmodules index 2f8a6a87cc..8af04e1035 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,21 +1,3 @@ -[submodule "third_party/requests-futures"] - path = third_party/requests-futures - url = https://github.com/ross/requests-futures [submodule "third_party/ycmd"] path = third_party/ycmd u...
5
4
3
[{"id": "G0", "claim": "The `Connection: close` early-return in `_ValidateResponseObject` circumvents the HMAC check and is too eager, catching everything, so it should be replaced by a check on the empty response text such as `if not response_text:`.", "category": "correctness", "verdict": "supported", "priority": "P1...
null
ycm-core__YouCompleteMe__3912
ycm-core/YouCompleteMe
3,912
defect
44ef68ed6c15a2623c07ed4aacdbc38c23124ee2
ece70e46c422c4f479046a4ecce4021a5472fdea
[READY] Allow users to opt-out of diagnostics update in insert mode
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/README.md b/README.md index cc3f11ec8c..fd92956cee 100644 --- a/README.md +++ b/README.md @@ -3461,6 +3461,17 @@ tells YCM where is the TSServer executable located. Similar to [the `gopls` path](#the-gycm-gopls-binaty-path), this option tells YCM where is the Omnisharp-Roslyn executable located. +### T...
5
4
1
[{"id": "G0", "claim": "The early-return condition should be rewritten without the double negative, e.g. `if not update_diagnostics_in_insert_mode and 'i' in vim.eval('mode()')`, because the current form forces the reader to apply De Morgan in their head.", "category": "maintainability", "verdict": "supported", "priori...
null
ycm-core__YouCompleteMe__3913
ycm-core/YouCompleteMe
3,913
defect
44ef68ed6c15a2623c07ed4aacdbc38c23124ee2
3b5cf13e76f6c3e1048cf0f1ab9bf7e2542e7f59
[READY] Allow display of diagnostics in a popup
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/README.md b/README.md index cc3f11ec8c..2bd7836b5f 100644 --- a/README.md +++ b/README.md @@ -1743,6 +1743,9 @@ _Options_ section for details. This command shows the full diagnostic text when the user's cursor is on the line with the diagnostic. +An options argument can be passed. If the argument is `p...
2
2
1
[{"id": "G0", "claim": "The popup must not crash in neovim, and its placement/behaviour needs work: the 'moved' parameter may need tweaking (flicker as the cursor moves along the line), and placement should be smarter so the popup does not block the existing text with almost no way to dismiss it.", "category": "design"...
null
ycm-core__YouCompleteMe__3951
ycm-core/YouCompleteMe
3,951
defect
4117a99861b537830d717c3113e3d584523bc573
8f87bb71c4c0773891abb0ad9ad4b172dfa9f1d5
[READY] Use location list stack, instead of trampling on existing ones
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/python/ycm/buffer.py b/python/ycm/buffer.py index a706067437..d13267cfde 100644 --- a/python/ycm/buffer.py +++ b/python/ycm/buffer.py @@ -33,6 +33,8 @@ def __init__( self, bufnr, user_options, filetypes ): self._parse_request = None self._should_resend = False self._diag_interface = Diagnost...
3
2
0
[{"id": "G0", "claim": "After walking the location list history with :lolder and then a new YCM diagnostic arrives, the YCM loc list becomes visible instead of the older grep results still being shown; the reviewer asks whether this is intentional.", "category": "correctness", "verdict": "opposed", "priority": "P1", "s...
null
ycm-core__YouCompleteMe__3990
ycm-core/YouCompleteMe
3,990
defect
3c5a06301ed0f68d798c9df5aafa9a15bff1940f
681e91878eca4f0820840344aa35ed1687d2f577
Auto open possible folding when jumping to a location
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/python/ycm/tests/vimsupport_test.py b/python/ycm/tests/vimsupport_test.py index 920be0a60d..24c0cfc87f 100644 --- a/python/ycm/tests/vimsupport_test.py +++ b/python/ycm/tests/vimsupport_test.py @@ -1701,6 +1701,7 @@ def test_JumpToLocation_SameFile_SameBuffer_NoSwapFile( self, vim_command ): assert_...
2
1
0
[{"id": "G0", "claim": "A test should be added for the new fold-opening behaviour, if there is even an API for querying folds.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It is unclear whether the added unconditional 'normal! zv' is still needed when...
null
ycm-core__YouCompleteMe__4199
ycm-core/YouCompleteMe
4,199
defect
cc9a3ae3efdcc7d038aab0620ea28882533c236c
775897f293eb34d92b8a79c56c402b8d69cc8777
[READY] Properly handle diag text property length in multiline diags
# PR Prelude Thank you for working on YCM! :) **Please complete these steps and check these boxes (by putting an `x` inside the brackets) _before_ filing your PR:** - [x] I have read and understood YCM's [CONTRIBUTING][cont] document. - [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document. ...
diff --git a/python/ycm/diagnostic_interface.py b/python/ycm/diagnostic_interface.py index 4876fa67fb..ffbd35485a 100644 --- a/python/ycm/diagnostic_interface.py +++ b/python/ycm/diagnostic_interface.py @@ -277,11 +277,13 @@ def _UpdateSigns( self ): def _ConvertDiagListToDict( self ): self._line_to_diags = def...
2
2
1
[{"id": "G0", "claim": "Add a comment explaining the magic +2 in the text-property length computation, which looks like a 0-based vs 1-based offset artifact.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new test Test_ShowDetailedDiagnostic...
null
ydataai__ydata-profiling__1076
ydataai/ydata-profiling
1,076
defect
38c193ccb9cdf16278f3bf5322022f52b91baeb0
1c065e01ed2f3235ff33a0dacd649910a031b95e
feat: add support for Pandas 1.5
Some imports had to be fixed up. * `make test` passes locally with flying colors with Pandas 1.5. Fixes #1075 Following @sbrugman's review, I also added a new `pandas_version_info()` function, and at the same time got rid of outdated `pandas.__version__` checks (since this library requires Pandas 1.2 since 352...
diff --git a/requirements.txt b/requirements.txt index ffdd5adad..2eedf461e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ joblib~=1.2.0 # 1.1.0 scipy>=1.4.1, <1.10 -pandas>1.1, <1.5, !=1.4.0 +pandas>1.1, <1.6, !=1.4.0 matplotlib>=3.2, <3.6 pydantic>=1.8.1, <1.10 PyYAML>=5.0.0, <6.1 @@ -23,4...
3
2
0
[{"id": "G0", "claim": "Sorting the categoricals by column name in pandas_cramers_compute might change the correlation matrix's order relative to the original input dataset, and the reviewer would prefer to preserve the inherited arbitrary order by using list() instead of sorted().", "category": "correctness", "verdict...
null
ydb-platform__ydb-go-sdk__1014
ydb-platform/ydb-go-sdk
1,014
defect
ed575468f0e1861250a414732c1da8ed3441841e
010027bb01d8fad8e6dd0f39b8f8ca46206ac60d
fix: Make the error StatusIds_SESSION_EXPIRED retriable
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en <!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> - [x] Bugfix #...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5230596b9..21d271575 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v3.55.1 +* Made StatusIds_SESSION_EXPIRED retriable + ## v3.55.0 * Refactored `internal/value/intervalValue.Yql()` * The minimum version of Go in `ydb-go-sdk` has been raised to `go1.2...
15
15
3
[{"id": "G0", "claim": "The added CHANGELOG heading `## v3.55.1` should be removed since this change belongs to the released v3.55.1 entry.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGELOG bullet should wrap the identifier in backticks...
null
ydb-platform__ydb-go-sdk__1023
ydb-platform/ydb-go-sdk
1,023
defect
40bb25e37883112cd8b478c584970c5e62679f8b
6210f38a837eb0a11b6d4c775beace174c553068
enable ifshort linter
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en <!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the ...
diff --git a/.golangci.yml b/.golangci.yml index c1f8d06a8..ade32de1b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -228,7 +228,6 @@ linters: - golint - gomnd - gomoddirectives - - ifshort - interfacebloat - interfacer - ireturn diff --git a/CHANGELOG.md b/CHANGELOG.md index 5528fec...
3
3
2
[{"id": "G0", "claim": "Unban's rewrite reads c.cc twice without holding the read lock; the pointer must be saved under the lock because it can be overwritten by the time isAvailable is called.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "handlePa...
null
ydb-platform__ydb-go-sdk__1114
ydb-platform/ydb-go-sdk
1,114
defect
c6a7a8b383d7f239bcdaa1a08f9fabfa3f1bc8c6
c3edf95f4246f782f7a9d5da8618090e59f2b736
Add codegeneration for stack.FunctionID
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en <!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the ...
diff --git a/internal/stack/codegen/codegeneration.go b/internal/stack/codegen/codegeneration.go new file mode 100644 index 000000000..b2d6aa925 --- /dev/null +++ b/internal/stack/codegen/codegeneration.go @@ -0,0 +1,207 @@ +package main + +import ( + "bytes" + "flag" + "fmt" + "github.com/ydb-platform/ydb-go-sdk/v3/in...
3
3
0
[{"id": "G0", "claim": "The internal codegen tool should be placed in the internal/cmd package (e.g. internal/cmd/gstack) instead of internal/stack/codegen.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the import ordering in internal/stack/codegen/...
null
ydb-platform__ydb-go-sdk__1307
ydb-platform/ydb-go-sdk
1,307
defect
08c3ba65cd692cc26b4657bfd910ab83311ac179
43938615e0c7f2f3904e7f0f358752fd6aa3b4e1
use buffered channel to manage items in query pool
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [x] Bugfix - [x] Feature - [ ] Code style update (f...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fb5141b3..35eb8736d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Added warm-up and asynchronous item handling in internal/pool + ## v3.74.4 * Fixed bug with fail cast of grpc response to `operation.{Response,Status}` diff --git a/internal/pool/defau...
6
6
1
[{"id": "G0", "claim": "The new CHANGELOG.md line about internal pool changes should be removed because the changelog is only for user-facing changes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The spawnLoop label is unnecessary - the loops ...
null
ydb-platform__ydb-go-sdk__1354
ydb-platform/ydb-go-sdk
1,354
defect
1a85c100ca9fcd4a100d4ee10c38152066ad770e
45c5a0e85804421a9b080bcbb2af21b2effa5228
Read messages within transaction
https://github.com/ydb-platform/ydb-go-sdk/issues/1308 <!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: ...
diff --git a/examples/topic/topicreader/stubs.go b/examples/topic/topicreader/stubs.go index ef64775a3..a23d6fa50 100644 --- a/examples/topic/topicreader/stubs.go +++ b/examples/topic/topicreader/stubs.go @@ -22,7 +22,7 @@ func externalSystemUnlock(ctx context.Context, topic string, partition int64) er panic("example...
2
2
1
[{"id": "G0", "claim": "The error returned by UpdateOffsetsInTransaction, which the scanner traces to sensitive data from a password access, is logged in clear text via log.Printf in commitWithTransaction.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G2", "claim": ...
null
ydb-platform__ydb-go-sdk__1584
ydb-platform/ydb-go-sdk
1,584
defect
0dc77f56a14b938be1c04fe1e646bd4183d26a1b
34ce284f657cfe0310c1c4bb56ca7157d31cc203
Pool for encoders
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [x] Bugfix - [x] Feature - [ ] Code style update (f...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 24dcf08e6..a67517f6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Added the use of sync.Pool in EncoderMap and renamed it to MultiEncoder + ## v3.97.0 * Added immutable range iterators from go1.23 into query stats to iterate over query phases and acces...
5
4
0
[{"id": "G0", "claim": "The per-message temporary bytes.Buffer allocated in readDataToTargetCodec should be taken from a pool (e.g. the internal xsync.Pool wrapper), since one is needed for every message.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
ydb-platform__ydb-go-sdk__1642
ydb-platform/ydb-go-sdk
1,642
defect
e5c21a832fc65c8f6d165256642739da1018978f
e3253eed59e2b1efa0cbc694ef7598559f9778ff
add WithReaderLogContext, WithWriterLogContext options to Topic API
## Pull request type Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## Wh...
diff --git a/internal/grpcwrapper/rawtopic/client.go b/internal/grpcwrapper/rawtopic/client.go index 203622e857..c2a8308a4b 100644 --- a/internal/grpcwrapper/rawtopic/client.go +++ b/internal/grpcwrapper/rawtopic/client.go @@ -104,6 +104,7 @@ func (c *Client) StreamRead(ctxStreamLifeTime context.Context) (rawtopicreade...
9
9
3
[{"id": "G0", "claim": "Remove the commented-out ConnectFunc code in createWriterConfig instead of leaving it as a comment.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Do not pass a pointer to the owned context directly to trace calls in push...
null
ydb-platform__ydb-go-sdk__1649
ydb-platform/ydb-go-sdk
1,649
defect
912e56903e00e2d316cd543fb4580680f0d5678e
488c81dd76d7d2f9c062b987f8fd138578f6e65a
Fix describe consumer not parsing partition consumer stats
Fixes describe consumer operation, so that it would parse partition consumer stats ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature - [ ] Code style upda...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6aaf9a74f..fbe0c3943 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* Fixed DescribeConsumer ignoring PartitionConsumerStats * Added virtualtimestamps field to cdc description ## v3.99.10 diff --git a/go.mod b/go.mod index 4ef90b399..2b1cd18d7 100644 ---...
1
1
0
[{"id": "G0", "claim": "The go-cmp dependency added to go.mod should be removed from the require list.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ydb-platform__ydb-go-sdk__1803
ydb-platform/ydb-go-sdk
1,803
defect
9dc252574d906a5b80b51c1b1b5013fef7ce3f68
fcd4608a5279089b6d7204052419b9ebd5717d0a
Split bulk for bulkupsert
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update (f...
diff --git a/driver.go b/driver.go index 1f8f784cf..352f1e343 100644 --- a/driver.go +++ b/driver.go @@ -470,6 +470,9 @@ func (d *Driver) connect(ctx context.Context) (err error) { // prepend common params from root config []tableConfig.Option{ tableConfig.With(d.config.Common), + + // because w...
5
5
0
[{"id": "G0", "claim": "The added comment \"// because we are limiting by grpc message size\" in driver.go is unnecessary and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "splitBulkUpsertRequestAt should return both the left ...
null
ydb-platform__ydb-go-sdk__1819
ydb-platform/ydb-go-sdk
1,819
defect
f07e8ea46b47c0abcd81610157e8526d281a0e41
d099b3eba9257eb189bb9123f1bf37eda5706e1b
migrate golangci lint to v2
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting,...
diff --git a/.github/scripts/golangci-lint-gen-configs.sh b/.github/scripts/golangci-lint-gen-configs.sh index bcdbef71a..a1f18b134 100755 --- a/.github/scripts/golangci-lint-gen-configs.sh +++ b/.github/scripts/golangci-lint-gen-configs.sh @@ -1,3 +1,3 @@ #!/bin/bash -sed 's/github.com\/ydb-platform\/ydb-go-sdk\/v3/s...
4
4
2
[{"id": "G0", "claim": "The `//nolint:funlen,nolintlint` comment added above `Static.Token` in internal/credentials/static.go can be safely removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `//nolint:funlen` suppression on `streamListe...
null
ydb-platform__ydb-go-sdk__1875
ydb-platform/ydb-go-sdk
1,875
defect
c56ab1faed16406fe3fa874aee6f33cd26eb0ce1
a406d7ab9746f39a7d8e722230241af1408a356d
fix fill decimal
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature - [ ] Code style update (f...
diff --git a/internal/query/scanner/struct_test.go b/internal/query/scanner/struct_test.go index fa69cf00f..67af37036 100644 --- a/internal/query/scanner/struct_test.go +++ b/internal/query/scanner/struct_test.go @@ -1,6 +1,8 @@ package scanner import ( + "encoding/binary" + "math/big" "reflect" "testing" "ti...
4
3
0
[{"id": "G0", "claim": "Remove the redundant require.NoError(t, err) after the id check in TestIssue1785FillDecimalFields; the error was already checked right after row.ScanStruct(&rd).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the redun...
null
ydb-platform__ydb-go-sdk__1903
ydb-platform/ydb-go-sdk
1,903
defect
fda5a9d2c204ae7f1c588c8089f1139e001c3b1c
9fa14d03cce2d9bd9a0dbcd1282b9ef5e571a794
Correct sql.Null* support
Supported sql.Null* types as params in `database/sql` query ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature - [ ] Code style update (formatting, renamin...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 14ff201dd..06e1e281e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Supported `sql.Null*` from `database/sql` as query params in `toValue` func + ## v3.117.1 * Fixed scan a column of type `Decimal(precision,scale)` into a struct field of type `types.Deci...
2
2
1
[{"id": "G0", "claim": "Add test coverage for sql.Null[T] across all supported types (int64, float64, bool, []byte, string, time.Time), not just string and int64.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The repeated `if x.Valid { ... }` blocks in...
null
ydb-platform__ydb-go-sdk__1922
ydb-platform/ydb-go-sdk
1,922
defect
a0d9dfdcaa676ce73efd8a5e585ceeeed666d037
1c1be1cb19ebfc5fdc665d05d0dc8bc320272044
Topics: extend `connectTimeout` to cover `InitRequest` + `InitResponse`
This pull request enhances the behavior of `connectTimeout` in the topics. Previously, `connectTimeout` only applied to the creation of the write session. Now, it also covers the sending of `InitRequest` and waiting for `InitResponse`. Additionally, a helper function `xcontext.WithStoppableTimeout` has been introduc...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f1175363..3e8712f2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ * Added method `query.WithIssuesHandler` to get query issues +* Fixed connection timeout issue in topics writer ## v3.117.2 * Added support for `Result.RowsAffected()` for YDB `database/...
1
1
1
[{"id": "G0", "claim": "In startWriteStream there is a race between establishing the connection and closing the connect context: w.connectWithTimeout may return err = nil and then the connectTimeout expires before stopConnectCtx() runs, so the context gets cancelled and the underlying stream is closed; to avoid this, s...
null
ydb-platform__ydb-go-sdk__1968
ydb-platform/ydb-go-sdk
1,968
defect
65ead7677b9d67c436d5c6d716683636ffc69fd2
492f487f38a56b149495c4f0fda93438f22c3e6f
update offset bugfix
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code style update (f...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a2b75c64e..16514939a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ * Masked the sensitive credential data in the connection string (DSN, data source name) from error messages for security reasons +* Fixed issue with topic offsets update in transactions #...
4
4
1
[{"id": "G0", "claim": "The commit-hook setup in commitWithTransaction (and the inline OnCompleted callback) is hard to read and should be split into separate methods.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "batchTxStorage should use xsyn...
null
ydb-platform__ydb-go-sdk__1998
ydb-platform/ydb-go-sdk
1,998
defect
87aeb9029c8d949633c2ff62794909dea87b8b98
351769bc64403ca36e3254368e126724ba7ce9c0
Add support for custom types
## Pull request type Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update (formatting, renaming) - [x] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the cu...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b4852d65..fef7087b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* Added support for custom types derived from primitive types in `database/sql` driver * Bumped `golang.org/x/net` from 0.35.0 to 0.38.0 ## v3.125.0 diff --git a/internal/bind/params.go ...
1
1
0
[{"id": "G0", "claim": "The error message in the reflect.Struct case says \"cannot parse %v as values of dict\" but should say \"as values of struct\" to match the context and the similar message in toValue.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ydb-platform__ydb-go-sdk__2013
ydb-platform/ydb-go-sdk
2,013
defect
71a8d106046b721097c89ad601c9ceaad347cf62
39fe6c7d4c10d7b755bf20d2baf8a57e97551a6f
fix: validate TxControl requires CommitTx when BeginTx is specified
- [x] Add validation logic to check if user-provided TxControl has CommitTx flag set - [x] Add error type for missing CommitTx flag (ErrTxControlWithoutCommit) - [x] Integrate validation in Exec, Query, QueryResultSet, and QueryRow methods (Client) - [x] Integrate validation in Exec, Query, QueryResultSet, and QueryRow...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fea54912..66ef97282 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Added check `CommitTx` flag in `query.TxControl` on `db.Query().{Exec,Query,QueryResultSet,QueryRow}` calls before execution + ## v3.125.2 * Added public named errors `query.{ErrNoRows,E...
4
3
2
[{"id": "G0", "claim": "The validation and integration tests should also cover Session methods (Exec, Query, QueryResultSet, QueryRow inside db.Query().Do), on both query.Client and session, including happy-path with CommitTx and error case without it.", "category": "testing", "verdict": "supported", "priority": "P1", ...
null
ydb-platform__ydb-go-sdk__2016
ydb-platform/ydb-go-sdk
2,016
defect
238a18d08d1e604ba18699ed3fad174a8f0556d8
24744a33fc9695460901f862aaff357bc1570029
feat: Added query.WithLazyTx option for per-operation lazy transactions
## Pull request type - [ ] Bugfix - [x] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior? `ydb.WithLazyTx(bool)` o...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bba54eaf..e4aea948d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v3.125.5 +* Added `query.WithLazyTx(bool)` option for `DoTx` calls to enable/disable lazy transactions per operation +* Added `ydb.WithLazyTxContext(ctx, bool)` to pass lazy transaction s...
3
3
1
[{"id": "G0", "claim": "In WithLazyTxFalseOverridesDriverLazyTx the call to scope.Driver(ydb.WithLazyTx(true)) reuses the cached \"default\" driver created without WithLazyTx, so the subtest never exercises the intended query.WithLazyTx(false)-overrides-driver-lazyTx scenario.", "category": "testing", "verdict": "suppo...
null
ydb-platform__ydb-go-sdk__2040
ydb-platform/ydb-go-sdk
2,040
defect
fb053361ef2e825cb97e45e85d31c3ad0667ff8c
446fd93a276722e71c6ecb507e828e3b5e927ec7
fix: pessimize YDB node connection on OVERLOADED CreateSession response
When a YDB node returns `OVERLOADED` on a `CreateSession` request, it has hit its session limit — not a transient load spike. The balancer should stop routing new session creation to that node, but previously only transport errors triggered pessimization. ## Changes - **`internal/conn/errors.go`** — Added `BanOnOpera...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fb19b57d6..49e8acd192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Pessimized connection to YDB node when `OVERLOADED` operation error is returned on `CreateSession` request, preventing the client-side balancer from selecting the overloaded node for fur...
8
5
1
[{"id": "G0", "claim": "The pull request needs a CHANGELOG.md entry following the repo rules (user-facing changes only, past-tense verbs, new entry at the top, no version number).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "unclear"}, {"id": "G1", "claim": "The new CHANGELOG bulle...
null
ydb-platform__ydb-go-sdk__2047
ydb-platform/ydb-go-sdk
2,047
defect
74bfe6ff3934e572b772f21eab2b7a891361cbe3
f7ea28ebfb03fb1247b9d29d03b6a4692e75165a
Added `pkg/xslices.Subtract` helper for subtract elements from source slice with order preservance
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update (f...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d7b9bd26..55b67bba3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Added `pkg/xslices.Subtract` helper for subtract elements from source slice with order preservance + ## v3.127.5 * Fixed a bug in `ydb.WithNumericArgs` where the `-- origin query with nu...
4
4
1
[{"id": "G0", "claim": "The CHANGELOG entry misspells \"preservation\" as \"preservance\" and should use the standard word.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The type constraint `cmp.Ordered` is more restrictive than necessary; `compa...
null
ydb-platform__ydb-go-sdk__2054
ydb-platform/ydb-go-sdk
2,054
defect
c06e6321e2a9933504faaad73673899f6c2e8870
cc3ec9e492ec4c429abb07e118200117e8ca83be
fix: use table processor for DSN query_mode table-backed modes
Set WithQueryService(false) when go_query_mode/query_mode selects data, scan, scheme, or scripting so the default query mode applies via the TABLE path. Updated DSN parse tests accordingly. CHANGELOG: document the fix. Made-with: Cursor <!--- Please provide a general summary of your changes in the title above --...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d73c1d576..12fe8f19f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Fixed `go_query_mode` / `query_mode` DSN parameters and `ydb.WithDefaultQueryMode` for table-backed modes (`data`, `scan`, `scheme`, `scripting`) to select the TABLE processor so the defau...
2
2
1
[{"id": "G0", "claim": "The `go_query_mode` default branch is inconsistently formatted and not gofmt'd — the `withConnectorOptions(` call is closed on the same line as `WithDefaultQueryMode` — and should be reformatted (gofmt) to match the `query_mode` branch style with each argument and the closing parens on their own...
null
ydb-platform__ydb-go-sdk__2068
ydb-platform/ydb-go-sdk
2,068
defect
4a6cd33d713ee7ec2f783d56083ba20dba0d75d3
da61b267c42c8f9b7f9c0384aa002b9d9093d228
feat(sqlx): support capturing YDB issues
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update (f...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a9eb6ccf2..ff4a8dd6da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Added opt-in callback support for surfacing YDB `QueryService` issues to `sqlx` callers. + ## v3.128.3 * Fixed panic and `unsupported type` error when passing a nil pointer to a `json....
3
2
1
[{"id": "G0", "claim": "Add a blank line after the new `Ydb_Issue` import so it is separated from the ydb-go-sdk import group (in internal/xsql/xquery/conn.go and sql.go).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Reorder assembleExecuteOpt...
null
ydb-platform__ydb-go-sdk__2071
ydb-platform/ydb-go-sdk
2,071
defect
3837d2fb7dc0d060e5782fd762ec34eead7637f2
c8be2ce72edd0b80c98b28ad8d224917e62a727f
Add context options for query stats collection in database/sql
## Summary - Added `ydb.WithStatsModeBasic`, `ydb.WithStatsModeFull`, `ydb.WithStatsModeProfile` context options for collecting query execution statistics via `database/sql` - Supports both query service (`xquery`) and table service (`xtable`) backends - For query service: stats mode and user callback are chained with...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 48ef475cb..1ecd00dd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Added `ydb.WithStatsModeBasic`, `ydb.WithStatsModeFull`, `ydb.WithStatsModeProfile` context options for collecting query statistics via `database/sql` + ## v3.129.0 * Added `config.WithB...
7
3
3
[{"id": "G0", "claim": "The stats callback taken from the context may be nil, and the execution paths (table conn/tx and query conn/tx, including the chained composition) invoke sm.Callback without a nil check, so a nil callback can panic; add nil guards at the call sites or enforce non-nil callbacks at the context-opt...
null
ydb-platform__ydb-go-sdk__2078
ydb-platform/ydb-go-sdk
2,078
defect
aa804b5feefccf0d40bc7b81d3fcd5dbc641852b
84eac8faec1506390f99664a194d6ac4ad7001cb
Add ReadSessionID getter to TopicListener
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code style update (f...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d05b17273..c1552ba6ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Add ReadSessionID getter to TopicListener + ## v3.133.0 * Added `ydb.WithIssuesHandler` context option for surfacing YDB `QueryService` issues to `database/sql` callers diff --git a/...
1
1
0
[{"id": "G0", "claim": "The CHANGELOG entry should follow AGENTS.md rules: use past tense (\"Added\") and wrap the API name in backticks, e.g. \"* Added `TopicListener.ReadSessionID()` getter\", instead of the current \"Add ReadSessionID getter to TopicListener\".", "category": "documentation", "verdict": "supported", ...
null
ydb-platform__ydb-go-sdk__2100
ydb-platform/ydb-go-sdk
2,100
defect
e7a76a6cc3335ce266a3fed80c63c4f5bfb03c29
05a59afd8aabaa022c186abd0a52efb0791276fb
fix(query): use executeCtx in newResult (fixes #2081)
## Summary Fixes flaky `TestBasicExampleQuery/ExecuteDataQuery` and incorrect non-retry behavior for idempotent queries when the session-scoped context is done while the gRPC stream is still open. ## Root cause - `execute` opens the stream with `executeCtx` (decoupled via `xcontext.ValueOnly` + `WithCancel`, with pare...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e3aca1af..88c83b629 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Fixed query `Execute`/`Query` sometimes returning `context.Canceled` instead of retrying on idempotent operations when the session was closed while the gRPC stream was still valid, by usin...
1
1
1
[{"id": "G0", "claim": "The pull request's changes have no tests; a regression test must be added that is red before the fix and green after it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ydb-platform__ydb-go-sdk__2101
ydb-platform/ydb-go-sdk
2,101
defect
e7a76a6cc3335ce266a3fed80c63c4f5bfb03c29
8204ff7c2f49a9533de7f761f4e9655396a9deeb
fix closing session from pool
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature - [ ] Code style update (f...
diff --git a/internal/pool/pool.go b/internal/pool/pool.go index f96637e50..fd75e08e5 100644 --- a/internal/pool/pool.go +++ b/internal/pool/pool.go @@ -370,6 +370,10 @@ func (p *Pool[PT, T]) closeItem(ctx context.Context, item PT, opts ...closeItemO } } + if options.wg != nil { + ctx = xcontext.ValueOnly(ctx) ...
2
2
2
[{"id": "G0", "claim": "The PR's change needs tests that are red before the fix and green after it, plus a CHANGELOG.md entry added at the top of the file describing the change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In the async-close path (opt...
null
ydb-platform__ydb-go-sdk__2102
ydb-platform/ydb-go-sdk
2,102
defect
e7a76a6cc3335ce266a3fed80c63c4f5bfb03c29
79b69e19c93c2440bee44015e3b97930437b813b
replaced check IsContextError to check stream context error
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature - [ ] Code style update (f...
diff --git a/internal/conn/grpc_client_stream.go b/internal/conn/grpc_client_stream.go index 615da2dd1..210fdd5b8 100644 --- a/internal/conn/grpc_client_stream.go +++ b/internal/conn/grpc_client_stream.go @@ -2,6 +2,7 @@ package conn import ( "context" + "fmt" "io" "github.com/ydb-platform/ydb-go-genproto/pr...
4
3
2
[{"id": "G0", "claim": "The PR's change should get tests that are red before the fix and green after it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A line describing the essence of the PR's changes should be added to the beginning of CHANGELOG.md wi...
null
ydb-platform__ydb-go-sdk__2105
ydb-platform/ydb-go-sdk
2,105
defect
d892a3989542f36cdb3d46b50b7497dfae4512a1
d9484a77f7177c1c3d8f2893b22f91848408603a
Fix: treat gRPC ResourceExhausted "message larger than max" as non-retryable
`transport/ResourceExhausted` with description "trying to send message larger than max" was classified as retryable (slow backoff), causing `query.DoTx`/`tx.Exec` to spin indefinitely on oversized payloads — the payload never shrinks, so every retry fails identically. ### Changes - **`internal/xerrors/transport.go`**...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c12a6689..e1e6d7058 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## v3.135.3 * Fixed gRPC stream operations (`CloseSend`, `SendMsg`, `RecvMsg`) to check the stream context directly instead of inspecting the error type, so errors from a cancelled stream a...
3
3
0
[{"id": "G0", "claim": "The new CHANGELOG.md entry should be moved above the `## v3.135.3` heading so it sits at the top of the file as an unreleased entry.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Append a `//nolint:lll` comment to the test...
null
ydb-platform__ydb-go-sdk__2144
ydb-platform/ydb-go-sdk
2,144
defect
237cd5dfe957dfa76ba8c83387ee72998dcd406c
f286ec664eddf2b6d28b72063ccc7d43b5f39283
Topic reconnect
<!--- Please provide a general summary of your changes in the title above --> ## Pull request type <!-- Please try to limit your pull request to one types, submit multiple pull requests if needed. --> Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature - [ ] Code style update (f...
diff --git a/internal/conn/grpc_client_stream.go b/internal/conn/grpc_client_stream.go index d4b942db9..3a95dff3d 100644 --- a/internal/conn/grpc_client_stream.go +++ b/internal/conn/grpc_client_stream.go @@ -2,7 +2,6 @@ package conn import ( "context" - "fmt" "io" "github.com/ydb-platform/ydb-go-genproto/pr...
6
4
2
[{"id": "G0", "claim": "grpc.CANCELLED is only conditionally retryable, so the new Canceled test's require.True(t, check.MustRetry(false)) should be require.False(t, check.MustRetry(false)).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Only the te...
null
ydb-platform__ydb-go-sdk__2150
ydb-platform/ydb-go-sdk
2,150
defect
0cc9711ac48fd7bdda4fac0ecc8dd2b10f0ef4f6
8d995deb2dec7e55d78d2f8e1bda9cd968099059
perf: prefetch N parts of QueryClient response stream for decrease query latency
This PR introduces an asynchronous prefetch wrapper for QueryService.ExecuteQuery response streams to overlap gRPC Recv() with client-side processing, aiming to reduce per-query overhead in database/sql QueryService benchmarks (Issue https://github.com/ydb-platform/ydb-go-sdk/issues/2137). Two implementations of pre...
diff --git a/internal/query/execute_query.go b/internal/query/execute_query.go index f3f5d7386..6b3210f25 100644 --- a/internal/query/execute_query.go +++ b/internal/query/execute_query.go @@ -36,6 +36,9 @@ type executeSettings interface { ConcurrentResultSets() bool UserProvidedTxControl() bool IssuesOpts() func...
4
3
2
[{"id": "G0", "claim": "prefetchExecuteQueryStream.pump() can block forever on the unconditional `p.ch <- ...` send if the consumer stops draining the stream, leaking the pump goroutine and keeping the underlying stream alive; the send should be abortable by selecting on the stream context (or an explicit done channel)...
null
ydb-platform__ydb-go-sdk__2154
ydb-platform/ydb-go-sdk
2,154
defect
8147e307b64827c5fc9ba8f83e07cd0bd7310f7f
7796df3eeec3eee1231be89d68b833614d822ca6
LOGBROKER-10206 Pass tx to incoming messages
## Pull request type Please check the type of change your PR introduces: - [ ] Bugfix ## What is the current behavior? No transaction is passed to incoming messages to transactional writer Issue Number: N/A ## What is the new behavior? Now we pass tx object to each incoming message ## Other info...
diff --git a/CHANGELOG.md b/CHANGELOG.md index fdfab24a9..6b767f928 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +* Fixed `MultiWriterWithTransaction.Write` to materialize lazy query transactions via `tx.UnLazy` before writing (same as single-partition transactional writer) +* Fixed `MultiWriterWithTran...
2
2
0
[{"id": "G0", "claim": "The writer.WaitInit(ctx) call added in TestTopicTransactionalMultiWriterWithLazyTx looks unnecessary and should be removed (reviewer asks why the wait was added at all).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A pause shou...
null
ydb-platform__ydb__33343
ydb-platform/ydb
33,343
defect
36b5d7b1d77147a4203529d83ad0cae7bdaa3220
c25dbfddd1cc5fb487e48749dc651536ad63bc68
LOGBROKER-10267 Add backup to s3 for shared consumers
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who re...
diff --git a/ydb/core/tx/schemeshard/schemeshard_import_flow_proposals.cpp b/ydb/core/tx/schemeshard/schemeshard_import_flow_proposals.cpp index 0c8006c18dbc3..3042134e54179 100644 --- a/ydb/core/tx/schemeshard/schemeshard_import_flow_proposals.cpp +++ b/ydb/core/tx/schemeshard/schemeshard_import_flow_proposals.cpp @@ ...
5
5
3
[{"id": "G0", "claim": "The consumer-conversion code added in this PR is copy-paste of pq_schema_actor.cpp logic; the common parts (including the already existing duplication) should be extracted into shared function(s) and reused, with the pre-existing copy-paste handled in a separate PR.", "category": "maintainabilit...
null
ydb-platform__ydb__33362
ydb-platform/ydb
33,362
defect
098c03fe9f62948b09c01798d87a5b20ae2ebfbd
f0ee03545e08f7d7dfc50565f160a202c189bd01
PDisk encryption on/off on the fly #32754
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * New feature ### Description for reviewers <!-- (optional) description for those who read this PR --> ...
diff --git a/ydb/core/blobstorage/backpressure/queue_backpressure_client_ut.cpp b/ydb/core/blobstorage/backpressure/queue_backpressure_client_ut.cpp index 9f90a6e4903bf..a352a9393e61e 100644 --- a/ydb/core/blobstorage/backpressure/queue_backpressure_client_ut.cpp +++ b/ydb/core/blobstorage/backpressure/queue_backpressu...
6
2
0
[{"id": "G0", "claim": "The new identifier 'enableFormatAndMeatadaEncryption' misspells 'Metadata' as 'Meatada' and should be corrected to 'enableFormatAndMetadataEncryption' at all seven declaration and use sites.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
ydb-platform__ydb__34193
ydb-platform/ydb
34,193
defect
db59fb6bde3471214e67795aa456e01e4114a7c8
7c243568ac1bcee5897f3798a34954a5095c37a2
EXT-1889 S3 client metrics
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who re...
diff --git a/ydb/core/blob_depot/agent/s3.cpp b/ydb/core/blob_depot/agent/s3.cpp index 3de45d443f68b..068b321560e93 100644 --- a/ydb/core/blob_depot/agent/s3.cpp +++ b/ydb/core/blob_depot/agent/s3.cpp @@ -10,7 +10,7 @@ namespace NKikimr::NBlobDepot { void TBlobDepotAgent::InitS3(const TString& name) { if ...
7
6
1
[{"id": "G0", "claim": "Creating a new ExplicitHistogram object on every call to IncrementCounters is inefficient; the latency histogram should be created once (member or cached) and reused across requests.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
ydb-platform__ydb__34484
ydb-platform/ydb
34,484
defect
4bbf4ee5d3847131017c30d088638c2bd351e046
0358bf809e47dc667b6aa02dda1a4ab982da455c
[NBS-6956]: improved tracing, load actor stats
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who re...
diff --git a/ydb/core/grpc_services/rpc_nbs.cpp b/ydb/core/grpc_services/rpc_nbs.cpp index 78e21b06dd95e..b1bd4f4866b3d 100644 --- a/ydb/core/grpc_services/rpc_nbs.cpp +++ b/ydb/core/grpc_services/rpc_nbs.cpp @@ -49,8 +49,8 @@ class TCreatePartitionRequest NYdb::NBS::NProto::TStorageConfig storageConfig; ...
8
2
0
[{"id": "G0", "claim": "The new span in HandleReadResult is named \"NbsPartition.WriteBlocks.HandleReadResult.Exec\" although the function handles read results, so the span name should use ReadBlocks to accurately reflect the traced operation.", "category": "correctness", "verdict": "supported", "priority": "P2", "scop...
null
ydb-platform__ydb__34549
ydb-platform/ydb
34,549
defect
7fca61c398c2613d36d8e04a5f9a58bb0ee671b8
134dba1593576889b6d61eac509d44fe65afff1d
NPB load tests
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who re...
diff --git a/ydb/core/blobstorage/ddisk/ddisk_actor.h b/ydb/core/blobstorage/ddisk/ddisk_actor.h index 72da3f5f6126..fdeaa2deef9e 100644 --- a/ydb/core/blobstorage/ddisk/ddisk_actor.h +++ b/ydb/core/blobstorage/ddisk/ddisk_actor.h @@ -410,7 +410,7 @@ namespace NKikimr::NDDisk { std::map<ui32, TRope> Da...
5
4
1
[{"id": "G0", "claim": "The actor's ActorActivityType() returns BS_LOAD_DDISK_WRITE (679), the type used by TDDiskWriterLoadTestActor, instead of the newly defined BS_LOAD_PERSISTENT_BUFFER_WRITE (682) that this actor should use.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
ydb-platform__ydb__34797
ydb-platform/ydb
34,797
defect
120b330e3361f89c60370be5993651359fa0f790
fd33310131a2cb6120190f345d761242a3deb5e8
YQ-5129 Send TEvNoSession on unknown session
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who read...
diff --git a/ydb/core/fq/libs/row_dispatcher/row_dispatcher.cpp b/ydb/core/fq/libs/row_dispatcher/row_dispatcher.cpp index bb8d55d71e251..b573ac81da437 100644 --- a/ydb/core/fq/libs/row_dispatcher/row_dispatcher.cpp +++ b/ydb/core/fq/libs/row_dispatcher/row_dispatcher.cpp @@ -993,7 +993,8 @@ void TRowDispatcher::Handle...
2
2
1
[{"id": "G0", "claim": "Handle(TEvNoSession) calls ReInit() but leaves the matching session entry in Sessions/ReadActorByEventQueueId, so if the coordinator later returns the same partition distribution the session won't be recreated and the read actor can stay stuck; the session (and its EventQueueId mapping) should b...
null
ydb-platform__ydb__34961
ydb-platform/ydb
34,961
defect
42398f01e554f61b61cc0ba6172646f70998ce6d
a2eaa1680f6a68968dc5bbaf14c363dda00d50e8
YQ-5142 fixed s3 files flush in block output
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> Fixed s3 files flush in block output (too many small files creation) ### Changelog category <!-- remove all except one --> * Bugfix ### Description for reviewers <!-- (optional) descrip...
diff --git a/ydb/library/yql/providers/s3/actors/yql_s3_write_actor.cpp b/ydb/library/yql/providers/s3/actors/yql_s3_write_actor.cpp index 33f71d424c575..cf1d669ba8027 100644 --- a/ydb/library/yql/providers/s3/actors/yql_s3_write_actor.cpp +++ b/ydb/library/yql/providers/s3/actors/yql_s3_write_actor.cpp @@ -846,7 +846,...
3
3
1
[{"id": "G0", "claim": "The nested `if (const bool finishFile = ...; ...)` construct is hard to read and the previous two-statement form was better.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The removed condition's use of `finished` was dro...
null
ydb-platform__ydb__34988
ydb-platform/ydb
34,988
defect
3b94d8e0b4c4cb849848d3a5764db2848f44ef05
0e3c5a2c0cab90d0b373c232ff3d9db917f4ac62
NPB io uring
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who re...
diff --git a/ydb/core/blobstorage/ddisk/ddisk_actor.cpp b/ydb/core/blobstorage/ddisk/ddisk_actor.cpp index 671086bcfaf3b..10973e3f5575e 100644 --- a/ydb/core/blobstorage/ddisk/ddisk_actor.cpp +++ b/ydb/core/blobstorage/ddisk/ddisk_actor.cpp @@ -130,6 +130,9 @@ namespace NKikimr::NDDisk { hFunc(TEvBatchEras...
5
3
0
[{"id": "G0", "claim": "Consider using TActor's simple Send method instead of manually building an IEventHandle (rewriting it for the interconnect session) and sending it via TActivationContext::Send in the new persistent-buffer part-completion handlers.", "category": "maintainability", "verdict": "supported", "priorit...
null
ydb-platform__ydb__35064
ydb-platform/ydb
35,064
defect
83a9513e53064fcd59ded91ad25b4204b271d0f3
b5afe70c23991b5a6513e5f9b8469f68401a9cef
Support multidevice tests in stress tool #34052
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who re...
diff --git a/ydb/tools/stress_tool/device_test_tool.cpp b/ydb/tools/stress_tool/device_test_tool.cpp index b5b508075f3bf..8f791edfec37c 100644 --- a/ydb/tools/stress_tool/device_test_tool.cpp +++ b/ydb/tools/stress_tool/device_test_tool.cpp @@ -2,6 +2,11 @@ #include <library/cpp/getopt/last_getopt.h> #include <util...
11
6
4
[{"id": "G0", "claim": "HandleBoot() now unconditionally calls LaunchTestOnAllDevices(), which reads TestProto.Get<DDisk|PersistentBuffer|PDisk>TestList(CurrentTest) without checking the list size, so a config with an empty test list causes an out-of-bounds protobuf access (UB / crash); add a guard for CurrentTest agai...
null
ydb-platform__ydb__35091
ydb-platform/ydb
35,091
defect
0df6819304bd85448225430ec32363d4d7a77299
1344afd20b7ad2bc6f2c5322508e253a05bf25f1
Fixed TSAN error in tests
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who re...
diff --git a/ydb/public/sdk/cpp/src/client/topic/ut/ut_utils/topic_sdk_test_setup.cpp b/ydb/public/sdk/cpp/src/client/topic/ut/ut_utils/topic_sdk_test_setup.cpp index 04e97ded30c9..6d198ae01c47 100644 --- a/ydb/public/sdk/cpp/src/client/topic/ut/ut_utils/topic_sdk_test_setup.cpp +++ b/ydb/public/sdk/cpp/src/client/topi...
5
3
2
[{"id": "G0", "claim": "driver.Stop(true) is called while TTopicClient (and any sessions) is still alive, so the PR should destroy the client first (e.g. inner scope) to keep shutdown ordering deterministic.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
ydb-platform__ydb__35426
ydb-platform/ydb
35,426
defect
120b330e3361f89c60370be5993651359fa0f790
83df1b8fcda37d8b24383d4253fb6a3fdf960b6f
Refactor ydbd cli
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> * Improved ydbd CLI structure improved `--help` output * Added the `-hh` option support for every ydbd command that allows to see all subcommands recursively ### Changelog category <!-- remov...
diff --git a/ydb/core/driver_lib/cli_utils/cli.h b/ydb/core/driver_lib/cli_utils/cli.h index a19476001be20..5d7c6d4723f18 100644 --- a/ydb/core/driver_lib/cli_utils/cli.h +++ b/ydb/core/driver_lib/cli_utils/cli.h @@ -30,6 +30,5 @@ namespace NDriverClient { void HideOptions(NLastGetopt::TOpts& opts, const TString& ...
6
5
4
[{"id": "G0", "claim": "MainRun() still calls the old lifecycle method names after this PR renamed KikimrStart/KikimrStop to Start/Stop, so it will fail to compile (or call the wrong API if the old methods still exist); update the calls to runner->Start() and runner->Stop(false).", "category": "correctness", "verdict":...
null
ydb-platform__ydb__35977
ydb-platform/ydb
35,977
defect
aa938ec2dbe22aedc2a3be568b22623470cfa23d
2ff1d2d9217449fda4254f499e1de461132db343
Use mutex-guarded deterministic random provider in testlib
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> Add mutex-guarded deterministic random provider to prevent dataraces on TMersenne in UT ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not req...
diff --git a/ydb/library/actors/testlib/test_runtime.cpp b/ydb/library/actors/testlib/test_runtime.cpp index 07e4a832feaa..dbd4c2f5877c 100644 --- a/ydb/library/actors/testlib/test_runtime.cpp +++ b/ydb/library/actors/testlib/test_runtime.cpp @@ -13,6 +13,7 @@ #include <ydb/library/actors/interconnect/interconnect_tcp...
4
4
3
[{"id": "G0", "claim": "The class derives from `TDeterministicRandomProvider`, which is defined only in a .cpp and not exposed in the public header, so this won't compile; implement `IRandomProvider` directly instead (e.g., wrap an inner `CreateDeterministicRandomProvider(seed)` instance guarded by a mutex).", "categor...
null
ydb-platform__ydb__36044
ydb-platform/ydb
36,044
defect
965d96f48a3320db1bf2f3896a28e20d9fa374aa
758ffc3008d05418a1841a6a7ef6e1ed0723c571
NPB add missing tablet generation
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who re...
diff --git a/ydb/core/blobstorage/ddisk/ddisk_actor.h b/ydb/core/blobstorage/ddisk/ddisk_actor.h index 6d7ef48c3755b..2679eb047108c 100644 --- a/ydb/core/blobstorage/ddisk/ddisk_actor.h +++ b/ydb/core/blobstorage/ddisk/ddisk_actor.h @@ -527,7 +527,7 @@ namespace NKikimr::NDDisk { std::map<ui64, TRecord> Re...
3
1
1
[{"id": "G0", "claim": "TEvListPersistentBuffer lists all persistent-buffer records for a TabletId across all generations (the loop only bounds on TabletId), which can break consumers that assume the request credentials scope the result set, so the server-side list implementation should filter by creds.Generation or pr...
null
ydb-platform__ydb__36045
ydb-platform/ydb
36,045
defect
9e64063a0513810d2ca042d191ba54714b974932
f5431637190e5dde2779d497f4fbc24e02a79483
Fix unknown server error when rows are delited by ttl
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> Change UNKNOWN_SERVER_ERROR to expected ILLEGAL_GENERATION when .metadata table info is deleted by TTL ### Changelog category <!-- remove all except one --> * Not for changelog (changelog e...
diff --git a/ydb/core/kafka_proxy/actors/kafka_balancer_actor.cpp b/ydb/core/kafka_proxy/actors/kafka_balancer_actor.cpp index 4beced30c97da..6d115ed83c5dc 100644 --- a/ydb/core/kafka_proxy/actors/kafka_balancer_actor.cpp +++ b/ydb/core/kafka_proxy/actors/kafka_balancer_actor.cpp @@ -879,10 +879,16 @@ void TKafkaBalanc...
4
4
1
[{"id": "G0", "claim": "The second groupStatus->Exists check in the HeartbeatStepUpdateHeartbeatDeadlines condition is redundant.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The guard assumes the group generation advanced by exactly one (+1);...
null
ydb-platform__ydb__36199
ydb-platform/ydb
36,199
defect
2d7ed040dd52a99cbfb6325fbd7e276f099f8afc
ac8ef1e90f827baf10941780d474c09060b12390
Fix kafka commit with generation main
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> Add generation Id check in Distributed commit helper within a transaction. ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ###...
diff --git a/ydb/core/kafka_proxy/actors/kafka_offset_commit_actor.cpp b/ydb/core/kafka_proxy/actors/kafka_offset_commit_actor.cpp index 7a4ad203bb826..f0570787e39da 100644 --- a/ydb/core/kafka_proxy/actors/kafka_offset_commit_actor.cpp +++ b/ydb/core/kafka_proxy/actors/kafka_offset_commit_actor.cpp @@ -134,10 +134,12 ...
10
9
6
[{"id": "G0", "claim": "The KQP session-creation failure path in TKafkaOffsetCommitActor should log the error (with its Issues) at ERROR level instead of silently sending the response.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The KQP query...
null
ydb-platform__ydb__36242
ydb-platform/ydb
36,242
defect
7519ed6345f2ddcb173462c71853c8dd9c78b7ed
0e3ab8376fa4e1a9249cac451eedc60a7216b738
Add DDisk read load actor #34052
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ... ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who re...
diff --git a/ydb/core/load_test/ddisk_write.cpp b/ydb/core/load_test/ddisk_load.cpp similarity index 87% rename from ydb/core/load_test/ddisk_write.cpp rename to ydb/core/load_test/ddisk_load.cpp index 880db6cc55181..dfb6dbc4e2951 100644 --- a/ydb/core/load_test/ddisk_write.cpp +++ b/ydb/core/load_test/ddisk_load.cpp @...
3
2
1
[{"id": "G0", "claim": "In the invalid-config path for read load (area InitType == INIT_NONE), the actor prints an error and returns without registering load actors or signaling completion, which can leave the stress tool waiting indefinitely; it should fail fast or emit a terminal result/error event.", "category": "co...
null
ydb-platform__ydb__36343
ydb-platform/ydb
36,343
defect
de0d867766ddee57008fcbda47427cbb8586f699
aed0420c4eaa8ef3d11177125bffe0a937f927d5
Add detailed seesion subscription info
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> Add a detailed subscriptions info in an interconnect session ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description...
diff --git a/ydb/core/driver_lib/run/kikimr_services_initializers.cpp b/ydb/core/driver_lib/run/kikimr_services_initializers.cpp index 2a18783af2df8..0c58dc2260ebd 100644 --- a/ydb/core/driver_lib/run/kikimr_services_initializers.cpp +++ b/ydb/core/driver_lib/run/kikimr_services_initializers.cpp @@ -565,6 +565,10 @@ st...
7
5
2
[{"id": "G0", "claim": "Wrapping a cross-node send into TEvForwardSubscribeSession creates the outer IEventHandle with flags=0 and no TraceId, dropping the channel bits, delivery-related flags (e.g. FlagTrackDelivery/FlagForwardOnNondelivery, so TEvUndelivered may stop arriving) and tracing on the hop to the interconne...
null
ydb-platform__ydb__36361
ydb-platform/ydb
36,361
defect
73dae3e4462cf8bdd036ae5c4bda0b09789a8568
838f84b012ed6234ddc6796d2d1b56e274e03310
Use sync SchemeCache request to get users hash init params
Occasionally login operations could fail since hash init params of user password haven't been updated at a dynamic node. To avoid this behavior: 1. Remove TStaticCredentialProvider; 2. Store users hash init params in SchemeCache; 3. Retrieve users hash init params from SchemeCache in auth actors with the sync flag.
diff --git a/ydb/core/driver_lib/run/run.cpp b/ydb/core/driver_lib/run/run.cpp index 6fb8118e4edd7..92e36ee5c5c91 100644 --- a/ydb/core/driver_lib/run/run.cpp +++ b/ydb/core/driver_lib/run/run.cpp @@ -84,7 +84,6 @@ #include <ydb/core/base/tablet_resolver.h> #include <ydb/core/security/login_page.h> -#include <ydb/c...
1
1
0
[{"id": "G0", "claim": "The virtual method name `ProceedAuthentication` is ungrammatical and should be renamed (e.g. to `ProceedWithAuthentication`, `ContinueAuthentication` or `ProcessAuthentication`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ydb-platform__ydb__36497
ydb-platform/ydb
36,497
defect
309be8ff55aa7bc4671039d4c4f65d79da2c27e4
8cfad1992e8977c1144da460ba32525037e8da90
Added METRICS_LEVEL to the public API CreateTable/AlterTable
### Changelog entry Added support for METRICS_LEVEL for the CreateTable/AlterTable requests in the public API and the C++ SDK ### Changelog category * New feature ### Description for reviewers * Added support for METRICS_LEVEL for the CreateTable/AlterTable requests in the public API * Added support for...
diff --git a/ydb/public/api/protos/ydb_table.proto b/ydb/public/api/protos/ydb_table.proto index 887535d4d51fe..162fb1eecd311 100644 --- a/ydb/public/api/protos/ydb_table.proto +++ b/ydb/public/api/protos/ydb_table.proto @@ -59,6 +59,11 @@ message GlobalIndexSettings { // Partitioning settings for the table that i...
13
10
2
[{"id": "G0", "claim": "The new TAlterTableSettings::TImpl member should be renamed from AlterMetricsSettings to AlterMetricsSettings_ to match the trailing-underscore naming used by the class's other members (e.g. AlterTtlSettings_).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "...
null
ydb-platform__ydb__36769
ydb-platform/ydb
36,769
defect
f06dfddaea5cfb778eea4211b65165caadea2517
437a5daa3ffed3893b5b5ccbd22cf197b77d1177
NBS-6778: write to handoff persistent buffers in case of timeout; add defaults to storage config
write to handoff persistent buffers in case of timeout; add defaults to storage config
diff --git a/ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp b/ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp index 78db1775255d8..1f94f1d3026eb 100644 --- a/ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp +++ b/ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp @@ -7,6 +7,8 @@ #include <ydb/core...
10
6
1
[{"id": "G0", "claim": "Extract the handoff-scheduling lambda out of TWriteRequestExecutor::Run() into a method and add debug logging to it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a dedicated method on IPartitionDirectService to sche...
null
ydb-platform__ydb__37914
ydb-platform/ydb
37,914
defect
beaba31593281486a3b022399e3c29973bba950e
29ef8d709025da948894a9b7c425575618270e0b
Add build info to sdk and cli
### Changelog entry <!-- a user-readable short description of the changes that goes to CHANGELOG.md and Release Notes --> ### Changelog category <!-- remove all except one --> * Not for changelog (changelog entry is not required) ### Description for reviewers <!-- (optional) description for those who read th...
diff --git a/ydb/apps/ydb/commands/ya.make b/ydb/apps/ydb/commands/ya.make index 9105862342f4a..1700a03c4bb54 100644 --- a/ydb/apps/ydb/commands/ya.make +++ b/ydb/apps/ydb/commands/ya.make @@ -7,6 +7,7 @@ SRCS( ) PEERDIR( + library/cpp/resource ydb/public/sdk/cpp/src/client/iam ydb/public/lib/ydb_cli/c...
6
5
1
[{"id": "G0", "claim": "The LengthLimit test as written generates a 506-byte string, which stays below the 512-byte limit, so the test likely does not throw and should use a longer segment (or a lower limit) to actually exercise the exception path.", "category": "testing", "verdict": "supported", "priority": "P1", "sco...
null
yearn__yearn-exporter__20
yearn/yearn-exporter
20
defect
8db9a7e1f852766507d18b7361f69ffaa71017fb
5de11ae0cd0468a0fe4e5d815b8b9a07726326c4
Historical data loads for all products
This replaces prometheus by victoria-metrics which will help us with historical data loads.
diff --git a/grafana/provisioning/datasources/datasources.yml b/grafana/provisioning/datasources/datasources.yml index 590a45597..8ccff9b64 100644 --- a/grafana/provisioning/datasources/datasources.yml +++ b/grafana/provisioning/datasources/datasources.yml @@ -5,7 +5,7 @@ datasources: type: 'prometheus' access: '...
3
3
2
[{"id": "G0", "claim": "The historical exporter should query VictoriaMetrics for one metric per timestamp so it can skip snapshots already exported and only fill the gaps, instead of unconditionally re-exporting every snapshot.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
yearn__yearn-exporter__284
yearn/yearn-exporter
284
defect
487ca00ecf2386ca0b66f1c9afced7ad5e39bc52
460528bee4b431d5f46a7338da5f8bdab0788328
[EXP-84-284] fix: more convex fixes
* Ensure strategies are in the correct order - curve first, then convex * Correct price calculation for `rKP3R` * Handle some strategies using `id` instead of `pid` * Handle some strategies using `localKeepCRV` rather than `KeepCRV`
diff --git a/yearn/apy/curve/simple.py b/yearn/apy/curve/simple.py index 0c79dd41c..719a7ee71 100644 --- a/yearn/apy/curve/simple.py +++ b/yearn/apy/curve/simple.py @@ -175,8 +175,20 @@ def simple(vault, samples: ApySamples) -> Apy: # if the vault has two strategies then the first is curve and the second is conv...
2
2
1
[{"id": "G0", "claim": "The `addresses[chain.id]` indexing will fail for networks other than Mainnet, so guard it before use.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Extract `addresses[chain.id]` into a variable so it can be used at line 334 ...
null
yegor256__cactoos__100
yegor256/cactoos
100
defect
43d3332dfb2f4827e7b486b93b4bb9fb1dac34a7
c9423fd1bb7de8ab49c50e2b32a4d5a92c66afc6
#90: StringAsUrl and UrlAsString
As per #90: - `StringAsUrl` introduced - `UrlAsString` introduced
diff --git a/src/main/java/org/cactoos/text/StringAsUrl.java b/src/main/java/org/cactoos/text/StringAsUrl.java new file mode 100644 index 000000000..dcaaaf39c --- /dev/null +++ b/src/main/java/org/cactoos/text/StringAsUrl.java @@ -0,0 +1,93 @@ +/** + * The MIT License (MIT) + * + * Copyright (c) 2017 Yegor Bugayenko + ...
2
2
1
[{"id": "G0", "claim": "Remove `throws Exception` from asValue() in StringAsUrl and UrlAsString and catch the exception inside the method instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request description should be formatted the way the...
null
yegor256__cactoos__1010
yegor256/cactoos
1,010
defect
247e34b1878784cc74674e421b44729c53dbfe74
dce7f330833fabdfd78ec372dcbf261a3da3e4b4
Removed nulls from Retry (#886)
Solving #886 puzzle. According to recommendations by ARC (#918 ([comment](https://github.com/yegor256/cactoos/pull/918#issuecomment-402320948))), I simply removed the constructors using null and taking a Proc. Tests were modified as needed.
diff --git a/src/main/java/org/cactoos/func/IoCheckedBiProc.java b/src/main/java/org/cactoos/func/IoCheckedBiProc.java index f65ef33144..46a2118125 100644 --- a/src/main/java/org/cactoos/func/IoCheckedBiProc.java +++ b/src/main/java/org/cactoos/func/IoCheckedBiProc.java @@ -35,6 +35,11 @@ * @param <X> Type of input ...
2
2
0
[{"id": "G0", "claim": "The issue number in the new @todo in IoCheckedBiProc should refer to the bug being solved (#886) rather than #861.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "RetryTest should use FuncApplies instead of EqualTo and Asser...
null
yegor256__cactoos__1012
yegor256/cactoos
1,012
defect
247e34b1878784cc74674e421b44729c53dbfe74
e1262fdba7d61c3d99fd6f2af756fa6da87393f3
#1006 Move LocalDateAsText functionality to TextOf ctors
As described in #1006. LocalDateAsText was removed and its functionality moved to new TextOf ctors. The same happened to tests.
diff --git a/src/main/java/org/cactoos/text/TextOf.java b/src/main/java/org/cactoos/text/TextOf.java index 972498243..3b08ec909 100644 --- a/src/main/java/org/cactoos/text/TextOf.java +++ b/src/main/java/org/cactoos/text/TextOf.java @@ -32,12 +32,19 @@ import java.nio.charset.Charset; import java.nio.charset.Standard...
2
2
1
[{"id": "G0", "claim": "The new TextOf(LocalDate, DateTimeFormatter) ctor should envelope its formatter result in a StickyScalar since both operands are immutable.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new TextOf date-formatting tests should...
null
yegor256__cactoos__1018
yegor256/cactoos
1,018
defect
de9031f0d59ec0f5405871c6080e445beacafde5
8c40dedaf427a6f6699d9a76a0d43c3edae50dad
#1017 Making NoNulls API consistent
As described in #1017. - CollectionNoNulls is now NoNulls, the same holds true for test - IteratorNoNulls is now NoNulls, the same holds true for test
diff --git a/src/main/java/org/cactoos/collection/CollectionNoNulls.java b/src/main/java/org/cactoos/collection/NoNulls.java similarity index 85% rename from src/main/java/org/cactoos/collection/CollectionNoNulls.java rename to src/main/java/org/cactoos/collection/NoNulls.java index df2a1a16d..4ac612de1 100644 --- a/sr...
1
1
0
[{"id": "G0", "claim": "The pull request should add tests to increase coverage by the 0.01% that the Codecov report says is missing.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
yegor256__cactoos__1021
yegor256/cactoos
1,021
defect
de9031f0d59ec0f5405871c6080e445beacafde5
998ca1fac1c783af8fdce4b06c9854467fa11251
#939 AppendTo for appending content to files
As described in #939, new class AppendTo which implements Output was created. It encapsulates a File and returns an output with guarantee that new content will be appended to existing one. If file does not exist it throws exception. .
diff --git a/src/main/java/org/cactoos/io/AppendTo.java b/src/main/java/org/cactoos/io/AppendTo.java new file mode 100644 index 000000000..999fa5193 --- /dev/null +++ b/src/main/java/org/cactoos/io/AppendTo.java @@ -0,0 +1,79 @@ +/* + * The MIT License (MIT) + * + * Copyright (c) 2017-2018 Yegor Bugayenko + * + * Permi...
7
7
0
[{"id": "G0", "claim": "Use a constructor parameter name different from the attribute name in AppendTo's File constructor.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the ExpectedException rule and check exceptions with the alternative...
null
yegor256__cactoos__1026
yegor256/cactoos
1,026
defect
36c467af1dffb08d90d586461d5e835fdf531dbb
bd18eb825b6d46db18694476424ae2a03d723e60
#1005 Rename Text implementations
As described in #1005 . A few classes with tests in text package were renamed and puzzle was updated to continue.
diff --git a/src/main/java/org/cactoos/text/LowerText.java b/src/main/java/org/cactoos/text/Lower.java similarity index 89% rename from src/main/java/org/cactoos/text/LowerText.java rename to src/main/java/org/cactoos/text/Lower.java index 5c991229c4..d5ce6392e8 100644 --- a/src/main/java/org/cactoos/text/LowerText.jav...
9
7
2
[{"id": "G0", "claim": "The javadoc for the lang parameter of Lower's two-argument constructor should be improved beyond the vague \"@param lang Locale\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "These text tests (LowerTest, RandomTest, Re...
null
yegor256__cactoos__1032
yegor256/cactoos
1,032
defect
0a88360020aec47168c9bc8ef4a6667ab97005f8
67632d6cfffbbcbdc77c315c60215294c1dd708b
(#971) Paged iterable
For #971: * New ctor for `IterableOf` that allows pagination * Puzzle for implementing equals() and hashCode() on `IterableEnvelope` in order to simplify a test
diff --git a/src/main/java/org/cactoos/iterable/IterableOf.java b/src/main/java/org/cactoos/iterable/IterableOf.java index 886ad3d0c0..5afd0a6286 100644 --- a/src/main/java/org/cactoos/iterable/IterableOf.java +++ b/src/main/java/org/cactoos/iterable/IterableOf.java @@ -25,8 +25,12 @@ import java.util.Iterator; imp...
4
3
0
[{"id": "G0", "claim": "Put `() -> new Iterator<X>() ...` on a new line in the new paged constructor of IterableOf, because otherwise it will fail in findbugs when findbugs is enabled.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use `Assertio...
null
yegor256__cactoos__1038
yegor256/cactoos
1,038
defect
de9031f0d59ec0f5405871c6080e445beacafde5
50b77c637ec5f97a27eef05533f6349bbd7ec584
(#1035) org.cactoos.io.Joined: add a Ctor of Iterable<Input>
This PR: Regarding #1035 creates a constructor and adds a unit test for that
diff --git a/src/main/java/org/cactoos/io/Joined.java b/src/main/java/org/cactoos/io/Joined.java index 0be8c374d..1cd13cd8c 100644 --- a/src/main/java/org/cactoos/io/Joined.java +++ b/src/main/java/org/cactoos/io/Joined.java @@ -40,15 +40,25 @@ public final class Joined implements Input { */ private final It...
6
4
0
[{"id": "G0", "claim": "The javadoc \"@param rest The rest\" should be changed to a better description.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The new test's assertion message should say \"Can't\" instead of \"Cannot\", as that wording i...
null
yegor256__cactoos__1049
yegor256/cactoos
1,049
defect
6b4a6b9a2b0eeb8b7ab7e9c0e7d1e57bfda91784
05faf1d96920112fb402e7b62d340b8877bb0f98
#1022 TempFolder
As described in #1022. New class for creating temporary directories was created. It is very similar to TempFile, but it can create directories only.
diff --git a/src/main/java/org/cactoos/io/TempFolder.java b/src/main/java/org/cactoos/io/TempFolder.java new file mode 100644 index 000000000..2c826259e --- /dev/null +++ b/src/main/java/org/cactoos/io/TempFolder.java @@ -0,0 +1,91 @@ +/* + * The MIT License (MIT) + * + * Copyright (c) 2017-2018 Yegor Bugayenko + * + *...
2
2
2
[{"id": "G0", "claim": "A new secondary constructor should be added that creates a TempFolder with a random name by default, starting with the 'tmp' prefix plus 5 random chars (name should not exceed 8 chars).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
yegor256__cactoos__1054
yegor256/cactoos
1,054
defect
6b4a6b9a2b0eeb8b7ab7e9c0e7d1e57bfda91784
8e1b46e4cc26548d416c0f0c10366c6a66304103
(#825) Binary
This PR is for #825 issue. It covers: - new Binary class - unit tests for Binary class
diff --git a/src/main/java/org/cactoos/scalar/Binary.java b/src/main/java/org/cactoos/scalar/Binary.java new file mode 100644 index 0000000000..59d3064d42 --- /dev/null +++ b/src/main/java/org/cactoos/scalar/Binary.java @@ -0,0 +1,92 @@ +/* + * The MIT License (MIT) + * + * Copyright (c) 2017-2018 Yegor Bugayenko + * +...
9
8
1
[{"id": "G0", "claim": "The new class javadoc reads \"Binary operation.\" with more than one whitespace, which should be fixed.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The @since tag of Binary should say 1.0 instead of 0.9.", "category": "...
null
yegor256__cactoos__1078
yegor256/cactoos
1,078
defect
bbe889bbe1f729b2a82192ae5f20152979eff592
a10b93cc728d7b3f12f7c186e7393a6cd33188ba
(#901) Null-free ListIterator in list.NoNulls
This if for #901. This introduces a `ListIteratorNoNulls` that is immutable (via delegation to `ListIteratorOf`) and does not tolerate nulls. Note that I reused most of the code from #1071 but simplified it in some places, not sure why the PR was closed...
diff --git a/src/main/java/org/cactoos/list/ListIteratorNoNulls.java b/src/main/java/org/cactoos/list/ListIteratorNoNulls.java new file mode 100644 index 0000000000..a97e38c438 --- /dev/null +++ b/src/main/java/org/cactoos/list/ListIteratorNoNulls.java @@ -0,0 +1,106 @@ +/* + * The MIT License (MIT) + * + * Copyright (...
1
1
0
[{"id": "G0", "claim": "Replace the JUnit ExpectedException-style assertions (this.exception.expect/expectMessage) in the new NoNullsTest list-iterator tests with Throws from cactoos-matchers.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
yegor256__cactoos__1079
yegor256/cactoos
1,079
defect
cac5136b9673fe74063cb69c83f0643b6cfd0ef2
7d6c802f9f0f1798e8e9cbf2cf53c6d4a03f67d5
(#909) Add possibility to let Retry wait between attempts
PR for the issue #909 - added [Duration](https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html) - added Thread.sleep to wait between executions Many thanks for your contribution, we truly appreciate it. We will appreciate it even more, if you make sure that you can say "YES" to each point in this shor...
diff --git a/src/main/java/org/cactoos/func/Retry.java b/src/main/java/org/cactoos/func/Retry.java index 16a7bbf5f8..9f586b0364 100644 --- a/src/main/java/org/cactoos/func/Retry.java +++ b/src/main/java/org/cactoos/func/Retry.java @@ -23,6 +23,7 @@ */ package org.cactoos.func; +import java.time.Duration; import o...
8
8
1
[{"id": "G0", "claim": "The javadoc of the new wait parameters in the scalar Retry ctors reads 'The executions of the function' and should be improved to describe the Duration.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc of the wait...
null
yegor256__cactoos__108
yegor256/cactoos
108
defect
e3ad5a8ae0eea296cbc53ff47149c7ee46b56764
d20f319bc13b3ccf3682fb2704ed83e695226ae0
First or default
First element in iterable with fallback value if iterable is empty.
diff --git a/src/main/java/org/cactoos/list/FirstOf.java b/src/main/java/org/cactoos/list/FirstOf.java index 597a9048f..b567fa2c6 100644 --- a/src/main/java/org/cactoos/list/FirstOf.java +++ b/src/main/java/org/cactoos/list/FirstOf.java @@ -28,7 +28,9 @@ import org.cactoos.Scalar; /** - * First element in {@link It...
2
2
2
[{"id": "G0", "claim": "Add an optional fallback parameter to `FirstOf` (like `FuncWithFallback`) instead of having two classes, `FirstOf` and `FirstOrDefault`, doing very similar things.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use `Func<Iterable<...
null
yegor256__cactoos__1087
yegor256/cactoos
1,087
defect
7e57623842b710483cbefc3d59b984c86d712b67
82bf3970750b33c91e9f6708682047fca753df97
(#917) Improve performances of CollectionEnvelope equals
This is for #917, there is not much in it, I also added a test which, even if not really needed in relation to the change, is not useless :)
diff --git a/src/main/java/org/cactoos/collection/CollectionEnvelope.java b/src/main/java/org/cactoos/collection/CollectionEnvelope.java index fb8b7507bd..b03915a8ec 100644 --- a/src/main/java/org/cactoos/collection/CollectionEnvelope.java +++ b/src/main/java/org/cactoos/collection/CollectionEnvelope.java @@ -29,6 +29,...
1
1
0
[{"id": "G0", "claim": "The new equalToItself test should use the project's `Assertion` instead of `MatcherAssert.assertThat`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
yegor256__cactoos__1091
yegor256/cactoos
1,091
defect
fc1cbb20b6fea317c4919a8e2b9d46b788685507
4d90e8f0b2893cad584a03b4a3a378e37d09f935
(#826) Envelopes for Scalar and Func
For #826. Nothing special here, I added some very basic tests too.
diff --git a/src/main/java/org/cactoos/func/FuncEnvelope.java b/src/main/java/org/cactoos/func/FuncEnvelope.java new file mode 100644 index 0000000000..78c6110ee8 --- /dev/null +++ b/src/main/java/org/cactoos/func/FuncEnvelope.java @@ -0,0 +1,56 @@ +/* + * The MIT License (MIT) + * + * Copyright (c) 2017-2018 Yegor Bug...
1
1
0
[{"id": "G0", "claim": "The field javadoc in the new envelope classes should say 'The delegate function' (FuncEnvelope) and 'The delegate scalar' (ScalarEnvelope) instead of 'The function'/'The scalar'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
yegor256__cactoos__1093
yegor256/cactoos
1,093
defect
7fbf1ba938dc1e66cda7085831ac12ec34647331
c08f42da47fc9749311f2caf796ef3a8ff96a321
(#949) DateOf now parses also date without time
This is for #949. Added a test for the issue and implemented a solution based on https://stackoverflow.com/a/39685202/9046139
diff --git a/src/main/java/org/cactoos/time/DateOf.java b/src/main/java/org/cactoos/time/DateOf.java index f5af5e7e98..dcf08247f3 100644 --- a/src/main/java/org/cactoos/time/DateOf.java +++ b/src/main/java/org/cactoos/time/DateOf.java @@ -26,6 +26,8 @@ import java.time.LocalDateTime; import java.time.ZoneOffset; imp...
1
1
0
[{"id": "G0", "claim": "The assertion descriptions in DateOfTest should use a positive clause stating the intent (modal verb like \"must\") instead of the copy-pasted negative \"Can't parse a Date with custom format.\" stub.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
yegor256__cactoos__1096
yegor256/cactoos
1,096
defect
a760506ac6347771787f68608abef5734fbec2e9
f428eafa2583edb57a99b770dbecdd0755c38900
(#996) Make ListEnvelope public and consolidate API
This is for #996: - made `ListEnvelope` public and clarified doc on its behaviour - Ensured `subList` was returning a `List` with the same behaviour (note that it means sublist is now called lazily) - Added some tests for this - Prevented overriding of `toString` and simplified `Mapped` as a result
diff --git a/src/main/java/org/cactoos/list/ListEnvelope.java b/src/main/java/org/cactoos/list/ListEnvelope.java index fb43810393..e7f37679a1 100644 --- a/src/main/java/org/cactoos/list/ListEnvelope.java +++ b/src/main/java/org/cactoos/list/ListEnvelope.java @@ -31,7 +31,7 @@ import org.cactoos.scalar.Unchecked; /*...
4
4
0
[{"id": "G0", "claim": "The toString() override should be removed from ListEnvelope entirely, since it could be made final in the parent abstract class and both classes decorate the same List object anyway.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
yegor256__cactoos__1097
yegor256/cactoos
1,097
defect
dc9c4b4f7c995fa7d328a130ea3e8611f589bb59
a9b32354387ccce49c440a788fd10205ab6b28e2
(#1040) Remove null from CallableOf constructor
This is for #1040. I had to rework `CallableOf` implementation to avoid the need for `null` and remove the constructor that was using it. Now a `Proc` or a `Func` must always be accompanied by an input to be transformed into a `Callable`.
diff --git a/src/main/java/org/cactoos/func/CallableOf.java b/src/main/java/org/cactoos/func/CallableOf.java index 27625fa2ac..755847debe 100644 --- a/src/main/java/org/cactoos/func/CallableOf.java +++ b/src/main/java/org/cactoos/func/CallableOf.java @@ -43,21 +43,13 @@ * @param <X> Type of input * @param <T> Type ...
1
1
0
[{"id": "G0", "claim": "The rewritten CallableOf constructors should carry a correct, consistent `@since` tag (0.41) in their javadoc: the signature-changed constructor's stale `@since 0.32` should be updated and the tags missing from the other changed constructors added, for consistency with the other constructors.", ...
null
yegor256__cactoos__1107
yegor256/cactoos
1,107
defect
dc9c4b4f7c995fa7d328a130ea3e8611f589bb59
7b026c2972b093ab8a1b6a5429968cf74c89f377
(#1062) IoCheckedBiProc.java:38-42: Avoid usage of null value in...
This is for #1062 I replaced usage of IoCheckedBiFunc with CheckedBiProc and added missing tests
diff --git a/src/main/java/org/cactoos/func/IoCheckedBiProc.java b/src/main/java/org/cactoos/func/IoCheckedBiProc.java index e78fa8512..15fa9b486 100644 --- a/src/main/java/org/cactoos/func/IoCheckedBiProc.java +++ b/src/main/java/org/cactoos/func/IoCheckedBiProc.java @@ -35,11 +35,6 @@ * @param <X> Type of input *...
2
2
1
[{"id": "G0", "claim": "Use `Assertion` and `Throws` to test for exceptions being thrown in IoCheckedBiProcTest instead of `@Test(expected = ...)`.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Also add a test for the nominal behaviour of IoCheckedBiPr...
null
yegor256__cactoos__1122
yegor256/cactoos
1,122
defect
56f96db6ec9b78a7843f7fea7356b1906d396cc2
b271c93e13caa2f0130755b1a24d7ee1e503b475
(#1084) Merged/Joined - allows to merge/join several java.util.Properties
This is for #1084 I added Merged extends MapEnvelope implementation and tests for it
diff --git a/src/main/java/org/cactoos/map/Merged.java b/src/main/java/org/cactoos/map/Merged.java new file mode 100644 index 0000000000..95ad45449c --- /dev/null +++ b/src/main/java/org/cactoos/map/Merged.java @@ -0,0 +1,53 @@ +/* + * The MIT License (MIT) + * + * Copyright (c) 2017-2018 Yegor Bugayenko + * + * Permis...
2
2
2
[{"id": "G0", "claim": "The tests in MergedTest.java build Assertion objects without calling affirm(), so the tests do not actually test anything.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Please add a couple of edge test cases for Merged involving...
null
yegor256__cactoos__1125
yegor256/cactoos
1,125
defect
7d2366be99f8d93eecfca2941ac23d4337dc224e
79003b69bd2539515fd830b9bdc93a70965001a6
(#1095) ItemAt always takes the iterable/iterator last
This is for #1095, it always put the iterable/iterator last in the constructor While doing so I: - removed duplicate constructors - added extra constructors for simpler fallback and position - removed constructors taking `Iterator` since I am also assigned #1104 (it's less work to do so than doing both separated,...
diff --git a/src/main/java/org/cactoos/scalar/ItemAt.java b/src/main/java/org/cactoos/scalar/ItemAt.java index 5ca4224f3d..a675e7b053 100644 --- a/src/main/java/org/cactoos/scalar/ItemAt.java +++ b/src/main/java/org/cactoos/scalar/ItemAt.java @@ -27,6 +27,7 @@ import java.util.Iterator; import org.cactoos.Func; impo...
4
3
0
[{"id": "G0", "claim": "The ItemAt constructors that take an iterator — ItemAt(position, fallback, iterator) and ItemAt(fallback, iterator) — need to be covered by a unit test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The unnecessary `throws Exc...
null