Skip to content

chore: Latest malloy + other deps#151

Merged
aszenz merged 1 commit into
masterfrom
chore/update-deps
Jun 4, 2026
Merged

chore: Latest malloy + other deps#151
aszenz merged 1 commit into
masterfrom
chore/update-deps

Conversation

@aszenz

@aszenz aszenz commented Jun 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 4, 2026 06:30
@aszenz
aszenz force-pushed the chore/update-deps branch from 531d462 to f13461d Compare June 4, 2026 06:33

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the project to newer Malloy and related frontend/tooling dependencies, then adjusts application code and tests to match the updated Malloy APIs and Vitest/Vite behavior.

Changes:

  • Bumps Malloy, DuckDB WASM, React Router, Vite/Vitest, TypeScript, and related dev dependencies.
  • Updates Malloy API usage (e.g., model.queries().named, annotations.parseAsTag()) across UI and schema extraction code.
  • Tweaks Vite config defaults for test mode and updates tests to disable concurrency using Vitest’s newer describe(..., { concurrent: false }) style.

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
vite.config.ts Treats test mode like development for default SITE_URL and removes an optimizeDeps override.
tests/notebook-parser.test.ts Replaces describe.sequential with describe(..., { concurrent: false }).
src/SourceExplorer.tsx Changes how draftQuery is synchronized with route loader data.
src/Schema.tsx Switches “named queries” representation to string names and updates click handling/types accordingly.
src/schema-utils.ts Migrates tag parsing to annotations.parseAsTag().
src/ModelHome.tsx Updates query list source to model.queries().named and adjusts navigation behavior.
src/MalloyCodeBlock.tsx Removes an unnecessary type cast when passing langs to Shiki.
src/llms-txt/schema-extractor.ts Updates named query extraction and tag parsing for LLM schema output.
src/helpers.ts Adjusts error propagation in compileAndRun.
src/Breadcrumbs.tsx Updates query dropdown source to model.queries().named.
package.json Updates dependency versions for Malloy, Shiki, React, Vite/Vitest, TypeScript, etc.
models/superstore.malloy Switches from duckdb.table(...) to duckdb.sql(...) for the Superstore dataset source.

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

Comment thread src/SourceExplorer.tsx
Comment thread src/Schema.tsx Outdated
Comment thread src/helpers.ts Outdated
Comment thread package.json
Comment thread src/schema-utils.ts
@aszenz
aszenz force-pushed the chore/update-deps branch from f13461d to 2c503ea Compare June 4, 2026 06:43
Copilot AI review requested due to automatic review settings June 4, 2026 06:49
@aszenz
aszenz force-pushed the chore/update-deps branch from 2c503ea to b172008 Compare June 4, 2026 06:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 15 changed files in this pull request and generated 4 comments.

Comment thread src/SourceExplorer.tsx
Comment on lines +71 to +74
if (routeData.parsedQuery !== prevParsedQuery) {
setPrevParsedQuery(routeData.parsedQuery);
setDraftQuery(routeData.parsedQuery);
}, [routeData.parsedQuery]);
}
Comment thread tests/notebook-parser.test.ts
Comment thread tests/notebook-parser.test.ts
Comment thread models/superstore.malloy
@aszenz
aszenz force-pushed the chore/update-deps branch from b172008 to 5e835b6 Compare June 4, 2026 08:41
+ Pin playwright to 1.60
+ Use github reporter for debugging CI failures
Copilot AI review requested due to automatic review settings June 4, 2026 08:59
@aszenz
aszenz force-pushed the chore/update-deps branch from 5e835b6 to 1d1ab24 Compare June 4, 2026 08:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 16 out of 18 changed files in this pull request and generated 3 comments.

import { parseNotebook, extractNotebookSources } from "../src/notebook-parser";

describe.sequential("parsing notebooks", () => {
describe("parsing notebooks", { concurrent: false }, () => {
});

describe.sequential("extracting notebook sources", () => {
describe("extracting notebook sources", { concurrent: false }, () => {
Comment thread src/Schema.tsx
<QueryItem
key={queryName}
query={queryName}
path={queryName}
@aszenz
aszenz merged commit c0a029f into master Jun 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants