-
Notifications
You must be signed in to change notification settings - Fork 25.9k
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
ci(docs-infra): run with Ivy #28530
ci(docs-infra): run with Ivy #28530
Conversation
70de12b
to
1bcc381
Compare
a452d5b
to
00d90c3
Compare
00d90c3
to
f6fd4ff
Compare
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
f6fd4ff
to
17037e3
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
07ba28b
to
d937ad4
Compare
You can preview 70de12b at https://pr28530-70de12b.ngbuilds.io/. |
You can preview d937ad4 at https://pr28530-d937ad4.ngbuilds.io/. |
faddee0
to
a0829ad
Compare
You can preview a0829ad at https://pr28530-a0829ad.ngbuilds.io/. |
a0829ad
to
e913f1d
Compare
You can preview e913f1d at https://pr28530-e913f1d.ngbuilds.io/. |
This commit also enables more tests to be run on CI with Ivy.
1f9b0f0
to
f7a127c
Compare
You can preview f7a127c at https://pr28530-f7a127c.ngbuilds.io/. |
You can preview 187b7b4 at https://pr28530-187b7b4.ngbuilds.io/. |
You can preview 2fe38cc at https://pr28530-2fe38cc.ngbuilds.io/. |
merge-assistance: Requires g3sync presubmit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (global)
This commit also enables more tests to be run on CI with Ivy. PR Close #28530
…28530) Previously, `R3TestBedCompiler` was dynamically defining an `@NgModule`-decorated `CompilerModule` class inside a method call. Since ngcc only processes top-level classes, this class was not transformed causing failures in unit tests (see #30121 for details). This commit fixes it by using `compileNgModuleDefs()` directly (similar to the fix in #30037). Fixes #30121 PR Close #28530
This commit also enables more tests to be run on CI with Ivy. PR Close #28530
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't updating the app code imply a breaking change?
@@ -23,10 +23,10 @@ describe('CodeTabsComponent', () => { | |||
}); | |||
|
|||
fixture = TestBed.createComponent(HostComponent); | |||
fixture.detectChanges(); | |||
|
|||
hostComponent = fixture.componentInstance; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's this a breaking change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The componentInstance
is still available before detectChanges()
. It is the codeTabsComponent
(which is a ViewChild
query) that isn't.
This is related to the (known breaking) changes in ViewChild
queries. We could have made the codeTabsComponent
ViewChild
static instead (and leave the test as is).
I assume you are referring to the changes in I had originally left the Anyway, I am going to leave it as is, since it doesn't make any difference (and I generally prefer accessing view query results in |
…ngular#28530) Previously, `R3TestBedCompiler` was dynamically defining an `@NgModule`-decorated `CompilerModule` class inside a method call. Since ngcc only processes top-level classes, this class was not transformed causing failures in unit tests (see angular#30121 for details). This commit fixes it by using `compileNgModuleDefs()` directly (similar to the fix in angular#30037). Fixes angular#30121 PR Close angular#28530
This commit also enables more tests to be run on CI with Ivy. PR Close angular#28530
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Docs have been added / updated (for bug fixes / features)PR Type
What is the new behavior?
Update
aio
to run with Ivy and enable moreaio
tests to be run on CI with Ivy.Does this PR introduce a breaking change?
Other information
Jira issue: AVM-15
Blocked on:
fix(ivy): fix class inheritance detection for ES5 code inngtsc
#28773fix(ivy): run annotations handlers'resolve()
inngcc
#28963refactor(ivy): correctly type class declarations #29209fix(ivy): ensure parent/sub-class components evaluate styling correctly #29602docs-infra: several random fixes/improvements #29989fix(ivy): ensure that super/sub classes can both update an animation binding in harmony #29978(superceded by fix(ivy): ensure that super/sub classes can both update an animation binding in harmony #30022)fix(ivy): ensure that super/sub classes can both update an animation binding in harmony #30022(superceded by chore: fix inherited host binding issue with sidenav components#15898)chore: fix inherited host binding issue with sidenav components#15898fix(ivy): explicitly compile ngModuleDef for RootScopeModule in R3TestBed #30037NGCC only transforms top level modules #30121(fixed in this PR)