Event
push
Branch
main
Commit
a1bedc2
Started
Duration
3:15

Synced from GitHub

frontend-tests

SuccessTook 0:13
Whole log, 18 KB
Current runner version: '2.338.0'
â–¸ Runner Image Provisioner
Hosted Compute Agent
Version: 20261021.618
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {4c9b0e1d-b272-4eb7-9cdc-8344ce2b0116}
Region: southcentralus
Cloud: Azure
â–¸ Operating System
Ubuntu
24.04.5
LTS
â–¸ Runner Image
Image: ubuntu-24.04
Version: 20261025.353.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261025.353/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261025.353
â–¸ GITHUB_TOKEN Permissions
Contents: read
Metadata: read
Packages: read
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:11d5960a326750d5838078e36cf38b85af677262)
Download action repository 'actions/setup-node@v4' (SHA:49933ea5288caeca8642d1e84afbd3f7d6820020)
Complete job name: frontend-tests
â–¸ Run actions/checkout@v4
with:
  repository: Narayan201120/rag_web_app
  token: ***
  ssh-strict: true
  ssh-user: git
  persist-credentials: true
  clean: true
  sparse-checkout-cone-mode: true
  fetch-depth: 1
  fetch-tags: false
  show-progress: true
  lfs: false
  submodules: false
  set-safe-directory: true
  allow-unsafe-pr-checkout: false
Syncing repository: Narayan201120/rag_web_app
â–¸ Getting Git version info
Working directory is '/home/runner/work/rag_web_app/rag_web_app'
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/fea1de78-9cf7-46f1-b56e-637760a08dc0' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/rag_web_app/rag_web_app
Deleting the contents of '/home/runner/work/rag_web_app/rag_web_app'
â–¸ Initializing the repository
[command]/usr/bin/git init /home/runner/work/rag_web_app/rag_web_app
hint: Using 'master' as the name for the initial branch. This default branch name
hint: will change to "main" in Git 3.0. To configure the initial branch name
hint: to use in all of your new repositories, which will suppress this warning,
hint: call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /home/runner/work/rag_web_app/rag_web_app/.git/
[command]/usr/bin/git remote add origin https://github.com/Narayan201120/rag_web_app
â–¸ Disabling automatic garbage collection
[command]/usr/bin/git config --local gc.auto 0
â–¸ Setting up auth
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
[command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
â–¸ Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +a1bedc2c8c2c484f02ac9841b21c4cb3ec8b4b00:refs/remotes/origin/main
From https://github.com/Narayan201120/rag_web_app
 * [new ref]         a1bedc2c8c2c484f02ac9841b21c4cb3ec8b4b00 -> origin/main
â–¸ Determining the checkout info
[command]/usr/bin/git sparse-checkout disable
[command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
â–¸ Checking out the ref
[command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
Switched to a new branch 'main'
branch 'main' set up to track 'origin/main'.
[command]/usr/bin/git log -1 --format=%H
a1bedc2c8c2c484f02ac9841b21c4cb3ec8b4b00
â–¸ Run actions/setup-node@v4
with:
  node-version: 22
  cache: npm
  cache-dependency-path: frontend/package-lock.json
  always-auth: false
  check-latest: false
  token: ***
(node:2077) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Found in cache @ /opt/hostedtoolcache/node/22.23.4/x64
â–¸ Environment details
node: v22.23.4
npm: 10.9.9
yarn: 1.22.22
[command]/opt/hostedtoolcache/node/22.23.4/x64/bin/npm config get cache
/home/runner/.npm
npm cache is not found
â–¸ Run npm ci
npm ci
shell: /usr/bin/bash -e {0}

added 197 packages, and audited 198 packages in 2s

39 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (1 moderate, 2 critical)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
â–¸ Run npm run test:ci
npm run test:ci
shell: /usr/bin/bash -e {0}

> documind-frontend@1.0.0 test:ci
> vitest run


 RUN  v3.2.7 /home/runner/work/rag_web_app/rag_web_app/frontend

 ✓ src/lib/api.test.ts (7 tests) 13ms
 ✓ src/lib/format.test.ts (8 tests) 33ms
 ✓ src/components/Markdown.test.tsx (12 tests) 261ms
 ✓ src/lib/stream.test.ts (5 tests) 5ms
 ✓ src/lib/citations.test.ts (5 tests) 4ms
 ✓ src/state/theme.test.ts (3 tests) 4ms

 Test Files  6 passed (6)
      Tests  40 passed (40)
   Start at  12:36:18
   Duration  1.96s (transform 288ms, setup 722ms, collect 431ms, tests 320ms, environment 2.58s, prepare 526ms)

â–¸ Run npm run build
npm run build
shell: /usr/bin/bash -e {0}

> documind-frontend@1.0.0 build
> tsc --noEmit && vite build && node scripts/inline-css.mjs

vite v7.3.7 building client environment for production...
transforming...
✓ 62 modules transformed.
rendering chunks...
dist/index.html                          3.16 kB
dist/assets/index-C6M36urs.css          35.24 kB
dist/assets/NotFound-BAg_axsT.js         0.44 kB
dist/assets/Modal-DDa4GzvR.js            0.77 kB
dist/assets/Drawer-Y_EIDkV1.js           0.81 kB
dist/assets/AuthCallback-CB1lI-cy.js     1.09 kB
dist/assets/format-CY9qm80G.js           1.21 kB
dist/assets/ForgotPassword-BAbM9RU9.js   1.54 kB
dist/assets/Shell-D9eU-7Ru.js            2.09 kB
dist/assets/ResetPassword-BPEC8PEQ.js    2.13 kB
dist/assets/Signup-BkPIpnjx.js           2.33 kB
dist/assets/Admin-CJ-gAMhw.js            3.09 kB
dist/assets/Search-94_Hisec.js           3.65 kB
dist/assets/Icon-BIQ8LEAW.js             4.30 kB
dist/assets/Evaluation-Dw_wNdJ9.js       5.35 kB
dist/assets/Settings-BIhrmRya.js         5.92 kB
dist/assets/Documents-BhOzxwEq.js       13.36 kB
dist/assets/index-BjXRX3VL.js           15.51 kB
dist/assets/Chat-BJCpYrYQ.js            19.68 kB
dist/assets/preact-bIifbIIw.js          20.90 kB
dist/assets/router-BPcz5Zmv.js          37.75 kB
✓ built in 572ms
inlined 1 stylesheet(s) into dist/index.html
Post job cleanup.
(node:2444) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[command]/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/rag_web_app/rag_web_app --files-from manifest.txt --use-compress-program zstdmt
(node:2444) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
Sent 30264642 of 30264642 (100.0%), 38.8 MBs/sec
Cache saved with the key: node-cache-Linux-x64-npm-d7bd32008a3837954722bf58bc157d9ec223cf27cba7f749a83d2b5502e2c144
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/1da33121-7898-4a9a-bda8-2c58e9a12854' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/rag_web_app/rag_web_app
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes
Warning: Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/