Skip to content

Conversation

@devanshjainms
Copy link
Contributor

This pull request includes several updates to the SAP Testing Automation Framework documentation, codebase, and dependencies. The changes improve documentation clarity, update dependencies, and enhance functionality in specific modules and tasks.

Documentation updates:

  • README.md: Added images and a badge for GitHub issues to improve the visual appeal and provide quick access to issue tracking.
  • docs/HIGH_AVAILABILITY.md: Updated instructions to fork the repository before cloning and added a new section on updating the framework to keep forks up to date with the latest changes. [1] [2]

Dependency updates:

  • requirements.in: Added various packages for Ansible, Azure, development tools, testing, data processing, core utilities, and CLI tools to ensure all necessary dependencies are included.

Code enhancements:

  • src/modules/filesystem_freeze.py: Added a new parameter database_sid to the FileSystemFreeze class and updated the _find_filesystem method to account for the database SID when finding the filesystem. [1] [2] [3]
  • src/modules/get_pcmk_properties_db.py and src/modules/get_pcmk_properties_scs.py: Modified the _parse_resource method to strip trailing 's' from timeout and interval values to ensure consistency. [1] [2]

Task adjustments:

  • src/roles/ha_db_hana/tasks/block-network.yml: Consolidated node connectivity checks and updated post-validation task includes to use a common file. [1] [2] [3]
  • src/roles/ha_db_hana/tasks/fs-freeze.yml, src/roles/ha_db_hana/tasks/primary-crash-index.yml, src/roles/ha_db_hana/tasks/primary-echo-b.yml: Updated post-validation task includes to use a common file. [1] [2] [3] [4] [5] [6] [7]

Configuration updates:

@devanshjainms devanshjainms requested a review from a team as a code owner April 9, 2025 00:07
@devanshjainms devanshjainms requested review from Copilot, dennispadia, dhruvmicrosoft and hdamecharla and removed request for dhruvmicrosoft April 9, 2025 00:07
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.

Copilot reviewed 33 out of 34 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • requirements.in: Language not supported
Comments suppressed due to low confidence (2)

src/roles/ha_db_hana/tasks/secondary-node-kill.yml:101

  • Ensure that replacing the specialized post validations task file with the common 'post-validations.yml' file handles all validation scenarios correctly, as this change affects error handling and task flow.
ansible.builtin.include_tasks:    "roles/misc/tasks/post-validations.yml"

src/modules/filesystem_freeze.py:108

  • The updated logic to check for both '/hana/shared' and '/hana/shared/{self.database_sid}' assumes these are the only valid mount points. Confirm that this condition covers all intended filesystem configurations.
if len(parts) > 1 and parts[1] in [

hdamecharla
hdamecharla previously approved these changes Apr 10, 2025
Copy link
Member

@hdamecharla hdamecharla left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

Copy link
Contributor

@dennispadia dennispadia left a comment

Choose a reason for hiding this comment

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

Looks good.

Copy link
Member

@hdamecharla hdamecharla left a comment

Choose a reason for hiding this comment

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

Approved

Copy link
Contributor

@dhruvmicrosoft dhruvmicrosoft left a comment

Choose a reason for hiding this comment

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

LG!

@devanshjainms devanshjainms merged commit d4a748d into Azure:main Apr 11, 2025
11 checks passed
@devanshjainms devanshjainms deleted the hotfix-branch branch April 11, 2025 20:08
devanshjainms added a commit to devanshjainms/sap-automation-qa that referenced this pull request Apr 14, 2025
@devanshjainms devanshjainms added bug Something isn't working documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants