Skip to content

ci: fix dedupe-duplicate-modules flakes #17982

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

Merged
merged 1 commit into from
Jun 23, 2020
Merged

ci: fix dedupe-duplicate-modules flakes #17982

merged 1 commit into from
Jun 23, 2020

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Jun 22, 2020

Following #17973, which we emitted the stderr when this test failed on CI.

We see that the resolved module order sometimes changes, which is totally fine because of the async nature of the operation.

https://circleci.com/gh/angular/angular-cli/167318#tests/containers/5

[DedupeModuleResolvePlugin]: /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1 -> /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1-copy

With this change we handle both cases which should eliminate the flakes

@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label Jun 22, 2020
@alan-agius4 alan-agius4 requested review from kyliau and clydin June 22, 2020 11:35
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Jun 22, 2020
Following #17973, which we emitted the stderr when this test failed on CI.

We see that the resolved module order sometimes changes, which is totally fine because of the async nature of the operation.

https://circleci.com/gh/angular/angular-cli/167318#tests/containers/5
```
[DedupeModuleResolvePlugin]: /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1 -> /tmp/angular-cli-e2e-i03vMQ/test-project/node_modules/tslib-1-copy
```

With this change we handle both cases which should eliminate the flakes
@clydin clydin merged commit eb4cb7c into angular:master Jun 23, 2020
@alan-agius4 alan-agius4 deleted the ci-dedupe-module branch June 23, 2020 13:08
@dgp1130
Copy link
Collaborator

dgp1130 commented Jul 8, 2020

I saw some failures from this flake on the 10.0.x branch. Should we also merge this PR into 10.0.x?

@alan-agius4
Copy link
Collaborator Author

@dgp1130 there was a separate PR for that #18007

@dgp1130
Copy link
Collaborator

dgp1130 commented Jul 8, 2020

Gotcha, thanks @alan-agius4!

@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 Aug 8, 2020
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 target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants