Skip to content

fix: Merging dev fixes into main #333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Feb 17, 2025
Merged

fix: Merging dev fixes into main #333

merged 15 commits into from
Feb 17, 2025

Conversation

Roopan-Microsoft
Copy link
Contributor

@Roopan-Microsoft Roopan-Microsoft commented Feb 10, 2025

Purpose

  • This pull request includes several changes to the workflows, backend, and frontend of the project. The most important changes include updates to the GitHub Actions workflows, improvements to the get_users function in the backend, and a new utility function in the frontend to handle empty arrays.

Workflow updates:

Backend improvements:

  • ClientAdvisor/App/app.py: Refactored the get_users function to combine multiple SQL queries into a single statement, improving the efficiency of updating sample data in the ClientMeetings, Assets, and Retirement tables. [1] [2]

Frontend improvements:

  • ClientAdvisor/App/frontend/src/api/api.ts: Added a new utility function isLastObjectNotEmpty to check if the last object in an array is not empty, and used this function to handle empty array cases in the historyUpdate function. [1] [2]

Test updates:

  • ClientAdvisor/App/tests/test_app.py: Updated the test_get_users_success test to include new fields ClientMeetingDaysDifference, AssetMonthsDifference, StatusMonthsDifference, and DaysDifference in the mock data.

Dependency updates:

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Prasanjeet-Microsoft and others added 14 commits January 10, 2025 18:52
…urce-packages

build: Downgrade msal[broker] and azure-mgmt-resource package to compatible version
build: Upgrade azure-ai-ml package to compatible version
* Research assistant backend unit test

* Research assistant backend unit test

* Research assistant unit test pylint correction

* pylint correction

* research assistant .yml file

* Update test_research_assistant.yml

---------

Co-authored-by: Roopan-Microsoft <168007406+Roopan-Microsoft@users.noreply.github.com>
…#287)

* Prompt flow version update

* Add files via upload

* Add files via upload

* Add files via upload

---------

Co-authored-by: Roopan-Microsoft <168007406+Roopan-Microsoft@users.noreply.github.com>
feat: Dev Image Version Check Test
revert: "feat: Dev Image Version Check Test"
* updated Asset and retirement updated code

* minor fix on meeting days

* fixed test case

* optimized query
@Copilot Copilot AI review requested due to automatic review settings February 10, 2025 12:23
Copy link
Contributor

@Copilot 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 7 out of 8 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • ResearchAssistant/Deployment/scripts/aihub_scripts/requirements.txt: Language not supported
Comments suppressed due to low confidence (1)

ClientAdvisor/App/frontend/src/api/api.ts:238

  • The error response should be created directly as a new Response object instead of spreading an empty Response.
const errRes: Response = { ...new Response(), ok: false, status: 500 }

@Roopan-Microsoft Roopan-Microsoft merged commit c19fd1d into main Feb 17, 2025
14 checks passed
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

9 participants