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

[release/8.0] [mono] Initialize module's image ALC for dynamic objects #90912

Merged
merged 5 commits into from
Aug 23, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 22, 2023

##Description

Backport of #90731 to release/8.0

This PR initializes module's image ALC for dynamic objects created during the runtime. Dynamic assemblies have two images - one for the assembly, and one for the image. The assembly image had an ALC set, but the module image didn't have the ALC set. If a custom attribute depends on a type defined outside of the dynamic assembly, the dynamic assembly should have an ALC to resolve the type.

Customer Impact

The issue was discovered by a customer.

Testing

A runtime test has been added. Manual testing and automated testing on the CI were performed, ensuring that the tests are passing. The issue has been reproduced locally, and has been fixed.

Risk

Low risk. This change initializes an image property and adds a runtime test.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

The change doesn't affect code that ships in a NuGet package.

@ghost
Copy link

ghost commented Aug 22, 2023

Tagging subscribers to 'os-ios': @steveisok, @akoeplinger, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #90731 to release/8.0

/cc @kotlarmilos

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: kotlarmilos
Labels:

area-Codegen-AOT-mono, os-ios

Milestone: -

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. we can merge when ready for RC2

@SamMonoRT SamMonoRT added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Aug 22, 2023
@kotlarmilos
Copy link
Member

The failures are:

I don't have permissions to merge this PR.

@carlossanlop
Copy link
Member

@kotlarmilos I can merge it for you.

@carlossanlop carlossanlop merged commit 0109801 into release/8.0 Aug 23, 2023
153 of 168 checks passed
@carlossanlop carlossanlop deleted the backport/pr-90731-to-release/8.0 branch August 23, 2023 19:51
@ghost ghost locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Codegen-meta-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants