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

fix: add package.json metadata for webpack-dev-server #22292

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

ZachJW34
Copy link
Contributor

@ZachJW34 ZachJW34 commented Jun 13, 2022

User facing changelog

na

Additional details

npm-release is timing out on @cypress/webpack-dev-server. It is failing with

The authenticity of host 'github.com (140.82.112.3)' can't be established.`

The package.json for @cypress/webpack-dev-server is missing some required fields. It used to have these but we dropped them when doing the overhaul. I tested this change by ssh-ing into the npm-release job and verifying that it was able to move past this timeout.

I also removed the configured registry for @cypress/vue2 as we have had issues in the past releasing a package configured with the http:// since it's deprecated in favor of https:// which is the default value.

Steps to test

Job shows what's going on, I was only able to reproduce it on the CI machine

How has the user experience changed?

na

PR Tasks

  • [na] Have tests been added/updated?
  • [na] Has the original issue (or this PR, if no issue exists) been tagged with a release in ZenHub? (user-facing changes only)
  • [na] Has a PR for user-facing changes been opened in cypress-documentation?
  • [na] Have API changes been updated in the type definitions?

@ZachJW34 ZachJW34 requested a review from a team as a code owner June 13, 2022 21:04
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jun 13, 2022

Thanks for taking the time to open a PR!

@ZachJW34 ZachJW34 changed the title chore: prep npm packages for use with Cypress v10 fix: add package.json metadata for webpack-dev-server Jun 13, 2022
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cypress-io/cypress.git"
Copy link
Contributor

Choose a reason for hiding this comment

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

oh, @ryanthemanuel i bet this is why we were getting "authenticity cannot be established" - we were using git+ssh, and having repository.url set can force npm to use https instead, avoiding known_hosts verification. kudos @ZachJW34 for actually tracking this down

Copy link
Contributor

Choose a reason for hiding this comment

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

although i don't think you were touching these files when you first ran into 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.

Glad I could (unknowingly) help 😅

@cypress
Copy link

cypress bot commented Jun 13, 2022



Test summary

37555 0 454 0Flakiness 5


Run details

Project cypress
Status Passed
Commit a23247d
Started Jun 13, 2022 9:06 PM
Ended Jun 13, 2022 9:22 PM
Duration 16:11 💡
OS Linux Debian - 10.11
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

commands/actions/click.cy.js Flakiness
1 ... > scroll-behavior > can scroll to and click elements in html with scroll-behavior: smooth
commands/navigation.cy.js Flakiness
1 src/cy/commands/navigation > #visit > window immediately resolves and doesn't reload when visiting the same URL with hashes
next.cy.ts Flakiness
1 Working with next-11 > should detect new spec
cypress/proxy-logging.cy.ts Flakiness
1 Proxy Logging > request logging > xhr log has response body/status code when xhr response is logged second
2 Proxy Logging > request logging > xhr log has response body/status code when xhr response is logged second

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@ZachJW34 ZachJW34 merged commit 9cfec97 into master Jun 13, 2022
@ZachJW34 ZachJW34 deleted the zachw/fix-webpack-dev-server-release branch June 13, 2022 21:29
BeijiYang pushed a commit to BeijiYang/cypress that referenced this pull request Jun 23, 2022
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