feat: add live views support - #605
Open
emrberk wants to merge 13 commits into
Open
Conversation
Member
Author
PR #605 ReviewReview level: 3 Issues
Summary
|
emrberk
marked this pull request as ready for review
September 8, 2026 13:07
Web Console deploy preview
|
Contributor
|
Approve with comments on PR #605, reviewed at
Typecheck, build, lint, and 2,102 unit tests passed. Browser tests weren’t run in this level-2 review. Correctness and test gates passed; zero admitted coverage gaps. Findings: 1 Moderate, 0 Critical, 0 Minor; 1 in-diff, 0 out-of-diff. Catalog, AI/MCP, and sidebar callers remain compatible with the changed contracts. No production files changed. |
puzpuzpuz
self-requested a review
September 9, 2026 16:12
puzpuzpuz
approved these changes
Sep 9, 2026
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.
Adds live views to the Web Console as a first-class schema object.
Live views
ALTER LIVE VIEW '<name>' RESUME WAL.Health rules for live views
Live view specific:
view_statusisinvalid. Showsinvalidation_reason.view_statusisversion_unsupported. Server build cannot read the on-disk format.view_statusisstate_unreadable. State files corrupt or missing.writer_stall_microsabove 5 s on the current poll. Readers pin both memory slots.Shared WAL rules that also apply to a live view:
If
live_views()fails, overall status becomes Unknown and all live view fields show Unavailable.Other user-visible changes
tables(),materialized_views()andlive_views()are read as bigint, so large row counts and transaction numbers are no longer rounded in the drawer or in AI prompts.storage_policiescatalog instead of being parsed out of DDL text, so the Details tab reflects policy changes live, including a disabled policy.(or[.nullwhen the server reports no invalidation reason.