Skip to content

ref(dashboard): split large app and route tests - #1681

Merged
dcramer merged 1 commit into
mainfrom
ref/dashboard-split-oversized-files
Aug 25, 2026
Merged

ref(dashboard): split large app and route tests#1681
dcramer merged 1 commit into
mainfrom
ref/dashboard-split-oversized-files

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Main fails the file length check because the dashboard app file and its route tests went over 1,000 lines.

This moves shell page and asset rendering into shell.ts, and splits the route tests into shell and auth setup suites. Behavior stays the same. The goal is to clear the length check with real splits, not exceptions or line-shaving.

Requested by David Cramer.

--

View Junior Session [Sentry]

Move shell rendering out of the dashboard app entry and split the route
tests so both stay under the file length limit.

Co-Authored-By: David Cramer <david@sentry.io>
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 25, 2026 3:40am

Request Review

@dcramer
dcramer marked this pull request as ready for review August 25, 2026 03:40
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 25, 2026
@github-actions

Copy link
Copy Markdown

Dashboard visual evidence

Mode: path-selected
Selected: gallery-index

Triggered by:

  • packages/junior-dashboard/src/app.ts
  • packages/junior-dashboard/src/shell.ts
  • packages/junior-dashboard/tests/auth-config.test.ts
  • packages/junior-dashboard/tests/dashboard-routes.test.ts
  • packages/junior-dashboard/tests/dashboard-shell-routes.test.ts

Component gallery index · desktop

Component gallery index · desktop

Full-page screenshots from the mock dashboard. Not a pixel-diff gate.

@dcramer
dcramer merged commit 9ab0f4f into main Aug 25, 2026
39 checks passed
@dcramer
dcramer deleted the ref/dashboard-split-oversized-files branch August 25, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant