Skip to content

Conversation

@Allenz5
Copy link

@Allenz5 Allenz5 commented Jun 16, 2025

Description of changes

Add EnableSingleAvailabilityZone parameter to fleet_config.json

Tests

  • test_fleet_config_generator.py

References

Checklist

  • Make sure you are pointing to the right branch.
  • If you're creating a patch for a branch other than develop add the branch name as prefix in the PR title (e.g. [release-3.6]).
  • Check all commits' messages are clear, describing what and why vs how.
  • Make sure to have added unit tests or integration tests to cover the new/modified code.
  • Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Allenz5 Allenz5 requested review from a team as code owners June 16, 2025 17:20
}
},
CriticalError,
"Unable to find key 'EnableSingleAvailabilityZone' in the configuration file. Queue: q1",
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't want to showcase this error if Customer doesn't provide this parameter as this is not required parameter.

Copy link
Contributor

Choose a reason for hiding this comment

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

I understand this is a test case but we want to cover the case where we don't see this error and fleet-config.json gets created even if this parameter is not provided.

Copy link
Contributor

Choose a reason for hiding this comment

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

As this fleet-config.json is what drives the scaling through node package

…ingleAvailabilityZone is not provided

Signed-off-by: Hanxuan Zhang <[email protected]>
@himani2411
Copy link
Contributor

Closing as we are not supporting this paramter.

@himani2411 himani2411 closed this Jul 7, 2025

**CHANGES**
- Ubuntu 20.04 is no longer supported.
- Add SingleAvailabilityZone parameter to fleet_config.json
Copy link
Contributor

Choose a reason for hiding this comment

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

Changelog entries must be more focus on the user experience than on the implementation details. A user does not care about where we inject the new parameter, but on the consequences of enabling it.

),
(
{
"Scheduling": {
Copy link
Contributor

Choose a reason for hiding this comment

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

[Tests] what's the goal of adding this test case?

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.

3 participants