Skip to content

Conversation

@al1img
Copy link
Collaborator

@al1img al1img commented Jan 23, 2026

SM controller should use imagemanager::ItemInfoProviderItf instead of imagemanager::BlobInfoProviderItf to provide blob URL's to SM.

Copilot AI review requested due to automatic review settings January 23, 2026 14:03
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>

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the SM controller design document to reflect using imagemanager::ItemInfoProviderItf (instead of BlobInfoProviderItf) for providing item/blob-related information (e.g., blob URLs) to SM.

Changes:

  • Replaced BlobInfoProviderItf with ItemInfoProviderItf in the “required interfaces” list.
  • Updated the Mermaid class diagram to reference ItemInfoProviderItf and its dependency from SMController.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

* [aos::crypto::CertLoaderItf](../../common/crypto/itf/certloader.hpp) - loads certificates;
* [aos::crypto::x509::ProviderItf](../../common/crypto/itf/x509provider.hpp) - provides crypto operations;
* [aos::cm::imagemanager::BlobInfoProviderItf](../imagemanager/itf/blobinfoprovider.hpp) - provides blob info;
* [aos::cm::imagemanager::ItemInfoProviderItf](../imagemanager/itf/iteminfoprovider.hpp) - provides items info;
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

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

The interface description is a bit inaccurate/vague: ItemInfoProviderItf specifically provides update item info (and includes blob path/URL methods). Consider updating the bullet text to match the interface intent (e.g., “provides update item info / blob URL/path info”) so the design doc remains precise.

Suggested change
* [aos::cm::imagemanager::ItemInfoProviderItf](../imagemanager/itf/iteminfoprovider.hpp) - provides items info;
* [aos::cm::imagemanager::ItemInfoProviderItf](../imagemanager/itf/iteminfoprovider.hpp) - provides update item info and blob URL/path info;

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@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>

@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.79%. Comparing base (f356622) to head (9fc893d).
⚠️ Report is 1 commits behind head on feature_unification.

Additional details and impacted files
@@                 Coverage Diff                  @@
##           feature_unification     #485   +/-   ##
====================================================
  Coverage                84.78%   84.79%           
====================================================
  Files                      299      299           
  Lines                    25866    25866           
  Branches                  3489     3490    +1     
====================================================
+ Hits                     21931    21932    +1     
+ Misses                    3935     3934    -1     

☔ 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.

SM controller should use imagemanager::ItemInfoProviderItf instead of
imagemanager::BlobInfoProviderItf to provide blob URL's to SM.

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>
@sonarqubecloud
Copy link

@al1img al1img merged commit 871ac03 into aosedge:feature_unification Jan 23, 2026
5 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.

3 participants