Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

mitchdenny
Copy link
Member

@mitchdenny mitchdenny commented Oct 22, 2024

Description

Removing Milvus client dependency (incl health check) so we can ship the hosting package as GA.

Fixes #6431

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No (removed a unit test)
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No
  • Does the change require an update in our Aspire docs?
    • Yes
      • Link to aspire-docs issue:
    • No
Microsoft Reviewers: Open in CodeFlow

@mitchdenny mitchdenny self-assigned this Oct 22, 2024
@mitchdenny mitchdenny added this to the 9.0 milestone Oct 22, 2024
@mitchdenny
Copy link
Member Author

/backport to release/9.0

Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/aspire/actions/runs/11469724726

@mitchdenny
Copy link
Member Author

/backport to release/9.0

Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/aspire/actions/runs/11470499191

Copy link
Contributor

@mitchdenny backporting to release/9.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Remove Milvus.Client dependency.
Applying: namespaces!
Using index info to reconstruct a base tree...
M	src/Aspire.Hosting.Milvus/MilvusBuilderExtensions.cs
M	src/Aspire.Hosting.Redis/RedisBuilderExtensions.cs
Falling back to patching base and 3-way merge...
Auto-merging src/Aspire.Hosting.Redis/RedisBuilderExtensions.cs
CONFLICT (content): Merge conflict in src/Aspire.Hosting.Redis/RedisBuilderExtensions.cs
Auto-merging src/Aspire.Hosting.Milvus/MilvusBuilderExtensions.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0002 namespaces!
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

Copy link
Contributor

@mitchdenny an error occurred while backporting to release/9.0, please check the run log for details!

Error: git am failed, most likely due to a merge conflict.

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

I think this is the right change for now. Hopefully Milvus.Client releases stable soon.

@mitchdenny mitchdenny closed this Oct 23, 2024
@mitchdenny mitchdenny reopened this Oct 23, 2024
@mitchdenny mitchdenny merged commit 90dd896 into main Oct 23, 2024
10 checks passed
@mitchdenny mitchdenny deleted the mitchdenny/remove-milvus-check-from-apphost branch October 23, 2024 08:56
@mitchdenny
Copy link
Member Author

/backport to release/9.0

Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/aspire/actions/runs/11476514204

Copy link
Contributor

@mitchdenny backporting to release/9.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Remove Milvus.Client dependency.
Applying: namespaces!
error: sha1 information is lacking or useless (src/Aspire.Hosting.Milvus/MilvusBuilderExtensions.cs).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0002 namespaces!
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

Copy link
Contributor

@mitchdenny an error occurred while backporting to release/9.0, please check the run log for details!

Error: git am failed, most likely due to a merge conflict.

mitchdenny added a commit that referenced this pull request Oct 23, 2024
* Remove Milvus.Client dependency.

* namespaces!

* Fix random change.
@Alirexaa
Copy link
Contributor

We should log an issue for Adding the health check to Milvus.

eerhardt pushed a commit that referenced this pull request Oct 25, 2024
* Remove Milvus.Client dependency. (#6435)

* Remove Milvus.Client dependency.

* namespaces!

* Fix random change.

* Remove Suppression of stable version in order to produce stable versions.

---------

Co-authored-by: Jose Perez Rodriguez <[email protected]>
joperezr added a commit to joperezr/aspire that referenced this pull request Nov 13, 2024
…/9.0

#### AI description  (iteration 1)
#### PR Classification
Code cleanup and dependency updates.

#### PR Summary
This pull request merges changes from `release/9.0` into `internal/release/9.0`, addressing several work items related to security, dependency updates, and code cleanup.
- Removed `MilvusClient` creation logic and health checks from `src/Aspire.Hosting.Milvus/MilvusBuilderExtensions.cs`.
- Updated various package dependencies in `Directory.Packages.props` and `eng/Version.Details.xml`.
- Added `AssemblyInfo.cs` to `src/Aspire.Hosting.Python` to mark it as experimental.
- Updated container image tags in `src/Aspire.Hosting.Milvus`, `src/Aspire.Hosting.MySql`, `src/Aspire.Hosting.Elasticsearch`, and `src/Aspire.Hosting.Keycloak`.
- Removed deprecated package references and suppressed final package version in `src/Aspire.Hosting.Milvus/Aspire.Hosting.Milvus.csproj`.

Related work items: dotnet#5994, dotnet#6054, dotnet#6298, dotnet#6377, dotnet#6417, dotnet#6435, dotnet#6451, dotnet#6460, dotnet#6498
@github-actions github-actions bot locked and limited conversation to collaborators Nov 23, 2024
@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-integrations Issues pertaining to Aspire Integrations packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aspire.Hosting.Milvus shipped stable in 8.2 but is now shipping preview in 9.0
4 participants