-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luacov problem with load() #249
Labels
code health
Improve code readability, simplify maintenance and so on
good first issue
Good for newcomers
Comments
Totktonada
added
teamE
code health
Improve code readability, simplify maintenance and so on
labels
Dec 10, 2021
DifferentialOrange
added a commit
that referenced
this issue
Mar 24, 2023
Now we load flatten functions for spaces with `@flatten` source. Source starting with @ assumes that it describes the file name, yet here it isn't. Then luacov fails to find "flatten" file on coverage info build. When we do not specify source explicitly, the whole string becames the source. It will not confuse luacov anymore, and it's more helpful for debug. 1. https://www.lua.org/manual/5.2/manual.html#pdf-load Closes #249
DifferentialOrange
added a commit
that referenced
this issue
Mar 24, 2023
Now we load flatten functions for spaces with `@flatten` source. Source starting with @ assumes that it describes the file name, yet here it isn't. Then luacov fails to find "flatten" file on coverage info build. When we do not specify source explicitly, the whole string becames the source. It will not confuse luacov anymore (it just ignores them), and it's more helpful for debug. 1. https://www.lua.org/manual/5.2/manual.html#pdf-load Closes #249
DifferentialOrange
added a commit
that referenced
this issue
Mar 24, 2023
Now we load flatten functions for spaces with `@flatten` source. Source starting with @ assumes that it describes the file name, yet here it isn't. Then luacov fails to find "flatten" file on coverage info build. When we do not specify source explicitly, the whole string becames the source. It will not confuse luacov anymore (it just ignores them), and it's more helpful for debug. 1. https://www.lua.org/manual/5.2/manual.html#pdf-load Closes #249
1 task
DifferentialOrange
added a commit
that referenced
this issue
Mar 24, 2023
Now we load flatten functions for spaces with `@flatten` source. Source starting with @ assumes that it describes the file name, yet here it isn't. Then luacov fails to find "flatten" file on coverage info build. When we do not specify source explicitly, the whole string became the source. It will not confuse luacov anymore (it just ignores them), and it's more helpful for debug. 1. https://www.lua.org/manual/5.2/manual.html#pdf-load Closes #249
DifferentialOrange
added a commit
that referenced
this issue
Mar 24, 2023
Now we load flatten functions for spaces with `@flatten` source. Source starting with @ assumes that it describes the file name, yet here it isn't. Then luacov fails to find "flatten" file on coverage info build. When we do not specify source explicitly, the whole string became the source. It will not confuse luacov anymore (it just ignores them), and it's more helpful for debug. 1. https://www.lua.org/manual/5.2/manual.html#pdf-load Closes #249
DifferentialOrange
added a commit
that referenced
this issue
Mar 24, 2023
Overview This release fixes a critical bug that resulted in 100% storage CPU load and fixes a couple of issues related to the development pipeline. Changes * Rename `DEV` environment variable to `TARANTOOL_CRUD_ENABLE_INTERNAL_CHECKS` (#250). Bugfixes * Yield on select/pairs storage tuple lookup (#312). * Fix loaded functions misleading coverage (#249).
Merged
DifferentialOrange
added a commit
that referenced
this issue
Mar 24, 2023
Overview This release fixes a critical bug that resulted in 100% storage CPU load and fixes a couple of issues related to the development pipeline. Changes * Rename `DEV` environment variable to `TARANTOOL_CRUD_ENABLE_INTERNAL_CHECKS` (#250). Bugfixes * Yield on select/pairs storage tuple lookup (#312). * Fix loaded functions misleading coverage (#249).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
code health
Improve code readability, simplify maintenance and so on
good first issue
Good for newcomers
It seems, the following code confuses luacov:
crud/crud/common/utils.lua
Line 116 in 5e8c91e
See tarantool/luatest#190 for details.
The text was updated successfully, but these errors were encountered: