Skip to content

feat: Add support for hooks. #2089

feat: Add support for hooks.

feat: Add support for hooks. #2089

Triggered via pull request October 27, 2025 18:00
Status Success
Total duration 4m 31s
Artifacts

cpp-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings and 8 notices
/libs/server-sdk/src/client_impl.cpp:204:10 [readability-identifier-length]: /libs/server-sdk/src/client_impl.cpp#L204
variable name '_' is too short, expected at least 3 characters
/libs/server-sdk/src/client_impl.cpp:166:64 [readability-identifier-length]: /libs/server-sdk/src/client_impl.cpp#L166
parameter name '_' is too short, expected at least 3 characters
/libs/server-sdk/src/client_impl.cpp:163:10 [readability-identifier-length]: /libs/server-sdk/src/client_impl.cpp#L163
variable name 'pr' is too short, expected at least 3 characters
/libs/server-sdk/src/client_impl.cpp:115:31 [performance-unnecessary-value-param]: /libs/server-sdk/src/client_impl.cpp#L115
the parameter 'config' is copied for each invocation but only used as a const reference; consider making it a const reference
/libs/server-sdk/include/launchdarkly/server_side/hooks/hook.hpp:453:7 [cppcoreguidelines-special-member-functions]: /libs/server-sdk/include/launchdarkly/server_side/hooks/hook.hpp#L453
class 'Hook' defines a default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator
cpp-linter
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0WLP/aAAAAAAVVEmdanH0Qrgdw3U4L6G5UEhMMzBFREdFMDIxMABFZGdl
cpp-linter
Failed to restore: Cache service responded with 400
Run clang-format on libs/server-sdk/tests/hooks_test.cpp: libs/server-sdk/tests/hooks_test.cpp#L0
File libs/server-sdk/tests/hooks_test.cpp does not conform to Custom style guidelines. (lines 5, 53, 89, 90, 166, 167, 168, 169, 185, 186, 187, 188, 206, 207, 208, 209, 414, 415, 416, 417, 432, 433, 434, 435, 453, 454, 455, 456, 473, 584, 585, 586, 587, 623, 624, 625, 626, 821, 822, 823, 824, 881, 882, 883, 884, 893, 898, 947, 948, 980, 981, 982, 983, 988, 991)
Run clang-format on libs/server-sdk/src/hooks/hook_executor.hpp: libs/server-sdk/src/hooks/hook_executor.hpp#L0
File libs/server-sdk/src/hooks/hook_executor.hpp does not conform to Custom style guidelines. (lines 64, 65)
Run clang-format on libs/server-sdk/src/hooks/hook_executor.cpp: libs/server-sdk/src/hooks/hook_executor.cpp#L0
File libs/server-sdk/src/hooks/hook_executor.cpp does not conform to Custom style guidelines. (lines 69, 70, 79, 85)
Run clang-format on libs/server-sdk/src/hooks/hook.cpp: libs/server-sdk/src/hooks/hook.cpp#L0
File libs/server-sdk/src/hooks/hook.cpp does not conform to Custom style guidelines. (lines 9, 17, 44, 52, 79)
Run clang-format on libs/server-sdk/src/client_impl.hpp: libs/server-sdk/src/client_impl.hpp#L0
File libs/server-sdk/src/client_impl.hpp does not conform to Custom style guidelines. (lines 101, 102, 103)
Run clang-format on libs/server-sdk/src/client_impl.cpp: libs/server-sdk/src/client_impl.cpp#L0
File libs/server-sdk/src/client_impl.cpp does not conform to Custom style guidelines. (lines 241, 244, 254, 362, 375, 396, 411, 479, 503, 504, 535, 536, 537)
Run clang-format on libs/server-sdk/src/client.cpp: libs/server-sdk/src/client.cpp#L0
File libs/server-sdk/src/client.cpp does not conform to Custom style guidelines. (lines 125, 169)
Run clang-format on libs/server-sdk/include/launchdarkly/server_side/client.hpp: libs/server-sdk/include/launchdarkly/server_side/client.hpp#L0
File libs/server-sdk/include/launchdarkly/server_side/client.hpp does not conform to Custom style guidelines. (lines 280, 281, 282, 577, 578, 579)