plum-e2e 2.6.9 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +17 -2
- package/LICENSE +21 -677
- package/README.md +1 -1
- package/backend/Dockerfile +1 -13
- package/backend/app.js +4 -14
- package/backend/config/scripts/create-step.mjs +1 -13
- package/backend/config/scripts/create-test.mjs +1 -13
- package/backend/config/scripts/generate-report.js +5 -15
- package/backend/config/scripts/run-tests.js +5 -16
- package/backend/constants/defaults.js +8 -0
- package/backend/constants/env.js +16 -0
- package/backend/constants/jobStatus.js +21 -0
- package/backend/constants/socketEvents.js +40 -0
- package/backend/constants/triggers.js +6 -14
- package/backend/entrypoint.sh +1 -13
- package/backend/lib/authHeader.js +16 -0
- package/backend/lib/globalRegistry.js +1 -13
- package/backend/lib/nodeRegister.js +1 -13
- package/backend/lib/reportFilename.js +1 -13
- package/backend/lib/retryRunner.js +1 -13
- package/backend/lib/runnerProcess.js +5 -16
- package/backend/lib/screenshotPoller.js +1 -13
- package/backend/lib/serverBootstrap.js +189 -0
- package/backend/lib/serverConfig.js +1 -13
- package/backend/lib/testChunker.js +1 -13
- package/backend/lib/testEnv.js +1 -13
- package/backend/mcp/server.js +5 -15
- package/backend/middleware/auth.js +4 -14
- package/backend/middleware/jwtAuth.js +5 -16
- package/backend/middleware/requireAdmin.js +1 -13
- package/backend/package.json +3 -3
- package/backend/playwright.config.js +1 -13
- package/backend/routes/active-runs.routes.js +18 -0
- package/backend/routes/auth.routes.js +1 -13
- package/backend/routes/backup.routes.js +10 -21
- package/backend/routes/cron.routes.js +1 -13
- package/backend/routes/node.routes.js +11 -148
- package/backend/routes/reports.routes.js +1 -13
- package/backend/routes/runners.routes.js +11 -21
- package/backend/routes/settings.routes.js +6 -17
- package/backend/routes/test-cases.routes.js +1 -13
- package/backend/routes/test-runs.routes.js +1 -13
- package/backend/routes/test-suites.routes.js +1 -13
- package/backend/routes/tests.routes.js +1 -13
- package/backend/routes/trigger.routes.js +23 -165
- package/backend/routes/users.routes.js +1 -13
- package/backend/scripts/manage-runners.mjs +1 -13
- package/backend/server.js +34 -151
- package/backend/services/activeRunsService.js +55 -0
- package/backend/services/backupCronService.js +1 -13
- package/backend/services/backupService.js +7 -17
- package/backend/services/cronService.js +57 -39
- package/backend/services/envService.js +1 -13
- package/backend/services/nodeExecutionService.js +140 -0
- package/backend/services/notificationService.js +7 -17
- package/backend/services/prisma.js +1 -13
- package/backend/services/reportService.js +21 -17
- package/backend/services/runnerService.js +46 -27
- package/backend/services/settingsService.js +19 -19
- package/backend/services/testCaseService.js +1 -13
- package/backend/services/testRunService.js +1 -13
- package/backend/services/testService.js +1 -13
- package/backend/services/testSuiteService.js +1 -13
- package/backend/services/triggerService.js +246 -0
- package/backend/services/userService.js +1 -13
- package/backend/websockets/socketHandler.js +99 -48
- package/bin/plum.js +1 -13
- package/bin/postinstall.js +1 -13
- package/bin/scaffold-tests.js +1 -13
- package/docker-compose.node.yml +1 -13
- package/docker-compose.yml +1 -13
- package/frontend/.svelte-kit/adapter-node/.vite/manifest.json +3 -3
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Badge.D1SV0Gv7.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/EmptyState.DUDM4P19.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Modal.BuaCfdLj.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Pagination.DZmi2Po-.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Toast.DENwYn3g.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_layout.BuhMvMUj.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.0Eln51hV.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.5IJAEAjc.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BR3wgXcZ.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BWAH0Beh.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BZfe6nWe.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Bj_a_5lv.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BwgOqeMo.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CBHi6pzT.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CFnbmY-D.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.DvMkmYA-.css +1 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page._h2o67kg.css +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/BackLink.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/Badge.js +1 -23
- package/frontend/.svelte-kit/adapter-node/chunks/ConfirmModal.js +1 -23
- package/frontend/.svelte-kit/adapter-node/chunks/EmptyState.js +2 -24
- package/frontend/.svelte-kit/adapter-node/chunks/Modal.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/Toast.js +1 -23
- package/frontend/.svelte-kit/adapter-node/chunks/attributes.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/auth.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/auth2.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/client.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/common.js +9 -29
- package/frontend/.svelte-kit/adapter-node/chunks/constants.js +4 -23
- package/frontend/.svelte-kit/adapter-node/chunks/escaping.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/exports.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/format.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/index-server.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/index.js +4 -26
- package/frontend/.svelte-kit/adapter-node/chunks/index2.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/internal.js +1 -23
- package/frontend/.svelte-kit/adapter-node/chunks/reports.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/reports2.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/repository.js +10 -34
- package/frontend/.svelte-kit/adapter-node/chunks/runner.js +2 -25
- package/frontend/.svelte-kit/adapter-node/chunks/stores.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/theme.js +0 -22
- package/frontend/.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js +0 -22
- package/frontend/.svelte-kit/adapter-node/entries/pages/_layout.js +0 -22
- package/frontend/.svelte-kit/adapter-node/entries/pages/_layout.svelte.js +0 -22
- package/frontend/.svelte-kit/adapter-node/entries/pages/_page.svelte.js +114 -103
- package/frontend/.svelte-kit/adapter-node/entries/pages/login/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_id_/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/live/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/scheduled-tests/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/settings/_page.svelte.js +2 -24
- package/frontend/.svelte-kit/adapter-node/entries/pages/setup/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/runs/_id_/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/suites/_id_/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/adapter-node/index.js +0 -22
- package/frontend/.svelte-kit/adapter-node/internal.js +0 -22
- package/frontend/.svelte-kit/adapter-node/manifest-full.js +1 -23
- package/frontend/.svelte-kit/adapter-node/manifest.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/0.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/1.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/10.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/11.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/12.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/2.js +2 -24
- package/frontend/.svelte-kit/adapter-node/nodes/3.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/4.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/5.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/6.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/7.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/8.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/9.js +1 -23
- package/frontend/.svelte-kit/ambient.d.ts +2 -22
- package/frontend/.svelte-kit/generated/client/app.js +0 -22
- package/frontend/.svelte-kit/generated/client/matchers.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/0.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/1.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/10.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/11.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/12.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/2.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/3.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/4.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/5.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/6.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/7.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/8.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/9.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/app.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/matchers.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/0.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/1.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/10.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/11.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/12.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/2.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/3.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/4.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/5.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/6.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/7.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/8.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/9.js +0 -22
- package/frontend/.svelte-kit/generated/root.js +0 -22
- package/frontend/.svelte-kit/generated/root.svelte +0 -22
- package/frontend/.svelte-kit/generated/server/internal.js +1 -23
- package/frontend/.svelte-kit/non-ambient.d.ts +0 -22
- package/frontend/.svelte-kit/output/client/.vite/manifest.json +225 -224
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/0.BhSG-jZH.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/10.CdaQUS6U.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/11.BWAH0Beh.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/12.Bj_a_5lv.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/2.DvMkmYA-.css +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/3.BR3wgXcZ.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/4.0Eln51hV.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/5.DFV9OgAu.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/6.CFnbmY-D.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/7.CBHi6pzT.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.BwgOqeMo.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/9._h2o67kg.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Badge.D1SV0Gv7.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Button.FOWXxvc7.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/EmptyState.DUDM4P19.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Modal.BZpm0HP8.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Modal.BuaCfdLj.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Pagination.DZmi2Po-.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Toast.DENwYn3g.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_layout.BuhMvMUj.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.0Eln51hV.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.5IJAEAjc.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BR3wgXcZ.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BWAH0Beh.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BZfe6nWe.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Bj_a_5lv.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BwgOqeMo.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CBHi6pzT.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CFnbmY-D.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.DvMkmYA-.css +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page._h2o67kg.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/2zMvi6fR.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{D2cvzNT9.js → 3InFPLvE.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BAACMRH5.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BAMUGSh7.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BKuh57WU.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DkNBSlo2.js → BUwxRmHf.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Bfc47y5P.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DYlaQsvN.js → BmZ9upwL.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C1Vid6wz.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C8OURRSs.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CGeZlCaI.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CKDtmZUQ.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CMBQQ9RZ.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{BjUpWNbl.js → CMEtqUfQ.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CNdcuGR0.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CUC98kMZ.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CgnwuKKO.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{B98sHkeB.js → Co3xKhEp.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CuqnZUex.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DlNYZJ7K.js → CzlPaHY9.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DCgHuuvs.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DHM6H-es.js +2 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{3IV-uqHa.js → DMZwI8Cj.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DMyTUV-Y.js +3 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{D2gYTmAA.js → DSLBMEpr.js} +1 -23
- package/frontend/{build/client/_app/immutable/chunks/DDblTLLE.js → .svelte-kit/output/client/_app/immutable/chunks/DbgD7JLa.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Dlnxgs49.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/TOCyHP97.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/nURnIknV.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/t-La0hgu.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/w0D4Uzlq.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/{app.BCWbw5zZ.js → app.BkBD0hgA.js} +2 -24
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/start.BxeX1Uxs.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.ChjDHxSJ.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/1.DBSWa36f.js +1 -0
- package/frontend/{build/client/_app/immutable/nodes/10.Bn4Ma-MU.js → .svelte-kit/output/client/_app/immutable/nodes/10.DEbnxfND.js} +1 -23
- package/frontend/{build/client/_app/immutable/nodes/11.BacEu7sW.js → .svelte-kit/output/client/_app/immutable/nodes/11.O4cjXCg4.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.BWQdeRdX.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.BnHalSCi.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{3.DHx0kho3.js → 3._S1vrLVF.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{4.CnaMiirx.js → 4.D-YT_JJe.js} +1 -23
- package/frontend/{build/client/_app/immutable/nodes/5.B6m-zTVe.js → .svelte-kit/output/client/_app/immutable/nodes/5.BiFBiWcW.js} +1 -23
- package/frontend/{build/client/_app/immutable/nodes/6.BPDag1zv.js → .svelte-kit/output/client/_app/immutable/nodes/6.BNS-W0R_.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{7.D7LwxSvT.js → 7.C-pKvVZy.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{8.CCkNX20G.js → 8.BEUdazrw.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{9.HDerA6JV.js → 9.CrLHYPEJ.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/version.json +1 -1
- package/frontend/.svelte-kit/output/server/.vite/manifest.json +3 -3
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/Badge.D1SV0Gv7.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/EmptyState.DUDM4P19.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/Modal.BuaCfdLj.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/Pagination.DZmi2Po-.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/Toast.DENwYn3g.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_layout.BuhMvMUj.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.0Eln51hV.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.5IJAEAjc.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BR3wgXcZ.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BWAH0Beh.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BZfe6nWe.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Bj_a_5lv.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BwgOqeMo.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CBHi6pzT.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CFnbmY-D.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.DvMkmYA-.css +1 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page._h2o67kg.css +0 -22
- package/frontend/.svelte-kit/output/server/chunks/BackLink.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/Badge.js +1 -23
- package/frontend/.svelte-kit/output/server/chunks/ConfirmModal.js +1 -23
- package/frontend/.svelte-kit/output/server/chunks/EmptyState.js +2 -24
- package/frontend/.svelte-kit/output/server/chunks/Modal.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/Toast.js +1 -23
- package/frontend/.svelte-kit/output/server/chunks/attributes.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/auth.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/auth2.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/client.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/common.js +9 -29
- package/frontend/.svelte-kit/output/server/chunks/constants.js +4 -23
- package/frontend/.svelte-kit/output/server/chunks/escaping.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/exports.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/format.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/index-server.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/index.js +4 -26
- package/frontend/.svelte-kit/output/server/chunks/index2.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/internal.js +1 -23
- package/frontend/.svelte-kit/output/server/chunks/reports.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/reports2.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/repository.js +10 -34
- package/frontend/.svelte-kit/output/server/chunks/runner.js +2 -25
- package/frontend/.svelte-kit/output/server/chunks/stores.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/theme.js +0 -22
- package/frontend/.svelte-kit/output/server/entries/fallbacks/error.svelte.js +0 -22
- package/frontend/.svelte-kit/output/server/entries/pages/_layout.js +0 -22
- package/frontend/.svelte-kit/output/server/entries/pages/_layout.svelte.js +0 -22
- package/frontend/.svelte-kit/output/server/entries/pages/_page.svelte.js +114 -103
- package/frontend/.svelte-kit/output/server/entries/pages/login/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/reports/_id_/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/reports/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/reports/live/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/scheduled-tests/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/settings/_page.svelte.js +2 -24
- package/frontend/.svelte-kit/output/server/entries/pages/setup/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/runs/_id_/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/suites/_id_/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/output/server/index.js +0 -22
- package/frontend/.svelte-kit/output/server/internal.js +0 -22
- package/frontend/.svelte-kit/output/server/manifest-full.js +1 -23
- package/frontend/.svelte-kit/output/server/manifest.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/0.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/1.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/10.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/11.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/12.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/2.js +2 -24
- package/frontend/.svelte-kit/output/server/nodes/3.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/4.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/5.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/6.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/7.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/8.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/9.js +1 -23
- package/frontend/Dockerfile +1 -13
- package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css +0 -22
- package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css +0 -22
- package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css +0 -22
- package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css +0 -22
- package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/2.DvMkmYA-.css +1 -0
- package/frontend/build/client/_app/immutable/assets/2.DvMkmYA-.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/2.DvMkmYA-.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css +0 -22
- package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css +0 -22
- package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css +0 -22
- package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css +0 -22
- package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css +0 -22
- package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css +0 -22
- package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css +0 -22
- package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -22
- package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +0 -22
- package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css +0 -22
- package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.DvMkmYA-.css +1 -0
- package/frontend/build/client/_app/immutable/assets/_page.DvMkmYA-.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.DvMkmYA-.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{D2cvzNT9.js → 3InFPLvE.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/3InFPLvE.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/3InFPLvE.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAMUGSh7.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/BAMUGSh7.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAMUGSh7.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BKuh57WU.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/BKuh57WU.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BKuh57WU.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DkNBSlo2.js → BUwxRmHf.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/BUwxRmHf.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BUwxRmHf.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DYlaQsvN.js → BmZ9upwL.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/BmZ9upwL.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BmZ9upwL.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CGeZlCaI.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/CGeZlCaI.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CGeZlCaI.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{BjUpWNbl.js → CMEtqUfQ.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/CMEtqUfQ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMEtqUfQ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CUC98kMZ.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/CUC98kMZ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CUC98kMZ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{B98sHkeB.js → Co3xKhEp.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/Co3xKhEp.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Co3xKhEp.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.br +1 -21
- package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DlNYZJ7K.js → CzlPaHY9.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/CzlPaHY9.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CzlPaHY9.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DHM6H-es.js +2 -0
- package/frontend/build/client/_app/immutable/chunks/DHM6H-es.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DHM6H-es.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{3IV-uqHa.js → DMZwI8Cj.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/DMZwI8Cj.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DMZwI8Cj.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DMyTUV-Y.js +3 -0
- package/frontend/build/client/_app/immutable/chunks/DMyTUV-Y.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DMyTUV-Y.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{D2gYTmAA.js → DSLBMEpr.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/DSLBMEpr.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DSLBMEpr.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/DDblTLLE.js → build/client/_app/immutable/chunks/DbgD7JLa.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/DbgD7JLa.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DbgD7JLa.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/nURnIknV.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/nURnIknV.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/nURnIknV.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/{app.BCWbw5zZ.js → app.BkBD0hgA.js} +2 -24
- package/frontend/build/client/_app/immutable/entry/app.BkBD0hgA.js.br +0 -0
- package/frontend/build/client/_app/immutable/entry/app.BkBD0hgA.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/start.BxeX1Uxs.js +1 -0
- package/frontend/build/client/_app/immutable/entry/start.BxeX1Uxs.js.br +2 -0
- package/frontend/build/client/_app/immutable/entry/start.BxeX1Uxs.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.ChjDHxSJ.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/0.ChjDHxSJ.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.ChjDHxSJ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.DBSWa36f.js +1 -0
- package/frontend/build/client/_app/immutable/nodes/1.DBSWa36f.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.DBSWa36f.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/10.Bn4Ma-MU.js → build/client/_app/immutable/nodes/10.DEbnxfND.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/10.DEbnxfND.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.DEbnxfND.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/11.BacEu7sW.js → build/client/_app/immutable/nodes/11.O4cjXCg4.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/11.O4cjXCg4.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.O4cjXCg4.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.BWQdeRdX.js +1 -0
- package/frontend/build/client/_app/immutable/nodes/12.BWQdeRdX.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.BWQdeRdX.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.BnHalSCi.js +1 -0
- package/frontend/build/client/_app/immutable/nodes/2.BnHalSCi.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.BnHalSCi.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{3.DHx0kho3.js → 3._S1vrLVF.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/3._S1vrLVF.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/3._S1vrLVF.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{4.CnaMiirx.js → 4.D-YT_JJe.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/4.D-YT_JJe.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.D-YT_JJe.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/5.B6m-zTVe.js → build/client/_app/immutable/nodes/5.BiFBiWcW.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/5.BiFBiWcW.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.BiFBiWcW.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/6.BPDag1zv.js → build/client/_app/immutable/nodes/6.BNS-W0R_.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/6.BNS-W0R_.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.BNS-W0R_.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{7.D7LwxSvT.js → 7.C-pKvVZy.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/7.C-pKvVZy.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.C-pKvVZy.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{8.CCkNX20G.js → 8.BEUdazrw.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/8.BEUdazrw.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.BEUdazrw.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{9.HDerA6JV.js → 9.CrLHYPEJ.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/9.CrLHYPEJ.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.CrLHYPEJ.js.gz +0 -0
- package/frontend/build/client/_app/version.json +1 -1
- package/frontend/build/client/_app/version.json.br +0 -0
- package/frontend/build/client/_app/version.json.gz +0 -0
- package/frontend/build/env.js +0 -22
- package/frontend/build/handler.js +0 -22
- package/frontend/build/index.js +0 -22
- package/frontend/build/server/chunks/0-Cn_2hzqk.js +17 -0
- package/frontend/build/server/chunks/0-Cn_2hzqk.js.map +1 -0
- package/frontend/build/server/chunks/1-BrRGJFSB.js +9 -0
- package/frontend/build/server/chunks/1-BrRGJFSB.js.map +1 -0
- package/frontend/build/server/chunks/10-l6_ikL_D.js +9 -0
- package/frontend/build/server/chunks/10-l6_ikL_D.js.map +1 -0
- package/frontend/build/server/chunks/11-BLPbHJqB.js +9 -0
- package/frontend/build/server/chunks/11-BLPbHJqB.js.map +1 -0
- package/frontend/build/server/chunks/12-S1ujUrHy.js +9 -0
- package/frontend/build/server/chunks/12-S1ujUrHy.js.map +1 -0
- package/frontend/build/server/chunks/2-Cte30Dgy.js +9 -0
- package/frontend/build/server/chunks/2-Cte30Dgy.js.map +1 -0
- package/frontend/build/server/chunks/3-BHkXVoNI.js +9 -0
- package/frontend/build/server/chunks/3-BHkXVoNI.js.map +1 -0
- package/frontend/build/server/chunks/4-Bo04DC5Z.js +9 -0
- package/frontend/build/server/chunks/4-Bo04DC5Z.js.map +1 -0
- package/frontend/build/server/chunks/5-F1ZsXMt2.js +9 -0
- package/frontend/build/server/chunks/5-F1ZsXMt2.js.map +1 -0
- package/frontend/build/server/chunks/6-FlZLnYJ6.js +9 -0
- package/frontend/build/server/chunks/6-FlZLnYJ6.js.map +1 -0
- package/frontend/build/server/chunks/7-DiQJZEF_.js +9 -0
- package/frontend/build/server/chunks/{7-DekQfQHu.js.map → 7-DiQJZEF_.js.map} +1 -21
- package/frontend/build/server/chunks/8-DXReUGxi.js +9 -0
- package/frontend/build/server/chunks/8-DXReUGxi.js.map +1 -0
- package/frontend/build/server/chunks/9-Cy_mGmt4.js +9 -0
- package/frontend/build/server/chunks/9-Cy_mGmt4.js.map +1 -0
- package/frontend/build/server/chunks/BackLink-BJ8NaemM.js +13 -0
- package/frontend/build/server/chunks/{BackLink-KxZNqsaq.js.map → BackLink-BJ8NaemM.js.map} +1 -21
- package/frontend/build/server/chunks/Badge-44ZTDx0V.js +13 -0
- package/frontend/build/server/chunks/{Badge-B5V-z6pI.js.map → Badge-44ZTDx0V.js.map} +1 -21
- package/frontend/build/server/chunks/{ConfirmModal-Ckkt99Pn.js → ConfirmModal-C0EAXcq_.js} +4 -26
- package/frontend/build/server/chunks/{ConfirmModal-Ckkt99Pn.js.map → ConfirmModal-C0EAXcq_.js.map} +1 -21
- package/frontend/build/server/chunks/{EmptyState-BwwbShnX.js → EmptyState-BA_eXaeR.js} +3 -25
- package/frontend/build/server/chunks/{EmptyState-BwwbShnX.js.map → EmptyState-BA_eXaeR.js.map} +1 -21
- package/frontend/build/server/chunks/{Modal-DG-6c5si.js → Modal-DChG187n.js} +2 -24
- package/frontend/build/server/chunks/{Modal-DG-6c5si.js.map → Modal-DChG187n.js.map} +1 -21
- package/frontend/build/server/chunks/{Toast-CIG4edEp.js → Toast-v-q4ZnYq.js} +2 -24
- package/frontend/build/server/chunks/{Toast-CIG4edEp.js.map → Toast-v-q4ZnYq.js.map} +1 -21
- package/frontend/build/server/chunks/_layout.svelte-CHVI3Prt.js +24 -0
- package/frontend/build/server/chunks/{_layout.svelte-BjPrZpoG.js.map → _layout.svelte-CHVI3Prt.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-BbZNxvCl.js → _page.svelte-1as75nPc.js} +14 -35
- package/frontend/build/server/chunks/{_page.svelte-BbZNxvCl.js.map → _page.svelte-1as75nPc.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-CLFpft5D.js → _page.svelte-1jo8MapI.js} +11 -33
- package/frontend/build/server/chunks/{_page.svelte-CLFpft5D.js.map → _page.svelte-1jo8MapI.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-BHw14GPR.js → _page.svelte-BuFusRK1.js} +12 -34
- package/frontend/build/server/chunks/{_page.svelte-BHw14GPR.js.map → _page.svelte-BuFusRK1.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-D78qaBDN.js → _page.svelte-CAVyp70V.js} +14 -35
- package/frontend/build/server/chunks/{_page.svelte-D78qaBDN.js.map → _page.svelte-CAVyp70V.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-D2oF79cT.js → _page.svelte-CB8-QBNg.js} +11 -33
- package/frontend/build/server/chunks/{_page.svelte-D2oF79cT.js.map → _page.svelte-CB8-QBNg.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-DyyuZN_3.js → _page.svelte-CWWeZuid.js} +11 -33
- package/frontend/build/server/chunks/{_page.svelte-DyyuZN_3.js.map → _page.svelte-CWWeZuid.js.map} +1 -21
- package/frontend/build/server/chunks/_page.svelte-CpB-fgJl.js +219 -0
- package/frontend/build/server/chunks/_page.svelte-CpB-fgJl.js.map +1 -0
- package/frontend/build/server/chunks/_page.svelte-D3E6Eojd.js +27 -0
- package/frontend/build/server/chunks/{_page.svelte-B9rjnZWE.js.map → _page.svelte-D3E6Eojd.js.map} +1 -21
- package/frontend/build/server/chunks/_page.svelte-Kg69DDaM.js +27 -0
- package/frontend/build/server/chunks/{_page.svelte-D1aYn1PL.js.map → _page.svelte-Kg69DDaM.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-ubW5EUCf.js → _page.svelte-L9fuiN_q.js} +10 -32
- package/frontend/build/server/chunks/{_page.svelte-ubW5EUCf.js.map → _page.svelte-L9fuiN_q.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-Cr16HubD.js → _page.svelte-wKyUmA2e.js} +12 -34
- package/frontend/build/server/chunks/{_page.svelte-Cr16HubD.js.map → _page.svelte-wKyUmA2e.js.map} +1 -21
- package/frontend/build/server/chunks/attributes-BeaNKpgU.js +0 -22
- package/frontend/build/server/chunks/attributes-BeaNKpgU.js.map +0 -20
- package/frontend/build/server/chunks/{auth-rlH-cIzn.js → auth-Chw-wBpI.js} +2 -24
- package/frontend/build/server/chunks/{auth-rlH-cIzn.js.map → auth-Chw-wBpI.js.map} +1 -21
- package/frontend/build/server/chunks/auth2-C02yYDpz.js +0 -22
- package/frontend/build/server/chunks/auth2-C02yYDpz.js.map +0 -20
- package/frontend/build/server/chunks/client-DEmxR_a-.js +40 -0
- package/frontend/build/server/chunks/{client-DyII78e0.js.map → client-DEmxR_a-.js.map} +1 -21
- package/frontend/build/server/chunks/common-DYYTVHPw.js +21 -0
- package/frontend/build/server/chunks/common-DYYTVHPw.js.map +1 -0
- package/frontend/build/server/chunks/constants-CXTaQaB6.js +22 -0
- package/frontend/build/server/chunks/constants-CXTaQaB6.js.map +1 -0
- package/frontend/build/server/chunks/error.svelte-BD3xNemk.js +28 -0
- package/frontend/build/server/chunks/{error.svelte-BDW3iP1O.js.map → error.svelte-BD3xNemk.js.map} +1 -21
- package/frontend/build/server/chunks/escaping-CqgfEcN3.js +0 -22
- package/frontend/build/server/chunks/escaping-CqgfEcN3.js.map +0 -20
- package/frontend/build/server/chunks/exports-D0QHgeSL.js +0 -22
- package/frontend/build/server/chunks/exports-D0QHgeSL.js.map +0 -20
- package/frontend/build/server/chunks/{format-0SSB1oGG.js → format-CiNRMfHu.js} +2 -24
- package/frontend/build/server/chunks/{format-0SSB1oGG.js.map → format-CiNRMfHu.js.map} +1 -21
- package/frontend/build/server/chunks/index-server-B3M9vyh2.js +14 -0
- package/frontend/build/server/chunks/index-server-B3M9vyh2.js.map +1 -0
- package/frontend/build/server/chunks/{index2-DG8XHU5D.js → index2-5R1tbrep.js} +2 -24
- package/frontend/build/server/chunks/{index2-DG8XHU5D.js.map → index2-5R1tbrep.js.map} +1 -21
- package/frontend/build/server/chunks/reports-D_ApeeNh.js +23 -0
- package/frontend/build/server/chunks/{reports-DnYbvluH.js.map → reports-D_ApeeNh.js.map} +1 -21
- package/frontend/build/server/chunks/{reports2-DR4XlcJg.js → reports2-BtElN_53.js} +2 -24
- package/frontend/build/server/chunks/{reports2-DR4XlcJg.js.map → reports2-BtElN_53.js.map} +1 -21
- package/frontend/build/server/chunks/{repository-D9Derhnk.js → repository-FYYV_vKE.js} +3 -26
- package/frontend/build/server/chunks/repository-FYYV_vKE.js.map +1 -0
- package/frontend/build/server/chunks/runner-DC7hXbnY.js +32 -0
- package/frontend/build/server/chunks/runner-DC7hXbnY.js.map +1 -0
- package/frontend/build/server/chunks/stores-BLenR3c1.js +27 -0
- package/frontend/build/server/chunks/{stores-DlkXV308.js.map → stores-BLenR3c1.js.map} +1 -21
- package/frontend/build/server/chunks/theme-nAx-GvX_.js +10 -0
- package/frontend/build/server/chunks/theme-nAx-GvX_.js.map +1 -0
- package/frontend/build/server/index.js +2 -24
- package/frontend/build/server/index.js.map +1 -21
- package/frontend/build/server/manifest.js +14 -36
- package/frontend/build/server/manifest.js.map +1 -21
- package/frontend/build/shims.js +0 -22
- package/frontend/package.json +1 -0
- package/frontend/src/app.css +1 -13
- package/frontend/src/app.html +1 -13
- package/frontend/src/lib/api/activeRuns.js +18 -0
- package/frontend/src/lib/api/auth.js +1 -13
- package/frontend/src/lib/api/reports.js +1 -13
- package/frontend/src/lib/api/repository.js +1 -13
- package/frontend/src/lib/api/runners.js +26 -21
- package/frontend/src/lib/api/schedules.js +1 -13
- package/frontend/src/lib/api/settings.js +11 -23
- package/frontend/src/lib/api/tests.js +1 -13
- package/frontend/src/lib/api/users.js +1 -13
- package/frontend/src/lib/components/icons/BrowserIcon.svelte +1 -13
- package/frontend/src/lib/components/layout/Nav.svelte +1 -13
- package/frontend/src/lib/components/layout/PageShell.svelte +1 -13
- package/frontend/src/lib/components/layout/RunnerPanel.svelte +146 -105
- package/frontend/src/lib/components/ui/AutomatedBadge.svelte +2 -31
- package/frontend/src/lib/components/ui/BackLink.svelte +1 -30
- package/frontend/src/lib/components/ui/Badge.svelte +1 -13
- package/frontend/src/lib/components/ui/Button.svelte +1 -13
- package/frontend/src/lib/components/ui/CaseIdChip.svelte +1 -30
- package/frontend/src/lib/components/ui/ConfirmModal.svelte +8 -17
- package/frontend/src/lib/components/ui/EmptyState.svelte +26 -15
- package/frontend/src/lib/components/ui/Modal.svelte +1 -13
- package/frontend/src/lib/components/ui/Pagination.svelte +1 -13
- package/frontend/src/lib/components/ui/PriorityBadge.svelte +1 -30
- package/frontend/src/lib/components/ui/ResultChip.svelte +1 -30
- package/frontend/src/lib/components/ui/StatusDot.svelte +1 -30
- package/frontend/src/lib/components/ui/StepKeyword.svelte +1 -30
- package/frontend/src/lib/components/ui/StepStatusIcon.svelte +1 -30
- package/frontend/src/lib/components/ui/TagChip.svelte +1 -30
- package/frontend/src/lib/components/ui/Terminal.svelte +1 -13
- package/frontend/src/lib/components/ui/Toast.svelte +1 -13
- package/frontend/src/lib/constants.js +5 -17
- package/frontend/src/lib/copy/auth.js +29 -0
- package/frontend/src/lib/copy/common.js +39 -0
- package/frontend/src/lib/copy/dashboard.js +28 -0
- package/frontend/src/lib/copy/reports.js +83 -0
- package/frontend/src/lib/copy/repository.js +153 -0
- package/frontend/src/lib/copy/runners.js +59 -0
- package/frontend/src/lib/copy/schedules.js +96 -0
- package/frontend/src/lib/copy/settings.js +295 -0
- package/frontend/src/lib/index.js +1 -13
- package/frontend/src/lib/socketEvents.js +36 -0
- package/frontend/src/lib/stores/auth.js +1 -13
- package/frontend/src/lib/stores/runner.js +10 -18
- package/frontend/src/lib/stores/theme.js +1 -13
- package/frontend/src/lib/styles/global.css +1 -13
- package/frontend/src/lib/styles/reset.css +1 -13
- package/frontend/src/lib/styles/tokens.css +1 -13
- package/frontend/src/lib/utils/format.js +1 -13
- package/frontend/src/routes/+layout.js +1 -13
- package/frontend/src/routes/+layout.svelte +1 -13
- package/frontend/src/routes/+page.svelte +296 -115
- package/frontend/src/routes/login/+page.svelte +22 -23
- package/frontend/src/routes/reports/+page.svelte +37 -38
- package/frontend/src/routes/reports/[id]/+page.svelte +54 -43
- package/frontend/src/routes/reports/live/+page.svelte +57 -42
- package/frontend/src/routes/scheduled-tests/+page.svelte +134 -117
- package/frontend/src/routes/settings/+page.svelte +490 -267
- package/frontend/src/routes/setup/+page.svelte +30 -27
- package/frontend/src/routes/test-repository/+page.svelte +120 -91
- package/frontend/src/routes/test-repository/runs/[id]/+page.svelte +95 -60
- package/frontend/src/routes/test-repository/suites/[id]/+page.svelte +145 -91
- package/frontend/svelte.config.js +1 -13
- package/frontend/vite.config.js +1 -13
- package/package.json +2 -2
- package/resources/mit-license.txt +2 -0
- package/backend/scripts/create-test.js +0 -149
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CrXpMrqh.css +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/2.CrXpMrqh.css +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CrXpMrqh.css +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/4N1zIH8t.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BhvHtTRh.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C1sukchk.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DW85KPAh.js +0 -24
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DW_iTTZe.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DtGXv8RA.js +0 -25
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/oN0Z3NSF.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/start.2_AF42wj.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.BAqq2UTE.js +0 -28
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/1.D5VvLtGP.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.0YGtl1uj.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.C2jjMA-Z.js +0 -23
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CrXpMrqh.css +0 -23
- package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css +0 -23
- package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css +0 -23
- package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1sukchk.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/C1sukchk.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1sukchk.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/D2gYTmAA.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/D2gYTmAA.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DDblTLLE.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DDblTLLE.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js +0 -24
- package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DW_iTTZe.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/DW_iTTZe.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DW_iTTZe.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DYlaQsvN.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DYlaQsvN.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DkNBSlo2.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DkNBSlo2.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DlNYZJ7K.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DlNYZJ7K.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js +0 -25
- package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js.br +0 -0
- package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/start.2_AF42wj.js +0 -23
- package/frontend/build/client/_app/immutable/entry/start.2_AF42wj.js.br +0 -22
- package/frontend/build/client/_app/immutable/entry/start.2_AF42wj.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js +0 -28
- package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js +0 -23
- package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js +0 -23
- package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js +0 -23
- package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js.gz +0 -0
- package/frontend/build/server/chunks/0-Di4jNU9J.js +0 -39
- package/frontend/build/server/chunks/0-Di4jNU9J.js.map +0 -21
- package/frontend/build/server/chunks/1-DR5YRUTa.js +0 -31
- package/frontend/build/server/chunks/1-DR5YRUTa.js.map +0 -21
- package/frontend/build/server/chunks/10-Bhe409bL.js +0 -31
- package/frontend/build/server/chunks/10-Bhe409bL.js.map +0 -21
- package/frontend/build/server/chunks/11-DqyXW7n1.js +0 -31
- package/frontend/build/server/chunks/11-DqyXW7n1.js.map +0 -21
- package/frontend/build/server/chunks/12-BCpjMUbs.js +0 -31
- package/frontend/build/server/chunks/12-BCpjMUbs.js.map +0 -21
- package/frontend/build/server/chunks/2-D-0buH5i.js +0 -31
- package/frontend/build/server/chunks/2-D-0buH5i.js.map +0 -21
- package/frontend/build/server/chunks/3-y2kzPO2X.js +0 -31
- package/frontend/build/server/chunks/3-y2kzPO2X.js.map +0 -21
- package/frontend/build/server/chunks/4-CFrK8HST.js +0 -31
- package/frontend/build/server/chunks/4-CFrK8HST.js.map +0 -21
- package/frontend/build/server/chunks/5-B0lJu5bT.js +0 -31
- package/frontend/build/server/chunks/5-B0lJu5bT.js.map +0 -21
- package/frontend/build/server/chunks/6-BD4CEJ3Z.js +0 -31
- package/frontend/build/server/chunks/6-BD4CEJ3Z.js.map +0 -21
- package/frontend/build/server/chunks/7-DekQfQHu.js +0 -31
- package/frontend/build/server/chunks/8-BMqmu7WF.js +0 -31
- package/frontend/build/server/chunks/8-BMqmu7WF.js.map +0 -21
- package/frontend/build/server/chunks/9-C5sKo9aY.js +0 -31
- package/frontend/build/server/chunks/9-C5sKo9aY.js.map +0 -21
- package/frontend/build/server/chunks/BackLink-KxZNqsaq.js +0 -35
- package/frontend/build/server/chunks/Badge-B5V-z6pI.js +0 -35
- package/frontend/build/server/chunks/_layout.svelte-BjPrZpoG.js +0 -46
- package/frontend/build/server/chunks/_page.svelte-B9rjnZWE.js +0 -49
- package/frontend/build/server/chunks/_page.svelte-D1aYn1PL.js +0 -49
- package/frontend/build/server/chunks/_page.svelte-sbqebZYx.js +0 -206
- package/frontend/build/server/chunks/_page.svelte-sbqebZYx.js.map +0 -21
- package/frontend/build/server/chunks/client-DyII78e0.js +0 -62
- package/frontend/build/server/chunks/common-Db-bgKYG.js +0 -42
- package/frontend/build/server/chunks/common-Db-bgKYG.js.map +0 -21
- package/frontend/build/server/chunks/constants-cZ2kUwWa.js +0 -41
- package/frontend/build/server/chunks/constants-cZ2kUwWa.js.map +0 -21
- package/frontend/build/server/chunks/error.svelte-BDW3iP1O.js +0 -50
- package/frontend/build/server/chunks/index-server-Dr2Nvcmu.js +0 -36
- package/frontend/build/server/chunks/index-server-Dr2Nvcmu.js.map +0 -21
- package/frontend/build/server/chunks/reports-DnYbvluH.js +0 -45
- package/frontend/build/server/chunks/repository-D9Derhnk.js.map +0 -21
- package/frontend/build/server/chunks/runner-DE5sufZH.js +0 -54
- package/frontend/build/server/chunks/runner-DE5sufZH.js.map +0 -21
- package/frontend/build/server/chunks/stores-DlkXV308.js +0 -49
- package/frontend/build/server/chunks/theme-D_NKm6iI.js +0 -32
- package/frontend/build/server/chunks/theme-D_NKm6iI.js.map +0 -21
- package/resources/gpl-3.0-license.txt +0 -14
|
@@ -1,35 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const express = require('express');
|
|
19
7
|
const router = express.Router();
|
|
20
|
-
const { spawn } = require('child_process');
|
|
21
|
-
const crypto = require('crypto');
|
|
22
|
-
const fs = require('fs');
|
|
23
|
-
const os = require('os');
|
|
24
|
-
const path = require('path');
|
|
25
8
|
const { authGuard } = require('../middleware/auth');
|
|
26
|
-
const {
|
|
27
|
-
|
|
28
|
-
const BACKEND_DIR = path.resolve(__dirname, '..');
|
|
29
|
-
|
|
30
|
-
// In-memory job store for active remote executions.
|
|
31
|
-
// Jobs are purged after 10 minutes post-completion.
|
|
32
|
-
const jobs = {};
|
|
9
|
+
const { isNodeMode, DEFAULT_PORT } = require('../constants/env');
|
|
10
|
+
const nodeExecutionService = require('../services/nodeExecutionService');
|
|
33
11
|
|
|
34
12
|
// Health check — primary server uses this to confirm the node is reachable
|
|
35
13
|
router.get('/ping', authGuard, (req, res) => {
|
|
@@ -38,7 +16,7 @@ router.get('/ping', authGuard, (req, res) => {
|
|
|
38
16
|
|
|
39
17
|
// Graceful shutdown for node-mode processes (no-op on the primary server)
|
|
40
18
|
router.post('/shutdown', authGuard, (req, res) => {
|
|
41
|
-
if (
|
|
19
|
+
if (!isNodeMode()) {
|
|
42
20
|
return res.status(403).json({ error: 'Not a node runner' });
|
|
43
21
|
}
|
|
44
22
|
res.json({ ok: true });
|
|
@@ -50,7 +28,7 @@ router.post('/shutdown', authGuard, (req, res) => {
|
|
|
50
28
|
// binds the same port, retrying past the brief EADDRINUSE window left by this
|
|
51
29
|
// process shutting down (see the listen retry in server.js).
|
|
52
30
|
router.post('/restart', authGuard, (req, res) => {
|
|
53
|
-
if (
|
|
31
|
+
if (!isNodeMode()) {
|
|
54
32
|
return res.status(403).json({ error: 'Not a node runner' });
|
|
55
33
|
}
|
|
56
34
|
const id = process.env.RUNNER_ID;
|
|
@@ -60,128 +38,20 @@ router.post('/restart', authGuard, (req, res) => {
|
|
|
60
38
|
res.json({ ok: true });
|
|
61
39
|
setTimeout(() => {
|
|
62
40
|
const { startNode } = require('../lib/runnerProcess');
|
|
63
|
-
startNode({ id, port: process.env.PORT ||
|
|
41
|
+
startNode({ id, port: process.env.PORT || DEFAULT_PORT, token: process.env.NODE_TOKEN });
|
|
64
42
|
process.exit(0);
|
|
65
43
|
}, 200);
|
|
66
44
|
});
|
|
67
45
|
|
|
68
46
|
// Start a remote test job
|
|
69
47
|
router.post('/execute', authGuard, (req, res) => {
|
|
70
|
-
const
|
|
71
|
-
const jobId = crypto.randomUUID();
|
|
72
|
-
|
|
73
|
-
// path.resolve ensures absolute even if TMPDIR env var is set to a relative path
|
|
74
|
-
const tmpdir = path.resolve(os.tmpdir());
|
|
75
|
-
|
|
76
|
-
// Write test files sent by the primary into a per-job temp dir
|
|
77
|
-
let tempTestsDir = null;
|
|
78
|
-
if (tests && Object.keys(tests).length > 0) {
|
|
79
|
-
tempTestsDir = path.join(tmpdir, `plum-job-${jobId}`);
|
|
80
|
-
for (const [rel, content] of Object.entries(tests)) {
|
|
81
|
-
const dest = path.join(tempTestsDir, rel);
|
|
82
|
-
fs.mkdirSync(path.dirname(dest), { recursive: true });
|
|
83
|
-
fs.writeFileSync(dest, Buffer.from(content, 'base64'));
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Each job writes to its own temp file so concurrent jobs on the same node
|
|
88
|
-
// cannot clobber each other's reports (shared cucumber_report.json race condition).
|
|
89
|
-
const reportFile = path.join(tmpdir, `plum-report-${jobId}.json`);
|
|
90
|
-
const ssDir = path.join(tmpdir, `plum-ss-${jobId}`);
|
|
91
|
-
fs.mkdirSync(ssDir, { recursive: true });
|
|
92
|
-
|
|
93
|
-
jobs[jobId] = {
|
|
94
|
-
status: 'running',
|
|
95
|
-
logs: '',
|
|
96
|
-
exitCode: null,
|
|
97
|
-
startedAt: Date.now(),
|
|
98
|
-
meta: { tags: tags || '', browser, workers },
|
|
99
|
-
tempTestsDir,
|
|
100
|
-
reportFile,
|
|
101
|
-
ssDir,
|
|
102
|
-
pendingScreenshots: []
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
const env = {
|
|
106
|
-
...process.env,
|
|
107
|
-
// User/test vars (BASE_URL, IS_HEADLESS, custom secrets) forwarded from the
|
|
108
|
-
// primary's own .env — nodes are stateless runners and shouldn't need their
|
|
109
|
-
// own copy. Spread before the job-control vars below so a stray same-named
|
|
110
|
-
// var in the user's .env can never override how this job actually runs.
|
|
111
|
-
...userEnv,
|
|
112
|
-
TAG: tags || '',
|
|
113
|
-
TRIGGER: TRIGGER_REMOTE,
|
|
114
|
-
BROWSER: browser,
|
|
115
|
-
REPORT_RUNNERS: String(workers),
|
|
116
|
-
CUCUMBER_REPORT_FILE: reportFile,
|
|
117
|
-
PLUM_SS_DIR: ssDir,
|
|
118
|
-
...(tempTestsDir ? { TESTS_ROOT: tempTestsDir } : {})
|
|
119
|
-
};
|
|
120
|
-
if (workers > 1) env.PARALLEL = String(workers);
|
|
121
|
-
|
|
122
|
-
const seenSsFiles = new Set();
|
|
123
|
-
const ssPoller = setInterval(() => {
|
|
124
|
-
const job = jobs[jobId];
|
|
125
|
-
if (!job) {
|
|
126
|
-
clearInterval(ssPoller);
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
try {
|
|
130
|
-
const files = fs
|
|
131
|
-
.readdirSync(ssDir)
|
|
132
|
-
.filter((f) => f.endsWith('.ss.json'))
|
|
133
|
-
.sort();
|
|
134
|
-
for (const f of files) {
|
|
135
|
-
if (seenSsFiles.has(f)) continue;
|
|
136
|
-
seenSsFiles.add(f);
|
|
137
|
-
const filePath = path.join(ssDir, f);
|
|
138
|
-
const data = JSON.parse(fs.readFileSync(filePath, 'utf8'));
|
|
139
|
-
job.pendingScreenshots.push(data);
|
|
140
|
-
try {
|
|
141
|
-
fs.unlinkSync(filePath);
|
|
142
|
-
} catch {}
|
|
143
|
-
}
|
|
144
|
-
} catch {}
|
|
145
|
-
}, 400);
|
|
146
|
-
|
|
147
|
-
const proc = spawn('npm', ['run', 'test'], { env, shell: true, cwd: BACKEND_DIR });
|
|
148
|
-
proc.stdout.on('data', (d) => {
|
|
149
|
-
jobs[jobId].logs += d.toString();
|
|
150
|
-
});
|
|
151
|
-
proc.stderr.on('data', (d) => {
|
|
152
|
-
jobs[jobId].logs += d.toString();
|
|
153
|
-
});
|
|
154
|
-
proc.on('close', (code) => {
|
|
155
|
-
clearInterval(ssPoller);
|
|
156
|
-
jobs[jobId].status = code === 0 ? 'done' : 'error';
|
|
157
|
-
jobs[jobId].exitCode = code;
|
|
158
|
-
|
|
159
|
-
try {
|
|
160
|
-
if (fs.existsSync(reportFile)) {
|
|
161
|
-
jobs[jobId].reportContent = fs.readFileSync(reportFile, 'utf8');
|
|
162
|
-
}
|
|
163
|
-
} catch {}
|
|
164
|
-
|
|
165
|
-
fs.rm(ssDir, { recursive: true, force: true }, () => {});
|
|
166
|
-
|
|
167
|
-
if (jobs[jobId].tempTestsDir) {
|
|
168
|
-
fs.rm(jobs[jobId].tempTestsDir, { recursive: true, force: true }, () => {});
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
setTimeout(() => {
|
|
172
|
-
try {
|
|
173
|
-
fs.unlinkSync(reportFile);
|
|
174
|
-
} catch {}
|
|
175
|
-
delete jobs[jobId];
|
|
176
|
-
}, 600_000);
|
|
177
|
-
});
|
|
178
|
-
|
|
48
|
+
const jobId = nodeExecutionService.startJob(req.body);
|
|
179
49
|
res.json({ jobId, status: 'started' });
|
|
180
50
|
});
|
|
181
51
|
|
|
182
52
|
// Fetch the final report content after a job completes
|
|
183
53
|
router.get('/report/:jobId', authGuard, (req, res) => {
|
|
184
|
-
const job =
|
|
54
|
+
const job = nodeExecutionService.getJob(req.params.jobId);
|
|
185
55
|
if (!job) return res.status(404).json({ error: 'Job not found' });
|
|
186
56
|
if (!job.reportContent) return res.status(404).json({ error: 'Report not ready' });
|
|
187
57
|
res.json({ content: job.reportContent, meta: job.meta });
|
|
@@ -189,17 +59,10 @@ router.get('/report/:jobId', authGuard, (req, res) => {
|
|
|
189
59
|
|
|
190
60
|
// Poll job status and streamed logs
|
|
191
61
|
router.get('/execute/:jobId', authGuard, (req, res) => {
|
|
192
|
-
const job = jobs[req.params.jobId];
|
|
193
|
-
if (!job) return res.status(404).json({ error: 'Job not found' });
|
|
194
|
-
|
|
195
62
|
const offset = parseInt(req.query.offset || '0', 10);
|
|
196
|
-
const
|
|
197
|
-
res.json({
|
|
198
|
-
|
|
199
|
-
logs: job.logs.slice(offset),
|
|
200
|
-
exitCode: job.exitCode,
|
|
201
|
-
screenshots
|
|
202
|
-
});
|
|
63
|
+
const result = nodeExecutionService.pollJob(req.params.jobId, offset);
|
|
64
|
+
if (!result) return res.status(404).json({ error: 'Job not found' });
|
|
65
|
+
res.json(result);
|
|
203
66
|
});
|
|
204
67
|
|
|
205
68
|
module.exports = router;
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const express = require('express');
|
|
@@ -1,25 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const express = require('express');
|
|
19
7
|
const router = express.Router();
|
|
20
8
|
const runnerService = require('../services/runnerService');
|
|
9
|
+
const { jwtAuth } = require('../middleware/jwtAuth');
|
|
10
|
+
const { requireAdmin } = require('../middleware/requireAdmin');
|
|
21
11
|
|
|
22
|
-
router.get('/', async (req, res) => {
|
|
12
|
+
router.get('/', jwtAuth, requireAdmin, async (req, res) => {
|
|
23
13
|
try {
|
|
24
14
|
const runners = await runnerService.getAll();
|
|
25
15
|
res.json({ runners });
|
|
@@ -28,7 +18,7 @@ router.get('/', async (req, res) => {
|
|
|
28
18
|
}
|
|
29
19
|
});
|
|
30
20
|
|
|
31
|
-
router.post('/probe', async (req, res) => {
|
|
21
|
+
router.post('/probe', jwtAuth, requireAdmin, async (req, res) => {
|
|
32
22
|
try {
|
|
33
23
|
const { url, token } = req.body;
|
|
34
24
|
if (!url || !token)
|
|
@@ -40,7 +30,7 @@ router.post('/probe', async (req, res) => {
|
|
|
40
30
|
}
|
|
41
31
|
});
|
|
42
32
|
|
|
43
|
-
router.post('/', async (req, res) => {
|
|
33
|
+
router.post('/', jwtAuth, requireAdmin, async (req, res) => {
|
|
44
34
|
try {
|
|
45
35
|
const { name, url, token, browser } = req.body;
|
|
46
36
|
if (!name || !url || !token)
|
|
@@ -52,7 +42,7 @@ router.post('/', async (req, res) => {
|
|
|
52
42
|
}
|
|
53
43
|
});
|
|
54
44
|
|
|
55
|
-
router.put('/:id', async (req, res) => {
|
|
45
|
+
router.put('/:id', jwtAuth, requireAdmin, async (req, res) => {
|
|
56
46
|
try {
|
|
57
47
|
const { name, url, token, browser } = req.body;
|
|
58
48
|
const runner = await runnerService.update(req.params.id, { name, url, token, browser });
|
|
@@ -62,7 +52,7 @@ router.put('/:id', async (req, res) => {
|
|
|
62
52
|
}
|
|
63
53
|
});
|
|
64
54
|
|
|
65
|
-
router.delete('/:id', async (req, res) => {
|
|
55
|
+
router.delete('/:id', jwtAuth, requireAdmin, async (req, res) => {
|
|
66
56
|
try {
|
|
67
57
|
await runnerService.stop(req.params.id);
|
|
68
58
|
await runnerService.remove(req.params.id);
|
|
@@ -72,7 +62,7 @@ router.delete('/:id', async (req, res) => {
|
|
|
72
62
|
}
|
|
73
63
|
});
|
|
74
64
|
|
|
75
|
-
router.post('/:id/ping', async (req, res) => {
|
|
65
|
+
router.post('/:id/ping', jwtAuth, requireAdmin, async (req, res) => {
|
|
76
66
|
try {
|
|
77
67
|
const result = await runnerService.ping(req.params.id);
|
|
78
68
|
res.json(result);
|
|
@@ -81,7 +71,7 @@ router.post('/:id/ping', async (req, res) => {
|
|
|
81
71
|
}
|
|
82
72
|
});
|
|
83
73
|
|
|
84
|
-
router.post('/:id/stop', async (req, res) => {
|
|
74
|
+
router.post('/:id/stop', jwtAuth, requireAdmin, async (req, res) => {
|
|
85
75
|
try {
|
|
86
76
|
const result = await runnerService.stop(req.params.id);
|
|
87
77
|
res.json(result);
|
|
@@ -90,7 +80,7 @@ router.post('/:id/stop', async (req, res) => {
|
|
|
90
80
|
}
|
|
91
81
|
});
|
|
92
82
|
|
|
93
|
-
router.post('/:id/restart', async (req, res) => {
|
|
83
|
+
router.post('/:id/restart', jwtAuth, requireAdmin, async (req, res) => {
|
|
94
84
|
try {
|
|
95
85
|
const result = await runnerService.restart(req.params.id);
|
|
96
86
|
res.json(result);
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const express = require('express');
|
|
@@ -21,8 +9,9 @@ const settingsService = require('../services/settingsService');
|
|
|
21
9
|
const testSuiteService = require('../services/testSuiteService');
|
|
22
10
|
const testCaseService = require('../services/testCaseService');
|
|
23
11
|
const { jwtAuth } = require('../middleware/jwtAuth');
|
|
12
|
+
const { requireAdmin } = require('../middleware/requireAdmin');
|
|
24
13
|
|
|
25
|
-
router.get('/project', async (req, res, next) => {
|
|
14
|
+
router.get('/project', jwtAuth, requireAdmin, async (req, res, next) => {
|
|
26
15
|
try {
|
|
27
16
|
const project = await settingsService.getProject();
|
|
28
17
|
res.json(project);
|
|
@@ -31,7 +20,7 @@ router.get('/project', async (req, res, next) => {
|
|
|
31
20
|
}
|
|
32
21
|
});
|
|
33
22
|
|
|
34
|
-
router.post('/project', async (req, res, next) => {
|
|
23
|
+
router.post('/project', jwtAuth, requireAdmin, async (req, res, next) => {
|
|
35
24
|
try {
|
|
36
25
|
const { name, logoUrl, timezone, maxRetries } = req.body;
|
|
37
26
|
const project = await settingsService.updateProject({ name, logoUrl, timezone, maxRetries });
|
|
@@ -76,7 +65,7 @@ router.post('/test-prefixes/migrate', jwtAuth, async (req, res, next) => {
|
|
|
76
65
|
}
|
|
77
66
|
});
|
|
78
67
|
|
|
79
|
-
router.get('/integrations', async (req, res, next) => {
|
|
68
|
+
router.get('/integrations', jwtAuth, requireAdmin, async (req, res, next) => {
|
|
80
69
|
try {
|
|
81
70
|
const webhooks = await settingsService.getWebhooks();
|
|
82
71
|
res.json(webhooks);
|
|
@@ -85,7 +74,7 @@ router.get('/integrations', async (req, res, next) => {
|
|
|
85
74
|
}
|
|
86
75
|
});
|
|
87
76
|
|
|
88
|
-
router.post('/integrations', async (req, res, next) => {
|
|
77
|
+
router.post('/integrations', jwtAuth, requireAdmin, async (req, res, next) => {
|
|
89
78
|
try {
|
|
90
79
|
const { discordWebhookUrl, slackWebhookUrl, notifyPublicUrl } = req.body;
|
|
91
80
|
const project = await settingsService.updateWebhooks({
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const express = require('express');
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const express = require('express');
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const express = require('express');
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const express = require('express');
|
|
@@ -1,189 +1,47 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
|
-
const path = require('path');
|
|
19
|
-
const fs = require('fs');
|
|
20
|
-
const os = require('os');
|
|
21
|
-
const { spawn } = require('child_process');
|
|
22
|
-
const { randomUUID } = require('crypto');
|
|
23
6
|
const express = require('express');
|
|
24
7
|
const router = express.Router();
|
|
25
8
|
const { jwtAuth } = require('../middleware/jwtAuth');
|
|
26
|
-
const prisma = require('../services/prisma');
|
|
27
|
-
const { startSsPoller } = require('../lib/screenshotPoller');
|
|
28
9
|
const { TRIGGER_TYPE } = require('../constants/triggers');
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const { runWithRetries } = require('../lib/retryRunner');
|
|
33
|
-
|
|
34
|
-
const BACKEND_DIR = path.resolve(__dirname, '..');
|
|
35
|
-
const JOB_TTL_MS = 60 * 60 * 1000; // 1 hour
|
|
36
|
-
|
|
37
|
-
// In-memory job store: jobId → { status, exitCode, reportId, startedAt }
|
|
38
|
-
const jobs = new Map();
|
|
39
|
-
|
|
40
|
-
let _io = null;
|
|
41
|
-
function setSocketIO(io) {
|
|
42
|
-
_io = io;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function pruneOldJobs() {
|
|
46
|
-
const cutoff = Date.now() - JOB_TTL_MS;
|
|
47
|
-
for (const [id, job] of jobs) {
|
|
48
|
-
if (job.startedAt < cutoff) jobs.delete(id);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
10
|
+
const { DEFAULT_BROWSER } = require('../constants/defaults');
|
|
11
|
+
const { JOB_STATUS } = require('../constants/jobStatus');
|
|
12
|
+
const triggerService = require('../services/triggerService');
|
|
51
13
|
|
|
52
14
|
router.post('/', jwtAuth, async (req, res, next) => {
|
|
53
15
|
try {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
16
|
+
const {
|
|
17
|
+
tag = '',
|
|
18
|
+
browser = DEFAULT_BROWSER,
|
|
19
|
+
workers = 1,
|
|
20
|
+
baseUrl,
|
|
21
|
+
testRunId,
|
|
22
|
+
source
|
|
23
|
+
} = req.body;
|
|
57
24
|
const trigger = source === 'mcp' ? TRIGGER_TYPE.MCP : TRIGGER_TYPE.EXTERNAL;
|
|
58
|
-
const { maxRetries } = await settingsService.getProject();
|
|
59
|
-
|
|
60
|
-
const jobId = randomUUID();
|
|
61
|
-
const startedAt = Date.now();
|
|
62
|
-
jobs.set(jobId, { status: 'running', exitCode: null, reportId: null, startedAt });
|
|
63
|
-
|
|
64
|
-
if (_io) {
|
|
65
|
-
_io.emit('bg-run-start', {
|
|
66
|
-
runId: jobId,
|
|
67
|
-
kind: trigger,
|
|
68
|
-
label: trigger === TRIGGER_TYPE.MCP ? 'MCP run' : 'External run',
|
|
69
|
-
meta: { tag, browser, workers }
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
const onLog = (text) => {
|
|
74
|
-
if (_io) _io.emit('bg-run-log', { runId: jobId, log: text });
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
function runAttempt(currentTag, suppressSave) {
|
|
78
|
-
return new Promise((resolve) => {
|
|
79
|
-
const ssDir = path.join(os.tmpdir(), `plum-trigger-ss-${jobId}-${Date.now()}`);
|
|
80
|
-
fs.mkdirSync(ssDir, { recursive: true });
|
|
81
|
-
|
|
82
|
-
const env = {
|
|
83
|
-
...process.env,
|
|
84
|
-
TAG: currentTag,
|
|
85
|
-
TRIGGER: trigger,
|
|
86
|
-
BROWSER: browser,
|
|
87
|
-
REPORT_RUNNERS: String(workers),
|
|
88
|
-
PLUM_SS_DIR: ssDir
|
|
89
|
-
};
|
|
90
|
-
if (Number(workers) > 1) env.PARALLEL = String(workers);
|
|
91
|
-
if (testRunId) env.TEST_RUN_ID = testRunId;
|
|
92
|
-
if (baseUrl) env.BASE_URL = baseUrl;
|
|
93
|
-
if (suppressSave) env.PLUM_MODE = 'node';
|
|
94
|
-
|
|
95
|
-
const proc = spawn('npm', ['run', 'test'], { env, shell: true, cwd: BACKEND_DIR });
|
|
96
|
-
|
|
97
|
-
const ssPoller = startSsPoller(ssDir, ({ stepName, data }) => {
|
|
98
|
-
if (_io) _io.emit('bg-run-screenshot', { runId: jobId, stepName, data });
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
proc.stdout.on('data', (d) => onLog(d.toString()));
|
|
102
|
-
proc.stderr.on('data', (d) => onLog(`[ERROR] ${d.toString()}`));
|
|
103
|
-
|
|
104
|
-
proc.on('close', (code) => {
|
|
105
|
-
clearInterval(ssPoller);
|
|
106
|
-
fs.rm(ssDir, { recursive: true, force: true }, () => {});
|
|
107
|
-
resolve({ code, raw: suppressSave ? readCucumberReportFile() : null });
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
if (maxRetries === 0) {
|
|
113
|
-
runAttempt(tag, false).then(async ({ code }) => {
|
|
114
|
-
let reportId = null;
|
|
115
|
-
try {
|
|
116
|
-
// Find the latest report created after this job started
|
|
117
|
-
const report = await prisma.report.findFirst({
|
|
118
|
-
where: { createdAt: { gte: new Date(startedAt) } },
|
|
119
|
-
orderBy: { createdAt: 'desc' },
|
|
120
|
-
select: { id: true, status: true }
|
|
121
|
-
});
|
|
122
|
-
reportId = report?.id ?? null;
|
|
123
|
-
if (reportId) {
|
|
124
|
-
await prisma.report.update({
|
|
125
|
-
where: { id: reportId },
|
|
126
|
-
data: { duration: Date.now() - startedAt }
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
jobs.set(jobId, {
|
|
130
|
-
status: code === 130 ? 'cancelled' : 'done',
|
|
131
|
-
exitCode: code,
|
|
132
|
-
reportId,
|
|
133
|
-
startedAt
|
|
134
|
-
});
|
|
135
|
-
} catch {
|
|
136
|
-
jobs.set(jobId, { status: 'done', exitCode: code, reportId: null, startedAt });
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
if (_io) _io.emit('bg-run-done', { runId: jobId, code, reportId });
|
|
140
|
-
});
|
|
141
|
-
} else {
|
|
142
|
-
runWithRetries({
|
|
143
|
-
maxRetries,
|
|
144
|
-
spawnAttempt: async (tagOverride) => {
|
|
145
|
-
const { code, raw } = await runAttempt(tagOverride ?? tag, true);
|
|
146
|
-
return { code, rawJson: raw ? JSON.parse(raw) : [] };
|
|
147
|
-
},
|
|
148
|
-
onLog
|
|
149
|
-
}).then(async ({ code, rawJson, attempts }) => {
|
|
150
|
-
let reportId = null;
|
|
151
|
-
try {
|
|
152
|
-
const report = await reportService.saveReport({
|
|
153
|
-
rawCucumberJson: rawJson,
|
|
154
|
-
tags: tag,
|
|
155
|
-
triggerType: trigger,
|
|
156
|
-
browser,
|
|
157
|
-
testRunId: testRunId ?? null,
|
|
158
|
-
duration: Date.now() - startedAt,
|
|
159
|
-
attempts
|
|
160
|
-
});
|
|
161
|
-
reportId = report.id;
|
|
162
|
-
jobs.set(jobId, {
|
|
163
|
-
status: code === 130 ? 'cancelled' : 'done',
|
|
164
|
-
exitCode: code,
|
|
165
|
-
reportId,
|
|
166
|
-
startedAt
|
|
167
|
-
});
|
|
168
|
-
} catch {
|
|
169
|
-
jobs.set(jobId, { status: 'done', exitCode: code, reportId: null, startedAt });
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
if (_io) _io.emit('bg-run-done', { runId: jobId, code, reportId });
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
25
|
|
|
176
|
-
|
|
26
|
+
const jobId = await triggerService.startRun({
|
|
27
|
+
tag,
|
|
28
|
+
browser,
|
|
29
|
+
workers,
|
|
30
|
+
baseUrl,
|
|
31
|
+
testRunId,
|
|
32
|
+
trigger
|
|
33
|
+
});
|
|
34
|
+
res.status(202).json({ jobId, status: JOB_STATUS.RUNNING });
|
|
177
35
|
} catch (e) {
|
|
178
36
|
next(e);
|
|
179
37
|
}
|
|
180
38
|
});
|
|
181
39
|
|
|
182
40
|
router.get('/:jobId', jwtAuth, (req, res) => {
|
|
183
|
-
const job =
|
|
41
|
+
const job = triggerService.getJob(req.params.jobId);
|
|
184
42
|
if (!job) return res.status(404).json({ error: 'Job not found' });
|
|
185
43
|
res.json(job);
|
|
186
44
|
});
|
|
187
45
|
|
|
188
46
|
module.exports = router;
|
|
189
|
-
router.setSocketIO = setSocketIO;
|
|
47
|
+
router.setSocketIO = triggerService.setSocketIO;
|