Skip to content

chore: Restore cypress libraries from cache rather than rebuilding in ci#21189

Open
Zeyber wants to merge 18 commits intodevelopfrom
feature/cxspa-12224
Open

chore: Restore cypress libraries from cache rather than rebuilding in ci#21189
Zeyber wants to merge 18 commits intodevelopfrom
feature/cxspa-12224

Conversation

@Zeyber
Copy link
Contributor

@Zeyber Zeyber commented Feb 24, 2026

Closes: https://jira.tools.sap/browse/CXSPA-12224

Notes:

  • Checked job lengths.
    • A11y test suites themselves complete in under a minute.
    • Duration seems to be affected most by setup times.
    • B2C jobs seem to be the most impactful on duration. A11y jobs run in parallel to b2c so don't seem to impact total job duration.
    • A11y jobs also don't record in cypress dashboard. So job length seems to be misrepresented.
  • Tested if the order matters for job sequence in the yml file (ie. B2C => b2b => a11y / a11y => b2c => b2b).
    • Looking into this to see if resource allocation gets prioritized to earlier jobs first.
    • Looks like the order does not affect resource allocation.
  • Looking into setup steps.
    • It looks like npm packages still get installed on e2e jobs rather than restored from the cache.
    • Testing if packages can be restored from cache instead and checking the impact on job duration.

@Zeyber Zeyber requested a review from a team as a code owner February 24, 2026 05:59
@github-actions github-actions bot marked this pull request as draft February 24, 2026 05:59
@Zeyber Zeyber marked this pull request as ready for review February 24, 2026 05:59
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 24, 2026 06:23
@Zeyber Zeyber marked this pull request as ready for review February 24, 2026 06:26
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 24, 2026 06:42
@Zeyber Zeyber marked this pull request as ready for review February 24, 2026 06:44
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@cypress
Copy link

cypress bot commented Feb 24, 2026

spartacus    Run #51971

Run Properties:  status check passed Passed #51971  •  git commit 400bb543e0 ℹ️: Merge 1a4188253e1d812ef1a6079b93fffa160bc64f29 into 437e5ba62ab0c2297f3a3a3c3eeb...
Project spartacus
Branch Review feature/cxspa-12224
Run status status check passed Passed #51971
Run duration 11m 23s
Commit git commit 400bb543e0 ℹ️: Merge 1a4188253e1d812ef1a6079b93fffa160bc64f29 into 437e5ba62ab0c2297f3a3a3c3eeb...
Committer Caine Rotherham
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 101
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

@github-actions github-actions bot marked this pull request as draft February 24, 2026 07:22
@Zeyber Zeyber marked this pull request as ready for review February 24, 2026 07:22
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 24, 2026 07:41
@Zeyber Zeyber marked this pull request as ready for review February 24, 2026 07:43
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 24, 2026 07:44
@Zeyber Zeyber marked this pull request as ready for review February 24, 2026 07:45
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 24, 2026 08:08
@Zeyber Zeyber marked this pull request as ready for review February 24, 2026 08:09
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 26, 2026 09:41
@Zeyber Zeyber marked this pull request as ready for review February 26, 2026 09:41
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 26, 2026 09:45
@Zeyber Zeyber marked this pull request as ready for review February 26, 2026 09:47
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

This reverts commit 7f2bf9a.
@github-actions github-actions bot marked this pull request as draft February 26, 2026 10:47
@Zeyber Zeyber marked this pull request as ready for review February 26, 2026 11:06
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 26, 2026 11:27
@Zeyber Zeyber marked this pull request as ready for review February 26, 2026 11:27
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 26, 2026 11:43
@Zeyber Zeyber marked this pull request as ready for review February 26, 2026 11:43
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 26, 2026 12:53
@Zeyber Zeyber marked this pull request as ready for review February 26, 2026 12:53
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

@github-actions github-actions bot marked this pull request as draft February 26, 2026 14:06
@Zeyber Zeyber marked this pull request as ready for review February 26, 2026 14:06
@github-actions
Copy link
Contributor

Merge Checks Failed

Please push a commit to re-trigger the build.
To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`

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.

1 participant