Skip to content
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

Publish the AotCompatibility.TestApp project as part of PR validation #5622

Merged
merged 19 commits into from
Nov 13, 2024

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
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 merged commit 1073446 into main Nov 13, 2024
6 checks passed
@eerhardt eerhardt deleted the AotCI branch November 13, 2024 04:28
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.

6 participants