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

Multiple unsupported / non-working Cypress Cloud workflow templates #27951

Closed
MikeMcC399 opened this issue Oct 2, 2023 · 9 comments
Closed

Comments

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Oct 2, 2023

Current behavior

Several Cypress Cloud templates include selections which lead to the use of unsupported Node.js versions < 18, including Node.js 12, 14 and 16.

CI Provider Current Suggestion
GitHub Actions action/checkout@v3 action/checkout@v4
GitLab CI cypress/browsers:node12.14.1-chrome85-ff81 cypress/browsers:node-20.9.0-chrome-118.0.5993.88-1-ff-118.0.2-edge-118.0.2088.46-1
CircleCI cypress-io/cypress@3 no change needed
Azure ubuntu-16.04 ubuntu-latest
Bitbucket cypress/base:14.16.0 cypress/base:20.9.0
AWS CodeBuild nodejs: latest no change needed

Desired behavior

See suggestion column above.

Templates should align to documentation on

Test code to reproduce

Open https://cloud.cypress.io/
Click "New project"
Enter a project name, click "Create project"
Under section 3 "Finish CI setup", click a template selection.

Cypress Version

N/A - The cloud templates are not Cypress version-specific

Node version

unsupported versions suggested by Cypress Cloud templates

Operating System

various according to CI provider

Debug Logs

N/A

Other

References

@jennifer-shehane
Copy link
Member

@MikeMcC399 Thanks for pointing this out and adding suggestions. I've forwarded this to the Cloud team.

@MikeMcC399
Copy link
Contributor Author

MikeMcC399 commented Oct 20, 2023

@jennifer-shehane

  • I couldn't see any change to the templates yet and Node.js 20.x moved to be the active LTS version on Oct 24, 2023 (see Node.js release schedule)
  • I would change my suggestion to migrate the templates to use Node.js 20.x Cypress Docker images instead of Node.js 18.x ones.
  • Docker examples on https://docs.cypress.io/ should also be updated then to refer to the new LTS version as well.

Edit: updated text above

@MikeMcC399

This comment was marked as resolved.

@MikeMcC399

This comment was marked as resolved.

@MikeMcC399 MikeMcC399 changed the title Multiple Cloud templates suggest unsupported Node,js versions Multiple unsupported / non-working Cypress Cloud workflow templates Nov 20, 2023
@MikeMcC399
Copy link
Contributor Author

The Azure template mentioned above uses Ubuntu version 16.04.

@MikeMcC399
Copy link
Contributor Author

MikeMcC399 commented Nov 21, 2023

@jennifer-shehane

Is your Cloud team planning to fix this soon? I would guess that first-time Cypress Cloud users would be the major user group affected by the non-working templates, so they would have a less than ideal onboarding experience if they try to use the existing templates.

When I prepared the PRs to update the CI documentation it was about an hour's work. I can't do the same for the templates, since they're not housed in a public GitHub repo, but I imagine it would be about the same amount of effort. So I wonder what organizational barriers are preventing getting this fixed?

@jennifer-shehane
Copy link
Member

@MikeMcC399 It looks like it's on the Cloud teams board for next sprint, but I don't work on that team so can't commit to that timeline.

@MikeMcC399
Copy link
Contributor Author

@jennifer-shehane

It looks like it's on the Cloud teams board for next sprint, but I don't work on that team so can't commit to that timeline.

I'll close the issue here, since the contents which need to be changed are not part of this repo, so it's not the right place to track it.

@MikeMcC399 MikeMcC399 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2023
@MikeMcC399
Copy link
Contributor Author

The templates have been updated.

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

No branches or pull requests

2 participants