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

UI: Update ember-a11y-testing #9912

Merged
merged 3 commits into from
Feb 2, 2021
Merged

UI: Update ember-a11y-testing #9912

merged 3 commits into from
Feb 2, 2021

Conversation

backspace
Copy link
Contributor

@backspace backspace commented Jan 28, 2021

This was originally in #9641 but it became quite involved as described below, so I decided to update it in (relative) isolation.

I needed to update ember-a11y-testing because of failures with Ember 3.20 such as this. The new version has a peer dependency on @ember/test-helpers v2 and we only had various v1s through other addons.

The ember-fetch update is because of this.

It’s hard to see because yarn.lock thrashing is the only evidence, but I also had to rm -rf node_modules yarn.lock to fix a catastrophic Babel error discussed here. I much prefer targeting specific dependencies for updates but I couldn’t determine which ones were the problem so I did as suggested in that thread 😞

See 9ee5c96 and 1982358 for comments on specific changes.

It seems pretty minimal but it took me surprisingly long to get to this point 😭

This was originally in #9641 but became problematic so I
decided to update it in (relative) isolation.
@backspace backspace added theme/ui theme/dependencies Pull requests that update a dependency file labels Jan 28, 2021
@backspace backspace self-assigned this Jan 28, 2021
@github-actions
Copy link

github-actions bot commented Jan 28, 2021

Ember Asset Size action

As of 1982358

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +60.6 kB +14.1 kB
vendor.js +46.1 kB +6.09 kB
vendor.css +54 B +8 B

Files that stayed the same size 🤷‍:

File raw gzip
nomad-ui.css 0 B 0 B

@github-actions
Copy link

github-actions bot commented Jan 28, 2021

Ember Test Audit comparison

master 1982358 change
passes 1544 1544 0
failures 0 0 0
flaky 0 0 0
duration 7m 05s 792ms 8m 44s 975ms +1m 39s 183ms

This fixes test failures such as this one:
https://app.circleci.com/pipelines/github/hashicorp/nomad/14501/workflows/01177cd9-a2ae-4fff-94ef-6b109b778123/jobs/134238#failed-test-54

One of the nested dependencies must have changed but I wasn’t
able to track it down. 😖
This fixes all the test failures seen here apart from the
job adapter ones:
https://app.circleci.com/pipelines/github/hashicorp/nomad/14501/workflows/01177cd9-a2ae-4fff-94ef-6b109b778123/jobs/134238

This was last toggled in #8035 and it’s frustrating to have
to change it back but I couldn’t find another way 😞
@backspace
Copy link
Contributor Author

Ember Test Audit flaky tests

Ember Test Audit detected these flaky tests on 5522229:

* Acceptance | optimize search and facets: the Datacenter facet has the correct options

* Acceptance | optimize search and facets: selecting options in the Datacenter facet updates the dc query param

* Acceptance | optimize search and facets: selecting options in the Prefix facet updates the prefix query param

I’ve deleted the above comment because I deliberately pushed with failures, but wanted to note that the flakiness report worked 🤩

@hashicorp hashicorp deleted a comment from github-actions bot Jan 29, 2021
@backspace backspace marked this pull request as ready for review January 29, 2021 14:48
@DingoEatingFuzz
Copy link
Contributor

Oof. What a journey!

@@ -60,7 +60,7 @@ export default class Watchable extends ApplicationAdapter {
signal,
data: params,
}).catch(error => {
if (error instanceof AbortError) {
if (error instanceof AbortError || error.name == 'AbortError') {
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm. These make me sad, but they're definitely not the end of the world. I think I'll open an issue tracking this particular thing. I wouldn't want to block the Ember and related deps work on it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ya, I don’t love it, a new issue sounds good to me so I can proceed through this slog 😆💞

@backspace backspace merged commit 2103e55 into master Feb 2, 2021
@backspace backspace deleted the f-ui/ember-a11y-testing-v4 branch February 2, 2021 18:45
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
theme/dependencies Pull requests that update a dependency file theme/ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants