Skip to content

Integration fixes#186

Merged
al1img merged 3 commits intoaosedge:developfrom
al1img:integration
Mar 20, 2026
Merged

Integration fixes#186
al1img merged 3 commits intoaosedge:developfrom
al1img:integration

Conversation

@al1img
Copy link
Collaborator

@al1img al1img commented Mar 20, 2026

No description provided.

Copy link
Member

@mlohvynenko mlohvynenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>

return;
}

mMessageLogFile << direction << ": " << message << "\n";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

std::endl can be used:
It adds eol and flushes buffer

return {{}, Error(ErrorEnum::eInvalidArgument, "invalid duration string")};
}

RetWithError<Time> FromUTCString(const std::string& utcTimeStr)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Public header still declares FromUTCString/ToUTCString, but implementations were removed
time.hpp (line 38), time.hpp (line 46), time.cpp (line 176)
src/common/utils/time.cpp no longer defines FromUTCString / ToUTCString, but src/common/utils/time.hpp still declares them. Internal tree compiles because call sites were migrated, but external consumers including this header can still compile and then fail at link time with undefined symbols.
Either keep compatibility wrappers or remove declarations (and handle API change explicitly).

Copy link
Collaborator

@mykola-kobets-epam mykola-kobets-epam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Mykola Kobets <mykola_kobets@epam.com>

al1img added 3 commits March 20, 2026 14:07
Log all messages received and sent to/from cloud to dedicated file specified
by "cloudMessageLog" in config.

Signed-off-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Reviewed-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Mykola Kobets <mykola_kobets@epam.com>
Reviewed-by: Mykola Solianko <mykola_solianko@epam.com>
Same conversion functions are available in core lib time module.

Signed-off-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Reviewed-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Mykola Kobets <mykola_kobets@epam.com>
Reviewed-by: Mykola Solianko <mykola_solianko@epam.com>
Signed-off-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Reviewed-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
Reviewed-by: Mykola Kobets <mykola_kobets@epam.com>
Reviewed-by: Mykola Solianko <mykola_solianko@epam.com>
@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

❌ Patch coverage is 81.08108% with 7 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@de726fb). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/cm/communication/communication.cpp 50.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #186   +/-   ##
==========================================
  Coverage           ?   82.52%           
==========================================
  Files              ?      325           
  Lines              ?    31034           
  Branches           ?     3221           
==========================================
  Hits               ?    25611           
  Misses             ?     5423           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link

@al1img al1img merged commit 53ba7c0 into aosedge:develop Mar 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants