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: upgrades default ts lib from es2018 + extras to full es2021 #29832

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

cacieprins
Copy link
Contributor

  • Closes

Additional details

@packages/server is compiled with esnext libs, while other packages (even ones that depend on @packages/server) are compiled with es2018 (+ a few es2021 feature specific libs). This can cause a ts-check mismatch, as e.g., @packages/net-stubbing depends on @packages/server. If the portions of @packages/server that @packages/net-stubbing imports include es2021 features, like AggregateError, ts-check will fail without this.

This is a fairly safe change, as it does not change the target ES version - just which polyfills Typescript will include behind the scenes.

Steps to test

How has the user experience changed?

PR Tasks

@cacieprins cacieprins marked this pull request as ready for review July 10, 2024 20:22
Copy link

cypress bot commented Jul 11, 2024

12 flaky tests on run #56075 ↗︎

0 29292 1328 0 Flakiness 12

Details:

chore: upgrades default ts lib from es2018 + extras to full es2021
Project: cypress Commit: 99d109380c
Status: Passed Duration: 22:58 💡
Started: Jul 11, 2024 3:02 PM Ended: Jul 11, 2024 3:25 PM
Flakiness  cypress/e2e/commands/querying/querying.cy.js • 1 flaky test • 5x-driver-electron

View Output

Test Artifacts
... > throws when alias property isnt just a digit Test Replay
Flakiness  cypress/e2e/e2e/origin/cookie_login.cy.ts • 1 flaky test • 5x-driver-firefox

View Output

Test Artifacts
... > past Max-Age, before Expires -> not logged in
    </td>
  </tr></table>
Flakiness  src/navigation/SidebarNavigation.cy.tsx • 1 flaky test • app-ct

View Output

Test Artifacts
SidebarNavigation > expands the bar when clicking the expand button Test Replay Screenshots
Flakiness  cypress/e2e/commands/querying/querying.cy.js • 1 flaky test • 5x-driver-chrome:beta

View Output

Test Artifacts
... > throws when alias property isnt just a digit Test Replay
Flakiness  cypress/e2e/commands/waiting.cy.js • 1 flaky test • 5x-driver-chrome:beta

View Output

Test Artifacts
... > errors > throws when waiting for 2nd response to route Test Replay

The first 5 flaky specs are shown, see all 9 specs in Cypress Cloud.

Review all test suite changes for PR #29832 ↗︎

@cacieprins cacieprins merged commit f0520f7 into develop Jul 11, 2024
83 of 85 checks passed
@cacieprins cacieprins deleted the chore/upgrade-base-ts-lib branch July 11, 2024 15:25
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.

None yet

3 participants