Draft
Conversation
|
Compute preview deployed. Branch: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
prisma-logstream ingestion with initial snapshot replay plus live SSE follow, charted latency/QPS metrics, table filtering/sorting, pause buffering, and the right-side AI recommendation sheet.prisma-logstream, with Studio system queries classified via visibility metadata instead of filtered out.tsepoch fields, soprisma-logrows show real relative/exact times in the Streams view.@prisma/devruntime assets no longer includepglite-seed.tar.gz, and the TanStack DB architecture allowlist now includes the existing stream-events collection boundary.Validation
git diff --checkpnpm typecheckpnpm buildCOREPACK_ENABLE_STRICT=0 pnpm check:exportspnpm test:datapnpm test:demopnpm test:checkpointpnpm exec vitest --project releaseNODE_OPTIONS=--max-old-space-size=8192 pnpm exec vitest --passWithNoTests --project ui --maxWorkers=2 --exclude ui/studio/views/table/ActiveTableView.filtering.test.tsxgit ls-files -m -o --exclude-standard | rg '\.(ts|tsx)$' | xargs pnpm exec eslint(warnings only from existingdata/query.tsanyusage)pnpm test demo/ppg-dev/query-insights.test.ts ui/studio/views/query-insights/codecs.test.ts ui/studio/views/query-insights/rows.test.tspnpm exec eslint demo/ppg-dev/query-insights.ts demo/ppg-dev/query-insights.test.ts ui/studio/views/query-insights/types.ts ui/studio/views/query-insights/codecs.ts ui/studio/views/query-insights/codecs.test.ts ui/studio/views/query-insights/rows.ts ui/studio/views/query-insights/rows.test.tspnpm test ui/studio/views/query-insights/use-query-insights-stream.test.tsx ui/studio/views/query-insights/codecs.test.ts ui/studio/views/query-insights/rows.test.ts ui/hooks/use-stream-events.test.tsx demo/ppg-dev/query-insights.test.tspnpm exec eslint ui/studio/views/query-insights/use-query-insights-stream.ts ui/studio/views/query-insights/use-query-insights-stream.test.tsx ui/hooks/use-stream-events.ts ui/hooks/use-stream-events.test.tsxpnpm test ui/studio/views/query-insights/QueryInsightsView.test.tsx ui/studio/views/query-insights/use-query-insights-stream.test.tsxpnpm demo:ppg, thenPOST /api/querywithmeta.visibility = "studio-system"andGET /api/streams/v1/stream/prisma-log?format=json&offset=-1to verify Studio system executions are appended withvisibility: "studio-system".http://localhost:4310/#view=query-insightsverified Query Insights populates immediately from the existingprisma-logsnapshot.http://localhost:4310/#stream=prisma-log&view=streamverifiedts-backed rows render relative/exact times instead ofUnknown time.Notes
A full all-project
pnpm testrun was attempted after stopping the demo server. It progressed through the suite but the existingui/studio/views/table/ActiveTableView.filtering.test.tsxfile spins a Vitest worker into high CPU/heap when run as a whole. The changed Query Insights/UI/data/demo/release/checkpoint paths pass with the targeted commands above.