Files
onyx/web
SubashMohan cf4855822b Perf/indexing status page (#5142)
* indexing status optimization first draft

* refactor: update pagination logic and enhance UI for indexing status table

* add index attempt pruning job and display federated connectors in index status page

* update celery worker command to include index_attempt_cleanup queue

* refactor: enhance indexing status table and remove deprecated components

* mypy fix

* address review comments

* fix pagination reset issue

* add TODO for optimizing connector materialization and performance in future deployments

* enhance connector indexing status retrieval by adding 'get_all_connectors' option and updating pagination logic

* refactor: transition to paginated connector indexing status retrieval and update related components

* fix: initialize latest_index_attempt_docs_indexed to 0 in CCPairIndexingStatusTable component

* feat: add mock connector file support for indexing status retrieval and update indexing_statuses type to Sequence

* mypy fix

* refactor: rename indexing status endpoint to simplify API and update related components
2025-08-24 17:43:47 -07:00
..
2025-08-24 17:43:47 -07:00
2025-04-15 23:35:13 +00:00
2025-05-20 21:33:18 +00:00
2025-04-20 23:29:47 +00:00
2025-04-01 16:19:44 -07:00
2025-05-20 21:33:18 +00:00
2025-05-20 21:33:18 +00:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Install node / npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm Install all dependencies: npm i

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

Note: if you are having problems accessing the ^, try setting the WEB_DOMAIN env variable to http://127.0.0.1:3000 and accessing it there.

Testing

This testing process will reset your application into a clean state. Don't run these tests if you don't want to do this!

Bring up the entire application.

  1. Reset the instance
export PYTEST_IGNORE_SKIP=true
pytest -s tests/integration/tests/playwright/test_playwright.py
  1. Run playwright
cd web
npx playwright test

To run a single test:

npx playwright test landing-page.spec.ts

If running locally, interactive options can help you see exactly what is happening in the test.

npx playwright test --ui
npx playwright test --headed
  1. Inspect results

By default, playwright.config.ts is configured to output the results to:

web/test-results
  1. Upload results to Chromatic (Optional)

This step would normally not be run by third party developers, but first party devs may use this for local troubleshooting and testing.

cd web
npx chromatic --playwright --project-token={your token here}