Skip to content

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Nov 11, 2024

  • Remove AI in Microsoft.Extensions.AI.AotCompatibility.TestApp so it can be used for all projects
  • Clean up the AotCompatibility.TestApp
    • Remove unnecessary code in Program.cs by turning off ReferenceTrimmer
    • Make the project publishable without passing in a TFM by only targeting a single TFM
  • Make dotnet test publish the TestApp and fail if there are any warnings/errors
  • Fix part of Compliance.Redaction trimming issues by reenabling the Config Binder source generator.

Contributes to #5571

Microsoft Reviewers: Open in CodeFlow

- Remove unnecessary code in Program.cs by turning off ReferenceTrimmer
- Make the project publishable without passing in a TFM by only targeting a single TFM
Include the rest of the libraries in the repo
- Ensure clean uses the same configuration as publish
- Fix part of Compliance.Redaction trimming issues by reenabling the Config Binder source generator.
@eerhardt eerhardt marked this pull request as ready for review November 11, 2024 21:52
@eerhardt eerhardt requested review from a team as code owners November 11, 2024 21:52
@eerhardt eerhardt changed the title Pubilsh the AotCompatibility.TestApp project as part of PR validation Publish the AotCompatibility.TestApp project as part of PR validation Nov 11, 2024
Copy link
Member

@joperezr joperezr left a comment

Choose a reason for hiding this comment

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

Changes look good, thanks a bunch @eerhardt!

@stephentoub
Copy link
Member

Contributes to #5571

@eerhardt eerhardt enabled auto-merge (squash) November 12, 2024 00:17
@eerhardt eerhardt disabled auto-merge November 12, 2024 15:14
haipz and others added 3 commits November 12, 2024 10:26
* Read working set from Environment in ProcessInfo since it has better performance.

* Add unit test for ProcessInfo.

* Remove OSSkipCondition tag from process info unit test since it's cross-platform.

* Use Environment.WorkingSet in GetMemoryUsageInBytes.
@eerhardt eerhardt requested a review from a team as a code owner November 12, 2024 22:01
@eerhardt eerhardt enabled auto-merge November 13, 2024 00:21
@eerhardt eerhardt merged commit 1073446 into main Nov 13, 2024
6 checks passed
@eerhardt eerhardt deleted the AotCI branch November 13, 2024 04:28
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2024
@github-actions github-actions bot added the area-ai Microsoft.Extensions.AI libraries label Mar 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-ai Microsoft.Extensions.AI libraries
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants