Skip to content

Conversation

@ECWireless
Copy link
Collaborator

@ECWireless ECWireless commented Jan 11, 2026

This pull request introduces automated Lighthouse performance checks to the CI workflow. It adds a dedicated Lighthouse job that runs on pull requests targeting the main branch, sets up the required configuration for Lighthouse CI, and updates dependencies to support these checks.

Pages that it checks:

  • /
  • orchestrators
  • leaderboard
  • transactions
  • voting
  • treasury

Speed Improvements

OrchestorsList now renders only after the UI layout is painted, making the home and orchestrators page much faster when there is no cache available

CI/CD Pipeline Enhancements:

  • Added a new lighthouse job to .github/workflows/ci.yml that installs dependencies, builds the project, starts the server, waits for it to be ready, and then runs Lighthouse CI for PRs targeting main.

Performance Testing Configuration:

  • Introduced .lighthouserc.json with Lighthouse CI settings, including test URLs, run count, desktop emulation, and performance assertions for key metrics like performance score, LCP, CLS, and TBT.

Dependency Updates:

  • Added @lhci/cli as a dev dependency in package.json to enable running Lighthouse CI in the workflow.
  • Added wait-on as a dev dependency in package.json to allow the workflow to wait for the server to be ready before running Lighthouse.

@ECWireless ECWireless linked an issue Jan 11, 2026 that may be closed by this pull request
2 tasks
@vercel
Copy link

vercel bot commented Jan 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
explorer-arbitrum-one Ready Ready Preview, Comment Jan 14, 2026 2:58am

@ECWireless ECWireless marked this pull request as ready for review January 14, 2026 02:32
Copilot AI review requested due to automatic review settings January 14, 2026 02:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds automated Lighthouse CI performance testing to the workflow and implements a performance optimization for the orchestrator list rendering. The optimization defers rendering of the OrchestratorList component using requestAnimationFrame to allow the browser to paint the initial page layout first.

Changes:

  • Added Lighthouse CI workflow that waits for Vercel preview deployments and runs performance tests
  • Configured Lighthouse with desktop preset and performance thresholds for key metrics
  • Implemented deferred rendering for OrchestratorList on home and orchestrators pages using requestAnimationFrame

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
.github/workflows/lighthouse-vercel-preview.yml New workflow that polls for Vercel preview deployment and runs Lighthouse CI tests
.lighthouserc.json Lighthouse configuration with performance assertions for LCP, CLS, TBT, and overall score
package.json Added @lhci/cli and wait-on as dev dependencies
pnpm-lock.yaml Lock file updates for new dependencies and their transitive dependencies
pages/orchestrators.tsx Added requestAnimationFrame-based deferred rendering of OrchestratorList
pages/index.tsx Added requestAnimationFrame-based deferred rendering of OrchestratorList

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

Slow Livepeer home page without cache

2 participants