Repository navigation
chore(release): bump version to 0.6.2 - #574
Conversation
caohy1988
left a comment
There was a problem hiding this comment.
Reviewed PR #574 at 3f347dad7391db2cc4feacf055d4629dade827db. No P0/P1 findings; one P2 documentation finding.
Rejection criteria: omitted or inaccurate release behavior; migration instructions inconsistent with the merged changes; version metadata or build output inconsistent with the proposed release.
[P2] Include the trial dashboard's filter and token-accounting fixes — CHANGELOG.md:294
Root cause and impact: The #572 entry summarizes the initial efficiency change but omits material fixes included in the final merged commit 3196442e. The trial replaces :sqlstring interpolation with JSON arrays so apostrophes and backslashes remain filter data, and falls back to attributes.usage_metadata for direct-logger token counts and estimated cost, without double-counting rows containing both usage shapes. These are documented in dashboards/grafana/README.md:377 and exercised by tests/test_grafana_efficiency_trial.py:219. Describing only query reuse and refresh intervals hides the security and accounting reasons to evaluate the trial. These fixes apply to the trial; the main dashboard retains its previous queries.
Fix: Extend this entry with both changes and explicitly preserve the trial-only scope. Identify the filter change as security hardening and the usage fallback as a correctness fix; do not imply that importing the main dashboard or upgrading the wheel applies them.
Verification: Compare the revised text with the final #572 diff and run python -m pytest tests/test_grafana_efficiency_trial.py -q. That module passed in this review, including old-encoding rejection controls, filter round trips, direct-logger/mixed-producer token accounting, and embedded-query execution against the SDK views using SQLite stand-ins. No live database execution is claimed.
Verification completed:
- Local history contains 31 merged PRs between
v0.6.1and this release's parent, and every one appears in the new section: #537–#546, #548–#549, #551–#558, #560–#565, #567–#569, #572, and #573. No extra PR references appear in that section. Numeric gaps in that sequence have no corresponding merged commit in this range; they are not demonstrated omissions. pyproject.tomlis the authoritative SDK version. Repository-wide searches found no additional SDK version constant or release pin requiring an update. Telemetry reads installed distribution metadata; the0-6-1documentation example is illustrative. Producer and plugin versions belong to separate releases.- Runtime dependencies, console scripts, wheel package selection, existing public function signatures, and package export files are unchanged from
v0.6.1. Thejsonschema>=4.18development-extra change is disclosed. Security/Fixed/Changed/Removed classifications match the inspected changes, subject to the #572 omission above. - A patch release is defensible for this version-zero SDK: the wheel changes harden existing behavior and remove unused loggers, while the new dashboards and moved plugins have separate delivery scopes. The changelog discloses newly refused inputs and changed exception behavior rather than promising universal compatibility. Semantic Versioning explicitly permits changes during version-zero development.
- The #548 directory moves and deployment-root instructions agree with the merged files. The #573 catalog removal, retained tracing build source, marketplace replacement sequence, and
event_idupgrade warning agree with the local changes and pre-move writer'signoreUnknownValuesbehavior. Current destination-repository state was not verified. - The date, Unreleased heading, newest-first ordering, and component grouping follow the existing changelog. There are no version-link reference definitions at either base or head, so
[0.6.2]is unlinked like older headings. This is inherited navigation debt relative to the Keep a Changelog example, not a new broken comparison target. - Built both wheel and source distribution with the declared backend, verified
0.6.2metadata and all five console scripts, and rebuilt the wheel from the source distribution with identical member contents. All 94 wheel Python files compile. Focused tests passed: 1,611 identifier/literal/drift/dashboard cases plus 1,121 categorical/numeric/graph cases, 2,732 total. Whitespace checks passed; the reviewed checkout remains clean.
Verification limits: gh pr view could not reach the API, the connected GitHub service required reauthentication, public-page retrieval failed, and browser access was unavailable. PR coverage and behavior were checked against local merged commits and source, not freshly fetched PR bodies. Latest tracing-release status, destination migration-review status, branch protection/merge-queue settings, and current live-template behavior remain unverified. No publication or upload was attempted.
Blind-review qualification: mandatory shared-policy reads exposed historical review summaries for unrelated changes. No review of #574 was consulted, but the standing policy excludes this session from the strict blind-review gate; this is a technical review with that procedural limitation.
VERDICT: COMMENT
caohy1988
left a comment
There was a problem hiding this comment.
Review of 3f347dad
0 findings.
Rejection criteria checked: incomplete or inaccurate release coverage; unjustified compatibility or migration guidance; and broken source/wheel packaging.
Findings
No P0/P1/P2/P3 findings.
Verification
pyproject.toml:7has the intended0.6.2value. A repository-wide version sweep found no other SDK release pin requiring an update. The separately released producer retains its independent version, and the0-6-1documentation string is an example of label encoding rather than a release pin.- Compared the complete
v0.6.1..HEAD~1merge window with PR metadata through #574. All 31 merged PRs are cited inCHANGELOG.md:10-375, including #573. Closed-unmerged #550, #570, and #571 and issue numbers #547, #559, and #566 are correctly absent. - Checked the entries against PR descriptions, merged diffs, and current source for the security fixes, documentation changes, dashboard additions, CI changes, and removals. The patch choice is justified: wheel-facing changes are security fixes and removal of undocumented, unexported attributes; new dashboard features are outside the wheel; runtime dependencies and public signatures are unchanged; and the dependency-floor change affects development extras only.
- The #548 paths match the actual moves, including
dashboard_v2todashboards/web, and the deployment root-directory migration matches the merged instructions. The #573 catalog name and plugin IDs match the destination catalog, the retained source layout is described correctly, and theevent_idwarning matches the migration guidance. The destination repository's SDK-specific migration section remains in its open follow-up PR, as stated. CHANGELOG.md:10follows the existing release-heading, category, date, and PR-reference conventions. Its heading reference style is consistent with prior sections; no inconsistent link definition was introduced. The complete file was read, andgit diff --check HEAD~1passed.- Ran the standard
python -m buildfrom a clean export. It producedbigquery_agent_analytics-0.6.2.tar.gzandbigquery_agent_analytics-0.6.2-py3-none-any.whl; both metadata surfaces report0.6.2. The wheel contains 99 files, excludes repository-only dashboard/plugin/producer directories, and retains the prior runtime requirements.
Process note: shared operating guidance contained historical review material, so this is an independent technical review rather than a strict blind-process attestation. No prior review of this PR was consulted.
VERDICT: COMMENT
Bumps
bigquery-agent-analyticsto 0.6.2 and adds the 0.6.2 CHANGELOG section. This covers the 31 PRs merged since v0.6.1, from #537 through #572.This is a patch release. In the wheel, the changes are SQL-injection hardening (#539–#542) and the removal of unused loggers (#545). No exported name, signature, console script or runtime dependency changes. Behavior changes only for the inputs the new checks refuse or escape.
Outside the wheel, the
bqaa-tracingplugin marketplace moved to GoogleCloudPlatform/BigQuery-Agent-Analytics-Plugins (#573), and the dashboard folders now live underdashboards/(#548). Migration notes for both are in the CHANGELOG entry. Two dashboards are new, a Power BI port and a Grafana efficiency-trial dashboard, and the BQCA Looker Studio template sync is live.