Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test: add regression testing against old TS and ESLint versions in the CI#5573

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
bradzacher wants to merge17 commits intomainfromversion-regression-testing

Conversation

bradzacher
Copy link
Member

PR Checklist

Overview

#5571 shows that we really need to be testing against old TS versions.
This PR adds testing to the CI so that we can at least catch it.

michaelarnauts and drewbrend reacted with thumbs up emoji
@bradzacherbradzacher added the testsanything to do with testing labelAug 30, 2022
@nx-cloud
Copy link

nx-cloudbot commentedAug 30, 2022
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commit72527e5. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


🟥 Failed Commands
Node - nx test utils --coverage=false
Node - nx test utils --coverage=false
Node - nx test scope-manager --coverage=false
Node - nx test scope-manager --coverage=false
✅ Successfully ran 64 targets

Sent with 💌 fromNxCloud.

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@bradzacher!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day.

@netlify
Copy link

netlifybot commentedAug 30, 2022
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commit72527e5
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/63f3e5e66415b00008a2a581
😎 Deploy Previewhttps://deploy-preview-5573--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify site settings.

@bradzacherbradzacherforce-pushed theversion-regression-testing branch 2 times, most recently fromee3b014 to25fb41dCompareAugust 30, 2022 09:17
@bradzacher
Copy link
MemberAuthor

The actions are all setup and working just fine, but there is two problems to solve.

  1. Parsing new features in old versions.
    • Old TS parsers will crash on new syntax which will fail our snapshot tests in the scope analyser and parser, and will fail ESLint rule tests.
  2. Extension rules behave differently on old ESLint versions.
    • Some of our extension rules are built directly on top of the core rule's code - this means that their behaviour is dependent on the core rule's behaviour, which means the tests (which are written against the latest version) can break.

We need a way to:

  1. specify a minimum required TS version for a given snapshot.
  2. specify a minimum required TS version for a given ESLint rule test.
  3. specify a minimum required ESLint version for a given ESLint rule test.

PRIMARY_NODE_VERSION: 18
PRIMARY_TYPESCRIPT_VERSION: '~4.8.0'
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

side note that i hate that this is yet another thing for us to remember to keep in sync.

JoshuaKGoldberg reacted with laugh emoji
@JoshuaKGoldberg
Copy link
Member

Lots of merge conflicts and this is taking up space in the PR queue. I'm going to close this old draft just to keep the queue small.

@Josh-CenaJosh-Cena deleted the version-regression-testing branchMay 31, 2024 18:53
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJun 10, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
testsanything to do with testing
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add automated regression testing against old TS versions
2 participants
@bradzacher@JoshuaKGoldberg

[8]ページ先頭

©2009-2025 Movatter.jp