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: cypress on master doesn't work because of --parallel flag #30430

Merged
merged 5 commits into from
Sep 30, 2024

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Sep 30, 2024

I was really confused as to why my PR worked in my PR but not on the main branch after merging, and found out why... we're running a slightly different command on master where we want to use the Cypress dashboard feature (gets expensive quick on PRs, but is manageable on the main branch). Since my change went towards running a single spec at a time, the --parallel flag doesn't make sense and was erroring out.

I can't really test this easily outside master, so here we go.

I don't think anyone uses the Cypress dashboard tbh

tested here with gh workflow run superset-e2e.yml --ref no_dash --field use_dashboard=true --field ref=no_dash:
https://github.com/apache/superset/actions/runs/11098683939

I was really confused as to why my PR worked in my PR but not on the main branch after merging, and found out why... we're running a slightly different command on master where we want to use the Cypress dashboard feature (gets expensive quick on PRs, but is manageable on the main branch). Since my change went towards running a single spec at a time, the --parallel flag doesn't make sense and was erroring out.

I can't really test this easily outside master, so here we go.

I don't think anyone uses the Cypress dashboard tbh
@mistercrunch mistercrunch merged commit 999dca7 into master Sep 30, 2024
41 checks passed
@mistercrunch mistercrunch deleted the no_dash branch September 30, 2024 03:32
mistercrunch added a commit that referenced this pull request Sep 30, 2024
Following up on a series of PRs to try and fix cypress run, latest being this one #30430.

Here I'm working a bit in the dark since the logic on `master` in CI is slightly different from the logic in PRs.

On my latest try, I had an error related to a combination of retries in the context where the dashboard is used. Issue was around the group id's not being unique. Here I'm working around it by adding the attempt number to the group's id, which should fix it.

At this point I'm beyond annoyed with Cypress. Last try before I shut down using the dashboard feature (a paying service we don't really get much if any benefit from) at all.
nyohasstium pushed a commit to Webgains/superset that referenced this pull request Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code preset-io size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants