Skip to content

Commit a5a23fc

Browse files
Kristiyan IvanovKrumTyArtemHoruzhenkopd-redissnyk-bot
authored
Release/2.70.1 (#4689)
* RI-7091 - Add an environment variable to skip the EULA screen - initial implementation. Check vite.config! * RI-7091 - Add an environment variable to skip the EULA screen - updated texts * RI-7091 - Add an environment variable to skip the EULA screen - added tests * RI-7091 - Add an environment variable to skip the EULA screen - updated UI handling * RI-7129: fix Enterprise build upload workflow (#4558) * RI-7129: fix Enterprise s3 upload path * RI-7129: upload Enterprise statics for test builds only * RI-7129: remove vendor plugins for Enterprise builds * RI-7091 - Add an environment variable to skip the EULA screen * RI-7091 - Add an environment variable to skip the EULA screen - updated hard coded variables approach as per Artem's feedback * RI-7091 - Add an environment variable to skip the EULA screen - updated test cases * RI-7091 - Add an environment variable to skip the EULA screen - updated integration test cases * RI-7091 - Add an environment variable to skip the EULA screen - updated webpack config * RI-7091 rework repository * RI-7091 - Add an environment variable to skip the EULA screen - added encryption available utility method * RI-7091 - Add an environment variable to skip the EULA screen - updated tests * RI-7091 - Add an environment variable to skip the EULA screen - updated tests * RI-7091 - Add an environment variable to skip the EULA screen - replacing a function call with 3 files and a folder * do not switch to cluster when force standalone is provided in database.factory.ts * fix the order of commands stored in workbenchStorage.ts * add a test to verify we return standalone connection * RI-7038: Update Github flow to show code coverage reports to each PR (#4555) * RI-7038: add code coverage summary for FE tests * temp: trigger code change * update workflow * add jest coverage report * update workflows * update workflow * update workflow * update workflow file * update workflow * update workflow * update workflow * update workflow * update workflow * update workflow * update workflows * update code coverage title * remove comment * add integration tests code coverage * fix workflow * update integration workflow * update integration workflow * debug integration workflow * update workflow * remove debug section * update integration tests coverage markdown * remove dep install for jest test coverage * update integration flow and formatting * refactor workflows * update workflow * revert temp code change * RI-7038: apply review suggestions * fix: redisinsight/api/package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MULTER-10185673 - https://snyk.io/vuln/SNYK-JS-MULTER-10185675 * DEV: allow merges from latest branch * RI-000 - added .rpm as an enterprise build option * update lock file (#4602) * RI-7154: Color Theme select box shown incorrectly * fix empty value set for theme if user has not configured it before * add test case for default selection in theme dropdown * RI-7006: Replace resize related components (#4574) * Replace EUI panel with another libs resizable panel. * change browser panel sizes by the new array model instead of the key value object * add wrappers around the resizable components * replace the workbench view - query and result panel section * replace panels in instance page template * finish the handle design * create and replace the ResizeObserver everywhere * moved ImperativePanelGroupHandle import in resize components * RI-000 build with new mas profiles (#4592) * RI-7119 handle resisearch endpoints errors (#4572) * RI-7119 handle resisearch endpoints errors * RI-7119 resolve PR comments * Feature/ri 7103 split UI (#4583) * RI-7103 add app info * RI-7091 change env name to built-in one * RI-7103 make appInfo available on runtime * Feature/ri 7101 rework connection errors (#4580) * RI-7101 introduce redis connection errors and single handling mechanism * RI-7101 remove console.log * RI-7101 fix tests (#4579) * RI-7101 fix tests * RI-7101 fix tests * RI-7101 fix re tests * RI-7101 resolve PR comments * DEV: Fix missing import (#4618) * Feature/ri 7091 add an environment variable to skip the eula screen (#4588) * RI-7091 - Add an environment variable to skip the EULA screen - updated privacy link approach * RI-7091 - Add an environment variable to skip the EULA screen - updated existing settings check * RI-7091 - Add an environment variable to skip the EULA screen - updated text - out of regular scope * RI-7091 - Add an environment variable to skip the EULA screen - fixed auto discovery * RI-7091 - Add an environment variable to skip the EULA screen - fixed auto discovery * RI-7091 - Add an environment variable to skip the EULA screen - fixed auto discovery * RI-7091 - Add an environment variable to skip the EULA screen - fixed auto discovery * RI-7091 - Add an environment variable to skip the EULA screen - fixed auto discovery * RI-7091 - Add an environment variable to skip the EULA screen - fixed auto discovery * RI-7091 fix regular autodiscovery * RI-7091 - Add an environment variable to skip the EULA screen - testing a work around fix on top of Artem's suggestion * testing delaying of the autodiscovery as a way to avoid the odd race condition happening * removed setImmediate to check * removed setTimeouts * RI-7091 - extra logs and removed extra code * - * - * RI-7091 - Add an environment variable to skip the EULA screen - fixed integration tests * RI-7091 - Add an environment variable to skip the EULA screen - added BE tests * RI-7091 - Add an environment variable to skip the EULA screen - added FE tests --------- Co-authored-by: ArtemHoruzhenko <[email protected]> * fix handle direction to horizontal (#4624) * Feature/ri 7103 split UI (#4583) * RI-7103 add app info * RI-7091 change env name to built-in one * RI-7103 make appInfo available on runtime (cherry picked from commit ff73f39) * RI-7166: ReJSON fixes (#4626) * change label * introduce isWithinThreshold * display the button when content is within threshold * add hook tests * fix tests * add keys tests * change the default value * fix tests * use size instead of length * add env variable for precise config * RI-000 handle unsafe big amount of elements in complex json structures (#4629) * RI-000 handle unsafe big amount of elements in complex json structures * RI-000 tests + new message * RI-7178 - Redis Insight should display the RDI metrics even if the RDI pipeline status is not running (#4635) * Added more branch options to enforce-branch-name-rules.yml (#4636) I think it makes sense to support also fe - for just front end changes (recently had something like that for an RDI fix) in which cases there is no point in running the BE and integrations tests be - for just api changes. It also happens from time to time and it doesn't make sense to run all of our FE tests, especially how flaky they are. e2e - just for e2e tests. No point in wasting a lot of time (physical and github) to run all of the other tests * RI-7180 fix Bulk Summary layout * Bugfix/cluster info handle ipv6 (#4652) * Fix parseNodesFromClusterInfoReply to be able to handle non XXX.XXX.X.XX:PPPP formated ips. For example, ipv6 ips. * Add unit tests related to ipv6. * update documentation. * RI-7188 concat array with `concat()` function instead of `push` + `spread operator` (#4656) * RI-7136: Show overwrite confirmation when editing JSON in default editor (#4650) * RI-6953: Use correct telemetry event for Monaco edits (#4654) * RI-7171: Rename Monaco editor workflow Cancel button to Close (#4666) * RI-000 add missed error instance for logs (#4647) * Bump tar-fs from 2.1.2 to 2.1.3 in /redisinsight/api (#4604) Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.2 to 2.1.3. - [Commits](https://github.com/mafintosh/tar-fs/commits) --- updated-dependencies: - dependency-name: tar-fs dependency-version: 2.1.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Feature/ri 7158 uninstalling ri desktop installed from deb file doesnt work (#4667) * RI-7158 - Uninstalling RI desktop installed from deb file doesn't work - added on remove hook to handle it. * RI-7158 - Uninstalling RI desktop installed from deb file doesn't work - added on remove hook to handle it. * [Snyk] Security upgrade @nestjs/platform-express from 11.1.2 to 11.1.3 (#4613) * fix: redisinsight/api/package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MULTER-10299078 * Update yarn.lock --------- Co-authored-by: snyk-bot <[email protected]> Co-authored-by: Kristiyan Ivanov <[email protected]> * Bump tar-fs from 2.1.2 to 2.1.3 in /redisinsight (#4668) --- updated-dependencies: - dependency-name: tar-fs dependency-version: 2.1.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump brace-expansion from 1.1.11 to 1.1.12 in /redisinsight (#4669) Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 1.1.12 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix Node.js default runtime (#4661) * update the deafult Node.js version for the GitHub Actions workflow * update the default Node.js runtime version constraint in the package.json * update the engine check to actually use the official keyword * added .nvmrc with default Node.js version for easier setup * E2e/ri 7131 е2е tests are failing for both app image and docker (#4610) * RI-7131 - е2е tests are failing for both app image and docker - fixed dropdown not being clickable due to a placeholder * RI-7131 - е2е tests are failing for both app image and docker - fixed buttons, radio and checkboxes throwing errors * RI-7131 - е2е tests are failing for both app image and docker - testing fix for workbench issues * RI-7131 - е2е tests are failing for both app image and docker - skipping failing tests * E2e/ri 7131 docker handling (#4638) * RI-7131 * RI-7131 - skipped docker failing tests (part 1 / 4) * RI-7131 - skipped docker failing tests (part 2 / 4) * RI-7131 - skipped docker failing tests (part 3 / 4) * RI-7131 - skipped docker failing tests (part 4 / 4) * RI-7131 - skipped docker failing tests (part 4 / 4) * RI-7131 - skipped docker failing tests (part 5 / 4) * RI-7131 - skipped docker failing tests (part 6 / 4) * [Snyk] Security upgrade typeorm from 0.3.15 to 0.3.18 (#4642) * fix: redisinsight/api/package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BRACEEXPANSION-9789073 * updated lock file --------- Co-authored-by: snyk-bot <[email protected]> Co-authored-by: Kristiyan Ivanov <[email protected]> * release version bump * Test scripts were outputting to ./coverage/ but workflow expected ./test/test-runs/coverage/ (#4673) * RI-0000-fixing test coverage path mismatch (#4674) testing purposes! * Ri 0000 fixing coverage paths (#4675) Adding logs * Ri 0000 fixing coverage paths (#4676) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4677) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4678) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4679) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4682) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4683) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4686) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4687) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4688) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4690) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4691) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * Ri 0000 fixing coverage paths (#4693) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * Ri 0000 fixing coverage paths (#4694) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * Ri 0000 fixing coverage paths (#4695) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * Ri 0000 fixing coverage paths (#4696) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * Ri 0000 fixing coverage paths (#4697) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * Ri 0000 fixing coverage paths (#4698) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * Ri 0000 fixing coverage paths (#4699) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * Ri 0000 fixing coverage paths (#4700) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - removing logs and debug * Ri 0000 fixing coverage paths (#4701) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000-fixing test coverage path mismatch - removing logs and debug * Ri 0000 fixing coverage paths (#4703) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000 - fixing path issues - itest to ./itest * Ri 0000 fixing coverage paths (#4704) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000 - fixing path issues - itest to ./itest * RI-0000 - fixing path issues - itest to ./itest * Ri 0000 fixing coverage paths (#4705) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000 - fixing path issues - itest to ./itest * RI-0000 - fixing path issues - itest to ./itest * RI-0000 reverting to the main branch config * Ri 0000 fixing coverage paths (#4706) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000 - fixing path issues - itest to ./itest * RI-0000 - fixing path issues - itest to ./itest * RI-0000 reverting to the main branch config * RI-00000 fixing coverage paths - wront itest/results path? * Ri 0000 fixing coverage paths (#4707) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000 - fixing path issues - itest to ./itest * RI-0000 - fixing path issues - itest to ./itest * RI-0000 reverting to the main branch config * RI-00000 fixing coverage paths - wront itest/results path? * RI-0000 investigating the results.xml parsing * Ri 0000 fixing coverage paths (#4708) * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc params * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - testing nyc handling in the integrations * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000-fixing test coverage path mismatch - removing logs and debug * RI-0000 - fixing path issues - itest to ./itest * RI-0000 - fixing path issues - itest to ./itest * RI-0000 reverting to the main branch config * RI-00000 fixing coverage paths - wront itest/results path? * RI-0000 investigating the results.xml parsing * RI-0000 testing with java-unit for parsing --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Krum Tyukenov <[email protected]> Co-authored-by: ArtemHoruzhenko <[email protected]> Co-authored-by: pd-redis <[email protected]> Co-authored-by: snyk-bot <[email protected]> Co-authored-by: Pavel Angelov <[email protected]> Co-authored-by: dantovska <[email protected]> Co-authored-by: Artsiom Kharuzhenka <[email protected]> Co-authored-by: Sylvain Royer <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Valentin Kirilov <[email protected]>
1 parent fe01ea7 commit a5a23fc

File tree

219 files changed

+2811
-1256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+2811
-1256
lines changed

.github/actions/install-all-build-libs/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runs:
3333
- name: Setup Node
3434
uses: actions/[email protected]
3535
with:
36-
node-version: '20.18.0'
36+
node-version: '22.11.0'
3737
# disable cache for windows
3838
# https://github.com/actions/setup-node/issues/975
3939
cache: ${{ runner.os != 'Windows' && 'yarn' || '' }}

.github/build/release-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
HELP="Args:
5-
-v - Semver (2.70.0)
5+
-v - Semver (2.70.1)
66
-d - Build image repository (Ex: -d redisinsight)
77
-r - Target repository (Ex: -r redis/redisinsight)
88
"
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
name: 'Code Coverage'
2+
on:
3+
workflow_call:
4+
inputs:
5+
type:
6+
description: Type of report (unit or integration)
7+
type: string
8+
resource_name:
9+
description: Resource name of coverage report
10+
type: string
11+
12+
jobs:
13+
coverage-unit:
14+
runs-on: ubuntu-latest
15+
name: Unit tests coverage
16+
if: ${{ inputs.type == 'unit' }}
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Download Coverage Report
21+
uses: actions/download-artifact@v4
22+
with:
23+
name: ${{ inputs.resource_name }}
24+
path: report
25+
26+
- uses: jwalton/gh-find-current-pr@v1
27+
id: findPr
28+
29+
- uses: ArtiomTr/jest-coverage-report-action@v2
30+
with:
31+
prnumber: ${{ steps.findPr.outputs.number }}
32+
coverage-file: report/coverage/report.json
33+
base-coverage-file: report/coverage/report.json
34+
github-token: ${{ secrets.GITHUB_TOKEN }}
35+
skip-step: all
36+
custom-title: Code Coverage - ${{ inputs.resource_name == 'report-be' && 'Backend' || 'Frontend' }} unit tests
37+
38+
coverage-integration:
39+
runs-on: ubuntu-latest
40+
name: Integration tests coverage
41+
if: ${{ inputs.type == 'integration' }}
42+
steps:
43+
- uses: actions/checkout@v4
44+
45+
- name: Download Coverage Report
46+
uses: actions/download-artifact@v4
47+
with:
48+
name: ${{ inputs.resource_name }}
49+
50+
- name: Parse Coverage Summary
51+
id: parse-coverage
52+
run: |
53+
# Extract coverage data from file.
54+
# Example of processed row:
55+
# Statements : 81.75% ( 16130/19730 )
56+
# field '$3' = 81.75%, field '$5' = 16130
57+
extract_coverage_data() {
58+
local keyword=$1
59+
local field=$2
60+
awk "/$keyword/ {print $field}" integration-coverage.txt | tr -d '\n|%'
61+
}
62+
63+
# Determine status based on percentage
64+
get_status() {
65+
if [ "$(echo "$1 < 50" | bc)" -eq 1 ]; then
66+
echo "🔴"
67+
elif [ "$(echo "$1 < 80" | bc)" -eq 1 ]; then
68+
echo "🟡"
69+
else
70+
echo "🟢"
71+
fi
72+
}
73+
74+
# Extract coverage data from the summary
75+
STATEMENTS_PERCENT=$(extract_coverage_data "Statements" '$3')
76+
STATEMENTS_COVERED=$(extract_coverage_data "Statements" '$5')
77+
STATEMENTS_STATUS=$(get_status $STATEMENTS_PERCENT)
78+
79+
BRANCHES_PERCENT=$(extract_coverage_data "Branches" '$3')
80+
BRANCHES_COVERED=$(extract_coverage_data "Branches" '$5')
81+
BRANCHES_STATUS=$(get_status $BRANCHES_PERCENT)
82+
83+
FUNCTIONS_PERCENT=$(extract_coverage_data "Functions" '$3')
84+
FUNCTIONS_COVERED=$(extract_coverage_data "Functions" '$5')
85+
FUNCTIONS_STATUS=$(get_status $FUNCTIONS_PERCENT)
86+
87+
LINES_PERCENT=$(extract_coverage_data "Lines" '$3')
88+
LINES_COVERED=$(extract_coverage_data "Lines" '$5')
89+
LINES_STATUS=$(get_status $LINES_PERCENT)
90+
91+
# Format as a Markdown table
92+
echo "| Status | Category | Percentage | Covered / Total |" > coverage-table.md
93+
echo "|-------------|-------------|-------------|-----------------|" >> coverage-table.md
94+
echo "| $STATEMENTS_STATUS | Statements | ${STATEMENTS_PERCENT}% | ${STATEMENTS_COVERED} |" >> coverage-table.md
95+
echo "| $BRANCHES_STATUS | Branches | ${BRANCHES_PERCENT}% | ${BRANCHES_COVERED} |" >> coverage-table.md
96+
echo "| $FUNCTIONS_STATUS | Functions | ${FUNCTIONS_PERCENT}% | ${FUNCTIONS_COVERED} |" >> coverage-table.md
97+
echo "| $LINES_STATUS | Lines | ${LINES_PERCENT}% | ${LINES_COVERED} |" >> coverage-table.md
98+
99+
- uses: jwalton/gh-find-current-pr@v1
100+
id: findPr
101+
102+
- name: Post or Update Coverage Summary Comment
103+
uses: actions/github-script@v7
104+
with:
105+
script: |
106+
const fs = require('fs');
107+
const table = fs.readFileSync('coverage-table.md', 'utf8');
108+
const commentBody = `### Code Coverage - Integration Tests\n\n${table}`;
109+
110+
// Fetch existing comments on the pull request
111+
const { data: comments } = await github.rest.issues.listComments({
112+
owner: context.repo.owner,
113+
repo: context.repo.repo,
114+
issue_number: process.env.RR_Number,
115+
});
116+
117+
// Check if a comment with the same header already exists
118+
const existingComment = comments.find(comment =>
119+
comment.body.startsWith('### Code Coverage - Integration Tests')
120+
);
121+
122+
if (existingComment) {
123+
// Update the existing comment
124+
await github.rest.issues.updateComment({
125+
owner: context.repo.owner,
126+
repo: context.repo.repo,
127+
comment_id: existingComment.id,
128+
body: commentBody,
129+
});
130+
} else {
131+
// Create a new comment
132+
await github.rest.issues.createComment({
133+
owner: context.repo.owner,
134+
repo: context.repo.repo,
135+
issue_number: process.env.RR_Number,
136+
body: commentBody,
137+
});
138+
}
139+
env:
140+
RR_Number: ${{ steps.findPr.outputs.number }}

.github/workflows/enforce-branch-name-rules.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
"${{ github.head_ref }}" != bugfix/* && \
1717
"${{ github.head_ref }}" != release/* && \
1818
"${{ github.head_ref }}" != dependabot/* && \
19+
"${{ github.head_ref }}" != latest && \
20+
"${{ github.head_ref }}" != fe && \
21+
"${{ github.head_ref }}" != be && \
22+
"${{ github.head_ref }}" != e2e && \
1923
"${{ github.head_ref }}" != ric/* ]]; then
20-
echo "❌ Pull requests to 'main' are only allowed from 'feature/**', 'bugfix/**', 'release/**', 'dependabot/**', or 'ric/**' branches."
24+
echo "❌ Pull requests to 'main' are only allowed from 'feature/**', 'bugfix/**', 'release/**', 'dependabot/**', 'latest' or 'ric/**' branches."
2125
exit 1
2226
fi

.github/workflows/tests-integration.yml

Lines changed: 70 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,22 +137,76 @@ jobs:
137137
uses: actions/upload-artifact@v4
138138
with:
139139
name: coverages-${{ matrix.rte }}
140-
path: itest/coverages
140+
path: ./itest/coverages
141141

142-
- name: Send report to Slack
143-
if: inputs.report && always()
142+
- name: Debug and validate test result XML
143+
if: always()
144144
run: |
145-
ITEST_NAME=${{ matrix.rte }} node ./.github/itest-results.js
146-
curl -H "Content-type: application/json" --data @itests.report.json -H "Authorization: Bearer $SLACK_TEST_REPORT_KEY" -X POST https://slack.com/api/chat.postMessage
145+
echo "=== Checking source coverage directory ==="
146+
ls -la ./redisinsight/api/test/test-runs/coverage/ || echo "Source coverage directory doesn't exist"
147+
148+
echo "=== Checking test result files ==="
149+
ls -la ./itest/results/ || echo "Results directory doesn't exist"
150+
151+
echo "=== Current working directory ==="
152+
pwd
153+
ls -la .
154+
155+
XML_FILE="./itest/results/${{ matrix.rte }}.result.xml"
156+
SOURCE_XML="./redisinsight/api/test/test-runs/coverage/test-run-result.xml"
157+
158+
echo "=== Checking source XML file ==="
159+
if [ -f "$SOURCE_XML" ]; then
160+
echo "✅ Source XML found: $SOURCE_XML"
161+
echo "Source file size: $(wc -c < "$SOURCE_XML") bytes"
162+
else
163+
echo "❌ Source XML not found: $SOURCE_XML"
164+
fi
165+
166+
if [ -f "$XML_FILE" ]; then
167+
echo "=== XML file found: $XML_FILE ==="
168+
echo "File size: $(wc -c < "$XML_FILE") bytes"
169+
echo "Line count: $(wc -l < "$XML_FILE") lines"
170+
171+
echo "=== First 20 lines of XML ==="
172+
head -20 "$XML_FILE"
173+
174+
echo "=== Last 10 lines of XML ==="
175+
tail -10 "$XML_FILE"
176+
177+
echo "=== Checking XML validity ==="
178+
if command -v xmllint >/dev/null 2>&1; then
179+
if xmllint --noout "$XML_FILE" 2>/dev/null; then
180+
echo "✅ XML is well-formed"
181+
else
182+
echo "❌ XML is malformed"
183+
xmllint --noout "$XML_FILE" 2>&1 || true
184+
fi
185+
else
186+
echo "xmllint not available, skipping XML validation"
187+
fi
188+
189+
echo "=== Basic XML structure check ==="
190+
if grep -q "<testsuites" "$XML_FILE" && grep -q "</testsuites>" "$XML_FILE"; then
191+
echo "✅ XML has testsuites root element"
192+
else
193+
echo "❌ XML missing testsuites root element"
194+
fi
195+
196+
else
197+
echo "❌ XML file not found: $XML_FILE"
198+
echo "Available files in ./itest/results/:"
199+
ls -la ./itest/results/ 2>/dev/null || echo "Directory doesn't exist"
200+
fi
147201
148202
- name: Generate test results
149203
uses: dorny/test-reporter@v1
150204
id: test-reporter
151205
if: always()
152206
with:
153207
name: 'Test results: IT (${{ matrix.rte }}) tests'
154-
path: itest/results/*.result.xml
155-
reporter: jest-junit
208+
path: ./itest/results/*.result.xml
209+
reporter: java-junit
156210
list-tests: 'failed'
157211
list-suites: 'failed'
158212
fail-on-error: 'false'
@@ -191,7 +245,14 @@ jobs:
191245
sudo mkdir -p /usr/src/app
192246
sudo cp -a ./redisinsight/api/. /usr/src/app/
193247
sudo cp -R ./coverages /usr/src/app && sudo chmod 777 -R /usr/src/app
194-
cd /usr/src/app && npx nyc report -t ./coverages -r text -r text-summary
248+
cd /usr/src/app && npx nyc report -t ./coverages -r text -r text-summary > integration-coverage.txt
249+
cp integration-coverage.txt $GITHUB_WORKSPACE/integration-coverage.txt
250+
251+
- name: Upload integration-coverage as artifact
252+
uses: actions/upload-artifact@v4
253+
with:
254+
name: integration-coverage
255+
path: integration-coverage.txt
195256

196257
- name: Delete Artifact
197258
uses: actions/github-script@v7
@@ -201,4 +262,4 @@ jobs:
201262
owner: context.repo.owner,
202263
repo: context.repo.repo,
203264
artifact_id: ${{ steps.merge-artifacts.outputs.artifact-id }}
204-
});
265+
});

.github/workflows/tests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,28 @@ jobs:
9494
uses: ./.github/workflows/tests-frontend.yml
9595
secrets: inherit
9696

97+
frontend-tests-coverage:
98+
needs: frontend-tests
99+
uses: ./.github/workflows/code-coverage.yml
100+
secrets: inherit
101+
with:
102+
resource_name: report-fe
103+
type: unit
104+
97105
backend-tests:
98106
needs: changes
99107
if: inputs.group_tests == 'all' || inputs.group_tests == 'without_e2e' || startsWith(github.ref_name, 'be/') || startsWith(github.ref_name, 'fe-be/') || startsWith(github.ref_name, 'feature/') || startsWith(github.ref_name, 'bugfix/') || startsWith(github.ref_name, 'ric/')
100108
uses: ./.github/workflows/tests-backend.yml
101109
secrets: inherit
102110

111+
backend-tests-coverage:
112+
needs: backend-tests
113+
uses: ./.github/workflows/code-coverage.yml
114+
secrets: inherit
115+
with:
116+
resource_name: report-be
117+
type: unit
118+
103119
integration-tests:
104120
needs: changes
105121
if: inputs.group_tests == 'all' || inputs.group_tests == 'without_e2e' || startsWith(github.ref_name, 'be/') || startsWith(github.ref_name, 'fe-be/') || startsWith(github.ref_name, 'feature/') || startsWith(github.ref_name, 'bugfix/') || startsWith(github.ref_name, 'ric/')
@@ -110,6 +126,14 @@ jobs:
110126
redis_client: ${{ inputs.redis_client || '' }}
111127
debug: ${{ inputs.debug || false }}
112128

129+
integration-tests-coverage:
130+
needs: integration-tests
131+
uses: ./.github/workflows/code-coverage.yml
132+
secrets: inherit
133+
with:
134+
resource_name: integration-coverage
135+
type: integration
136+
113137
# # E2E Approve
114138
e2e-approve:
115139
runs-on: ubuntu-latest

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.11.0

electron-builder.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
}
124124
},
125125
"deb": {
126-
"afterInstall": "scripts/deb-after-install.sh"
126+
"afterInstall": "scripts/deb-after-install.sh",
127+
"afterRemove": "scripts/deb-before-remove.sh"
127128
},
128129
"snap": {
129130
"plugs": ["default", "password-manager-service"],

jest.config.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ module.exports = {
2626
'^uuid$': require.resolve('uuid'),
2727
msgpackr: require.resolve('msgpackr'),
2828
'brotli-dec-wasm': '<rootDir>/redisinsight/__mocks__/brotli-dec-wasm.js',
29+
'react-resizable-panels':
30+
'<rootDir>/redisinsight/__mocks__/react-resizable-panels.js',
2931
},
3032
setupFiles: [
3133
'construct-style-sheets-polyfill',

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"test:api": "yarn --cwd redisinsight/api test",
4949
"test:api:integration": "yarn --cwd redisinsight/api test:api",
5050
"test:watch": "jest ./redisinsight/ui --watch -w 1",
51-
"test:cov": "cross-env NODE_OPTIONS='' jest ./redisinsight/ui --silent --coverage --no-cache --forceExit -w 3",
51+
"test:cov": "cross-env NODE_OPTIONS='' jest ./redisinsight/ui --testLocationInResults --json --outputFile=\"report/coverage/report.json\" --silent --coverage --no-cache --forceExit -w 3",
5252
"test:cov:unit": "jest ./redisinsight/ui --group=-component --coverage -w 1",
5353
"test:cov:component": "jest ./redisinsight/ui --group=component --coverage -w 1",
5454
"type-check:ui": "tsc --project redisinsight/ui --noEmit"
@@ -236,6 +236,7 @@
236236
"@elastic/eui": "34.6.0",
237237
"@reduxjs/toolkit": "^1.6.2",
238238
"@stablelib/snappy": "^1.0.2",
239+
"@types/json-dup-key-validator": "^1.0.2",
239240
"ajv": "^8.17.1",
240241
"axios": "^1.8.4",
241242
"brotli-dec-wasm": "^2.3.0",
@@ -259,6 +260,7 @@
259260
"java-object-serialization": "^0.1.2",
260261
"js-yaml": "^4.1.0",
261262
"json-bigint": "^1.0.0",
263+
"json-dup-key-validator": "^1.0.3",
262264
"jsonpath": "^1.1.1",
263265
"jszip": "^3.10.1",
264266
"lodash": "^4.17.21",
@@ -279,6 +281,7 @@
279281
"react-jsx-parser": "^1.28.4",
280282
"react-monaco-editor": "^0.55.0",
281283
"react-redux": "^7.2.2",
284+
"react-resizable-panels": "^3.0.2",
282285
"react-rnd": "^10.3.5",
283286
"react-router-dom": "^5.3.4",
284287
"react-virtualized": "^9.22.2",
@@ -297,8 +300,13 @@
297300
"url-parse": "^1.5.10",
298301
"uuid": "^8.3.2"
299302
},
303+
"engines": {
304+
"node": ">=22.x",
305+
"npm": ">=6.x",
306+
"yarn": ">=1.21.3"
307+
},
300308
"devEngines": {
301-
"node": ">=16.x",
309+
"node": ">=22.x",
302310
"npm": ">=6.x",
303311
"yarn": ">=1.21.3"
304312
},

0 commit comments

Comments
 (0)