Repository navigation
feat(dashboard): accept BigQuery Console table links - #424
Conversation
Independent review at
|
Anchor the workspace table reference on the stable !4m3!1s..!2s..!3s.. core instead of the full !1m5!1m4!4m3! marker. The live Console appends UI-state fields such as !23sRESOURCE_LIST, which bump the enclosing group counts to !1m6!1m5, so the previous exact marker rejected the URL users actually copy from the address bar (verified against a real Console session on 2026-08-12). Accept a workspace only when every table reference in it names the same table: repeated references to one table are unambiguous, while a workspace naming two different tables is still rejected, as are dataset views, which use a !3m2 marker and contain no table reference.
Follow-up review at
|
Code Review ResultsScope: PR #424, Reviewers: correctness, testing, security, adversarial, previous-comments
Triage Groups
P1 -- High
P2 -- Moderate
Actionable Findings
Coverage
Verdict
Actionable Findings Recap
Actionable findings: 2. |
Address both findings from the PR #424 review: Reject a workspace whose !4m3 table-marker starts are not all consumed by complete table references, so a valid reference followed by a truncated marker no longer bypasses the ambiguity check. Reject a workspace where a !3m2 dataset-view resource coexists with a table reference: the undocumented ws encoding does not prove which resource is active, and autofilling the lone table could select one the user is no longer viewing. All captured live shapes remain accepted. Also cover URL-shaped input whose URL constructor throws (https://) through both the parser and DOM no-mutation paths.
Follow-up review at
|
Code Review ResultsScope: PR #424, Reviewers: correctness, testing, security, adversarial, previous-comments
P2 -- Moderate
Requirements Completeness
Actionable Findings
Coverage
Verdict
Actionable Findings Recap
Actionable findings: 1. |
A workspace truncated exactly at a trailing !4m3 was invisible to the marker-completeness check because the marker pattern required a following delimiter. Count markers at a delimiter or end-of-string boundary so the dangling shape rejects like every other truncated reference. Mirror both truncated-marker shapes in the DOM no-mutation loop and pin the captured live left-panel (!16m3) multi-group URL as an accepted fixture.
Follow-up review at
|
Code Review ResultsScope: PR #424, Reviewers: correctness, testing, security, adversarial, previous-comments
P2 -- Moderate
Requirements Completeness
Actionable Findings
Coverage
Verdict
Actionable Findings Recap
Actionable findings: 1. |
new URL() canonicalizes https:evil.example to https://evil.example/, but the URL-shaped pre-check required ://, so the shorthand fell through to the legacy colon-form normalization and autofilled all three fields. Recognize http: and https: as URL-shaped regardless of slash count and send them through the strict Console-link validation, which rejects foreign hosts without touching any field. No legitimate colon-form paste is affected: PROJECT_RE requires at least six characters, so no project can be named http or https. A slashless spelling of an approved Console link now canonicalizes and parses like its :// form.
Follow-up review at
|
Code Review ResultsScope: PR #424, Reviewers: correctness, testing, security, adversarial, previous-comments
P2 -- Moderate
Requirements Completeness
Actionable Findings
Coverage
Verdict
Actionable Findings Recap
Actionable findings: 1. |
The rejection summary still said repeated table-reference markers are unrecognized, contradicting the contract above it and the tested behavior: repeated complete references naming one table are supported, while incomplete markers and references naming different tables reject. Also pin the slashless allowlisted-URL spelling as a positive fixture.
…configurator (#450) * chore(release): 0.5.1 — evalbench reader, canonical rubrics, single-input configurator Version bump 0.5.0 -> 0.5.1 and the changelog cut for everything merged since v0.5.0 (2026-08-11). In the wheel: the EvalBench BigQuery run reader (#444), canonical evaluation rubrics in core (#431), and the CLI judge-feedback escaping fix (#438). Repo/live-template side: the single fully-qualified table-ID configurator entrance (#449), Console table-link paste (#424), the attested external-access contract with its staleness workflow (#446), the end-user manual (#425), Grafana metric and scan-bound fixes (#433) with the one-command local run (#422), and the documentation and CI follow-ups. * chore(release): fold #432 golden-matching into the 0.5.1 cut The release branch was cut one commit before #432 landed on main; the synthetic merge CI builds would already ship golden_matching.py in the 0.5.1 wheel, so the module and its three top-level exports must be in the release section. Merges main and documents the module in Release highlights and Added.
Summary
Testing
Follow-up to #403.