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

chore: fix github workflow and failing tests #16593

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Conversation

sfoster1
Copy link
Member

@sfoster1 sfoster1 commented Oct 24, 2024

Messed up the app test workflow so it wasn't running and therefore we didn't notice some tests were failing. Fix the workflow, fix the tests.

Only changes of note are that vitest doesn't support baseline 2023 copying array reorder functions for some reason so replace them with equivalents.

  • test: protocols should still not bounce around on the odd dashboard

Vitest doesn't support the copying versions of array reordering
functions from baseline 2023, so for now replace them. That's easy for
the dashboard because we can just replace .toReversed().reduce(...) with
.reduceRight(...) but for the historic run sorting we have to
elementwise copy with .map(t=>t) and then sort in-place. Yuck!
@sfoster1 sfoster1 requested review from a team as code owners October 24, 2024 15:28
@sfoster1 sfoster1 requested review from ncdiehl11 and brenthagen and removed request for a team October 24, 2024 15:28
Copy link
Contributor

@brenthagen brenthagen left a comment

Choose a reason for hiding this comment

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

LGTM !

@brenthagen brenthagen merged commit 02236b3 into edge Oct 24, 2024
30 checks passed
@brenthagen brenthagen deleted the fix-test-workflow branch October 24, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants