frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Vite migration and cypress tests

Open stohrendorf opened this issue 7 months ago • 7 comments

Description

Migrates the build system to Vite, and adds Cypress tests to ensure future migrations don't break anything.

Additional Details

This focuses on test and build stuff only, which is already a big change, but should optimally not break anything.

Checklist

stohrendorf avatar May 05 '25 18:05 stohrendorf

:tada: Snyk checks have passed. No issues have been found so far.

:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)

owasp-dt-bot avatar May 05 '25 18:05 owasp-dt-bot

Much needed PR. Thank you. Are you planning to implement the SBOM generation in Vite as well? I think that was the missing piece preventing us from moving off of webpack.

stevespringett avatar May 13 '25 05:05 stevespringett

Much needed PR. Thank you. Are you planning to implement the SBOM generation in Vite as well? I think that was the missing piece preventing us from moving off of webpack.

Currently, I'm just trying to make the tests work and give it a more or less decent coverage so that a migration to Vue 3 has less chance to break something.

stohrendorf avatar May 13 '25 06:05 stohrendorf

Hi @stohrendorf and @stevespringett, I wanted to share that there's a plugin called rollup-plugin-sbom which supports CycloneDX SBOM generation for Vite projects. Many thanks to @janbiasi, @boostvolt, and @xenobytezero for this project

VinodAnandan avatar May 21 '25 16:05 VinodAnandan

Hi @stohrendorf and @stevespringett, I wanted to share that there's a plugin called rollup-plugin-sbom which supports CycloneDX SBOM generation for Vite projects. Many thanks to @janbiasi, @boostvolt, and @xenobytezero for this project

Hey @VinodAnandan, thanks for the mention! Please let me know if you're running into questions or need any kind of assistance :)

janbiasi avatar May 21 '25 20:05 janbiasi

To whoever manually approves the workflow runs - the cypress tests currently hang with some tests, I'm currently working on this.

stohrendorf avatar May 23 '25 05:05 stohrendorf

@stohrendorf I am trying to approve WF runs whenever I get notifications about changes here. If you are concerned about tests hanging, you can add timeout-minutes to the job that runs the tests. This is something we should do anyway for all workflows.

nscuro avatar May 23 '25 10:05 nscuro