Skip to content

Conversation

@mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Sep 29, 2025

Cache SQL validation requests that are shared from the linter and banner

@vercel
Copy link

vercel bot commented Sep 29, 2025

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

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Sep 29, 2025 4:00am


try {
const result = await ValidateSQL.request({
onlyParse: false,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Light2Dark since onlyParse is true in one case but false in the other, the cache is not that effective. maybe they can both be true? or both false (for just duckdb)

Copy link
Contributor

@Light2Dark Light2Dark Sep 29, 2025

Choose a reason for hiding this comment

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

yeah, both can be false if in validate sql mode for duckdb.

@@ -1,74 +0,0 @@
/* Copyright 2024 Marimo. All rights reserved. */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

duplicate file

@Light2Dark Light2Dark merged commit 66650d6 into main Sep 29, 2025
25 checks passed
@Light2Dark Light2Dark deleted the ms/cache-validate-requests branch September 29, 2025 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants