Skip to content

fix: disable injectable-pipe migration #30180

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

Closed
wants to merge 1 commit into from

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Apr 28, 2019

Disables the injectable pipe migration until we can decide whether this is the right solution for Ivy. Rolling it out properly will involve a more detailed plan and more changes like updating the styleguide, scaffolding schematics etc.

Context for the new test-migrations.json: since we use the migrations.json both for the real migrations and for tests, it doesn't allow us to disable a schematic while continuing to run its tests. This change adds the test-specific file so that we can continue running the injectable-pipe tests, even though the schematic itself is disabled.

@crisbeto crisbeto added type: bug/fix action: review The PR is still awaiting reviews from at least one requested reviewer labels Apr 28, 2019
@crisbeto crisbeto requested a review from a team as a code owner April 28, 2019 19:40
@AndrewKushnir AndrewKushnir added the action: presubmit The PR is in need of a google3 presubmit label Apr 28, 2019
@AndrewKushnir
Copy link
Contributor

Presubmit

@AndrewKushnir AndrewKushnir added the target: patch This PR is targeted for the next patch release label Apr 28, 2019
@crisbeto crisbeto force-pushed the injectable-pipe-disable branch 2 times, most recently from 43d0780 to 56aa0ef Compare April 28, 2019 20:44
Copy link
Contributor

@IgorMinar IgorMinar left a comment

Choose a reason for hiding this comment

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

Lgtm but can you please extend the commit message to contain more details. The problem is that we are not yet sure if this is the right solution for ivy and if it is we need to do much more to roll out this change: e.g. update style guide, scaffolding schematics, docs and tutorial, etc etc. So it's better to wait until we are sure that we want this change and then make a comprehensive plan on how to roll it out.

@IgorMinar IgorMinar added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Apr 28, 2019
@IgorMinar
Copy link
Contributor

@crisbeto Thanks for putting this together so quickly.

Disables the injectable pipe migration until we can decide whether this is the right solution for Ivy. Rolling it out properly will involve a more detailed plan and more changes like updating the styleguide, scaffolding schematics etc.

Context for the new `test-migrations.json`: since we use the `migrations.json` both for the real migrations and for tests, it doesn't allow us to disable a schematic, but continue running its tests. This change adds the test-specific file so that we can continue running the `injectable-pipe` tests, even though the schematic itself is disabled.
@crisbeto crisbeto force-pushed the injectable-pipe-disable branch from 56aa0ef to b183a44 Compare April 28, 2019 21:04
@crisbeto
Copy link
Member Author

Updated the commit message and PR description with more context.

@crisbeto crisbeto removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Apr 28, 2019
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

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

Ideally there would have been only a new collection for the injectable-pipe schematic in order to run tests without shipping it. Using the real migration collection allows us to validate that the schematics (which are intended to run publicly) are wired up correctly.

I don't mind too much though. LGTM 😄

@AndrewKushnir
Copy link
Contributor

Presubmit #2 (after additional changes)

@AndrewKushnir AndrewKushnir added hotlist: release-blocker and removed action: presubmit The PR is in need of a google3 presubmit labels Apr 28, 2019
@crisbeto
Copy link
Member Author

@devversion I can see it going either way. I did it this way, because it's more consistent.

@devversion
Copy link
Member

@crisbeto True it's more consistent for the tests, but given that it means that we need to duplicate schematic collection entries and we no longer test the publicly enabled migrations with the actual ng-update collection, I think we should change it back and only have a collection for the injectable-pipe.

Doesn't have to be part of this PR as it already had various presubmits..

AndrewKushnir pushed a commit that referenced this pull request Apr 29, 2019
Disables the injectable pipe migration until we can decide whether this is the right solution for Ivy. Rolling it out properly will involve a more detailed plan and more changes like updating the styleguide, scaffolding schematics etc.

Context for the new `test-migrations.json`: since we use the `migrations.json` both for the real migrations and for tests, it doesn't allow us to disable a schematic, but continue running its tests. This change adds the test-specific file so that we can continue running the `injectable-pipe` tests, even though the schematic itself is disabled.

PR Close #30180
BioPhoton pushed a commit to BioPhoton/angular that referenced this pull request May 21, 2019
Disables the injectable pipe migration until we can decide whether this is the right solution for Ivy. Rolling it out properly will involve a more detailed plan and more changes like updating the styleguide, scaffolding schematics etc.

Context for the new `test-migrations.json`: since we use the `migrations.json` both for the real migrations and for tests, it doesn't allow us to disable a schematic, but continue running its tests. This change adds the test-specific file so that we can continue running the `injectable-pipe` tests, even though the schematic itself is disabled.

PR Close angular#30180
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes target: patch This PR is targeted for the next patch release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants