Skip to content

Conversation

@andrei-toterman
Copy link
Contributor

@andrei-toterman andrei-toterman commented Feb 7, 2025

This PR adds implementations for AZs and for the AZ manager, and integrates them in the daemon and the VMs.

There are also many tests file modified, since some APIs changed. The changes in those test files do nothing more than passing in stubs for AZs and the AZ manager where they are required.

MULTI-1870

@codecov
Copy link

codecov bot commented Feb 7, 2025

Codecov Report

❌ Patch coverage is 87.04453% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.30%. Comparing base (0e5434c) to head (a9be08a).
⚠️ Report is 3841 commits behind head on availability-zones.

Files with missing lines Patch % Lines
src/daemon/daemon.cpp 73.17% 11 Missing ⚠️
...latform/backends/shared/base_availability_zone.cpp 91.07% 5 Missing ⚠️
...backends/shared/base_availability_zone_manager.cpp 92.85% 5 Missing ⚠️
src/utils/json_utils.cpp 0.00% 5 Missing ⚠️
...rc/platform/backends/shared/base_virtual_machine.h 0.00% 4 Missing ⚠️
src/daemon/daemon_config.cpp 90.00% 2 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                   @@
##           availability-zones    #3924      +/-   ##
======================================================
+ Coverage               89.21%   89.30%   +0.09%     
======================================================
  Files                     260      264       +4     
  Lines                   14762    14953     +191     
======================================================
+ Hits                    13170    13354     +184     
- Misses                   1592     1599       +7     

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

@ricab ricab self-requested a review February 7, 2025 16:40
@andrei-toterman andrei-toterman force-pushed the az-definitions branch 2 times, most recently from 710fcac to dc51fad Compare February 11, 2025 14:12
@ricab ricab mentioned this pull request Feb 13, 2025
@andrei-toterman andrei-toterman force-pushed the az-integration branch 2 times, most recently from 8262d94 to 0f21a35 Compare February 27, 2025 11:50
Copy link
Collaborator

@ricab ricab left a comment

Choose a reason for hiding this comment

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

Hey Andrei, I finally managed to give this some well-deserved attention, but I have a lot to go still, so I am submitting what I have for now. So far so good. I reviewed the daemon code and it was comforting to see all the logic being kept from it, for a change 👍

@ricab ricab self-requested a review March 6, 2025 17:01
Copy link
Collaborator

@ricab ricab left a comment

Choose a reason for hiding this comment

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

Hey Andrei, I've finally reviewed all of this. I think you have a good first sculpture, with a solid overall idea and structure. I have a number of questions and some requests to chip away and refine a few rough edges.

@ricab
Copy link
Collaborator

ricab commented Mar 7, 2025

One other thing, is this represented in Jira somehow?

@andrei-toterman andrei-toterman force-pushed the az-definitions branch 2 times, most recently from 4834aec to dde7d48 Compare March 14, 2025 10:47
@andrei-toterman andrei-toterman force-pushed the az-definitions branch 2 times, most recently from baac8f3 to f3e0414 Compare April 1, 2025 18:21
@andrei-toterman andrei-toterman force-pushed the az-integration branch 2 times, most recently from eb849f0 to b84318f Compare April 2, 2025 12:19
@andrei-toterman andrei-toterman force-pushed the az-definitions branch 2 times, most recently from 55da751 to 0e5434c Compare April 4, 2025 21:49
Base automatically changed from az-definitions to availability-zones April 7, 2025 10:26
@andrei-toterman andrei-toterman force-pushed the az-integration branch 2 times, most recently from 0f1e320 to 24dac77 Compare April 8, 2025 14:53
@andrei-toterman andrei-toterman requested a review from xmkg April 8, 2025 17:23
@ricab
Copy link
Collaborator

ricab commented May 21, 2025

Hey @Sploder12, is this ready for another look?

@Sploder12
Copy link
Contributor

Hey @Sploder12, is this ready for another look?

I believe so!

Copy link
Member

@xmkg xmkg left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the efforts @Sploder12!

@Sploder12 Sploder12 requested a review from ricab June 27, 2025 15:34
Copy link
Collaborator

@ricab ricab left a comment

Choose a reason for hiding this comment

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

Very good, thank you to all the participants!

A special word of appreciation to @Sploder12, who I didn't get a chance to thank properly yet for picking this up doing excellent work 🚀

@ricab ricab merged commit df3b0d2 into availability-zones Jul 10, 2025
24 of 26 checks passed
@ricab ricab deleted the az-integration branch July 10, 2025 17:57
Sploder12 pushed a commit that referenced this pull request Aug 18, 2025
This PR adds implementations for AZs and for the AZ manager, and
integrates them in the daemon and the VMs.

There are also many tests file modified, since some APIs changed. The
changes in those test files do nothing more than passing in stubs for
AZs and the AZ manager where they are required.

MULTI-1870
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants