<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp/yt/error, branch CLI_2.27.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.27.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.27.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-08-08T12:56:08Z</updated>
<entry>
<title>fix coverity issue</title>
<updated>2025-08-08T12:56:08Z</updated>
<author>
<name>uzhas</name>
<email>uzhas@yandex-team.com</email>
</author>
<published>2025-08-08T12:10:20Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=a9a64643aae00fd89fca5a63b5bdc4fc1cf5b523'/>
<id>urn:sha1:a9a64643aae00fd89fca5a63b5bdc4fc1cf5b523</id>
<content type='text'>
commit_hash:55fb7d7ce65181dcdcb238245c19a18f2bd3cf25
</content>
</entry>
<entry>
<title>YT-18571: Fix missing semicolon</title>
<updated>2025-07-21T19:36:34Z</updated>
<author>
<name>h0pless</name>
<email>h0pless@yandex-team.com</email>
</author>
<published>2025-07-21T19:18:07Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2b154aeb332987b0f068a470f486fe8350f99ae0'/>
<id>urn:sha1:2b154aeb332987b0f068a470f486fe8350f99ae0</id>
<content type='text'>
commit_hash:2d892bf3d9b67134ec8e9d461159ec4bbf0930b5
</content>
</entry>
<entry>
<title>YT: Fix enricher, add from backtrace enricher</title>
<updated>2025-05-06T08:37:45Z</updated>
<author>
<name>pechatnov</name>
<email>pechatnov@yandex-team.com</email>
</author>
<published>2025-05-06T08:09:14Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=fa10d601265343a64d9d5b7b32eb133010b24127'/>
<id>urn:sha1:fa10d601265343a64d9d5b7b32eb133010b24127</id>
<content type='text'>
From backtrace enricher можно использовать для захвата бектрейсов при создании ошибок из исключений, а так же для перекладывания атрибутов из сложных исключений других библиотек.
commit_hash:76711bd3bb7dbc1e41e43f80d43340d2ce8e4df7
</content>
</entry>
<entry>
<title>Add new macro to replace some of the YT_VERIFYs</title>
<updated>2025-04-23T11:58:02Z</updated>
<author>
<name>h0pless</name>
<email>h0pless@yandex-team.com</email>
</author>
<published>2025-04-23T11:34:57Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=f3f3e173acccdd58c3b3932acaf9319f0511531f'/>
<id>urn:sha1:f3f3e173acccdd58c3b3932acaf9319f0511531f</id>
<content type='text'>
commit_hash:f4f2e8b9ba31109593c94251f64e1061f00af304
</content>
</entry>
<entry>
<title>YT: Add type name of std::exception to error text in TError constructor</title>
<updated>2025-04-01T12:13:05Z</updated>
<author>
<name>pechatnov</name>
<email>pechatnov@yandex-team.com</email>
</author>
<published>2025-04-01T11:51:45Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=15459267fcda53b29241b23b6fe98b1134986b53'/>
<id>urn:sha1:15459267fcda53b29241b23b6fe98b1134986b53</id>
<content type='text'>
Без этого, исключение о выходе за пределы массива в векторе выглядит так:

```
vector
    origin           (pid 178121, thread library-cpp-yt-)
    datetime        2025-03-31T14:59:49.069209Z
```

С фиксом:
```
vector
    origin           (pid 178121, thread library-cpp-yt-)
    datetime        2025-03-31T14:59:49.069209Z
    exception_type  std::out_of_range
```
commit_hash:7382eba16208f6847d581b901a7df4dfa39452b0
</content>
</entry>
<entry>
<title>YTORM-1292 Error enrichment via dependency injection</title>
<updated>2025-02-28T12:57:40Z</updated>
<author>
<name>deep</name>
<email>deep@yandex-team.com</email>
</author>
<published>2025-02-28T11:48:56Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=680ad352dc598780b4945d5420f8168c1665dad2'/>
<id>urn:sha1:680ad352dc598780b4945d5420f8168c1665dad2</id>
<content type='text'>
Идея такая: хочу подкладывать атрибуты в ошибки, не протаскивая их через стек (как в orm/server/objects) и не прогоняя все ошибки через специальные методы (как в orm/library/attributes). Для этого завожу fiber-local структурку с ленивым выведением строчек. Поскольку TError и TFls живут в разных мирах, пришлось сделать отдельный трамплин для совсем генеричной доработки ошибок в момент создания.

Игнат посоветовал глянуть на Codicil. Там очень похоже, но нет key/value, поэтому похитил только название. Вообще, можно унифицировать, если есть запрос.
commit_hash:203ec7abe5e8c8484e66d55f16192485db776806
</content>
</entry>
<entry>
<title>YT-22593: More trivial TString-&gt;std::string migrations</title>
<updated>2025-02-22T14:48:29Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2025-02-22T14:28:25Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=59afaa0cb7cd89146dd10f5446256afcce33bd0e'/>
<id>urn:sha1:59afaa0cb7cd89146dd10f5446256afcce33bd0e</id>
<content type='text'>
[nodiff:runtime]
commit_hash:1ba799aed1703ab7c6304b6da7090b3337f768dd
</content>
</entry>
<entry>
<title>yt/error: optimize constructing TError from TErrorException</title>
<updated>2025-02-16T10:13:15Z</updated>
<author>
<name>Konstantin Khlebnikov</name>
<email>khlebnikov@tracto.ai</email>
</author>
<published>2025-02-16T09:50:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7a3958c3c6de324baab9dba4bd4eb808c1b839a6'/>
<id>urn:sha1:7a3958c3c6de324baab9dba4bd4eb808c1b839a6</id>
<content type='text'>
Here we can avoid dynamic cast and exception hazard.

Signed-off-by: Konstantin Khlebnikov &lt;khlebnikov@tracto.ai&gt;

---

Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1070
commit_hash:e0709e1fe0f2109792b20b850e0e11a6e96f846a
</content>
</entry>
<entry>
<title>YT-21233: Drop dependency on yson in library/cpp/yt/error by switch to std::string everywhere</title>
<updated>2024-12-26T08:12:17Z</updated>
<author>
<name>arkady-e1ppa</name>
<email>arkady-e1ppa@yandex-team.com</email>
</author>
<published>2024-12-26T07:52:40Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=0328aa1f62630f14d06076175e2f3750969ac813'/>
<id>urn:sha1:0328aa1f62630f14d06076175e2f3750969ac813</id>
<content type='text'>
done
commit_hash:8a83afa39917ba66a5161388a7cd74a4488d9908
</content>
</entry>
<entry>
<title>YT-21233: Issues and tidying up of rXXXXXX</title>
<updated>2024-12-25T08:15:51Z</updated>
<author>
<name>arkady-e1ppa</name>
<email>arkady-e1ppa@yandex-team.com</email>
</author>
<published>2024-12-25T07:19:49Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=47a8704130b3d47dcb4eb806c3eae41292e90eb4'/>
<id>urn:sha1:47a8704130b3d47dcb4eb806c3eae41292e90eb4</id>
<content type='text'>
commit_hash:19481c9fbb008aab4f4d676f1a3a242f6e90e90e
</content>
</entry>
</feed>
