Repository navigation
Release 0.5.3: EventsTableNotFoundError, smoke-gate memory cap, dashboards extras - #487
Conversation
caohy1988
left a comment
There was a problem hiding this comment.
Second-seat review (Muse, blind) — verdict: APPROVE (posted as comment: GitHub does not permit approving one's own PR). Scope verified: 2 files only (pyproject.toml, CHANGELOG.md), matching the #478 release pattern. (1) Patch bump 0.5.2 -> 0.5.3 correct: all wheel-facing changes since v0.5.2 are backward-compatible (EventsTableNotFoundError #485/#486, smoke-gate headroom + extras #480, docstring #484; nothing removed/renamed). (2) Changelog matches the v0.5.2..HEAD diffs; repo-side sections correctly labeled not-in-wheel; Unreleased empty; dated 2026-09-20. (3) No tag/publish automation (no .github/ changes, tags stop at v0.5.2). (4) No missing wheel note, no overclaim. Non-blocking nits: Fixed header cites issue #485 not PR #486; extras bullet omits db-dtypes/pandas/python-dotenv pins. No code changed, so no test regression possible from this diff.
caohy1988
left a comment
There was a problem hiding this comment.
Submission status: GitHub rejected the formal APPROVE event with HTTP 422 ("Can not approve your own pull request"). The available authenticated account, caohy1988, is the PR author. This COMMENT review records Astra's independent decision and does not satisfy a formal GitHub approval requirement.
ASTRA_REVIEW_DONE — APPROVE (one nonblocking documentation nit)
Independent Astra/Codex release-cut review of 344219c26e93149963d7c8b2e5e91529ea604fcb. I did not read Muse's review or any PR review/discussion endpoints. No merge, tag, release, or publish performed.
- Version and coverage: only
pyproject.tomlandCHANGELOG.mdchange. The version is 0.5.3; Unreleased remains empty and the historical 0.5.2 section is unchanged, matching #478. Verified the upstream v0.5.2 tag is22d44db; its six following commits through818b3afare all covered: #479 receipt example, #481 Grafana move, #483 deploy timeout/compat cleanup, #480 dashboard/extras/smoke-gate fix, #484 quickstart, and #486 onboarding/missing-table errors (the changelog cites its issue #485). - Compatibility: no root SDK public API removal or signature break found that calls for 0.6.0.
EventsTableNotFoundErrorremains aNotFoundsubclass, preserves exception metadata, and leaves unrelated NotFound errors untouched. Extras are additive; the heavier[all]install is disclosed. Grafana paths and removed deploy helpers/--scripts-diraffect repository users and are explicitly documented outside the wheel. - Owner gate and tracing: PR is OPEN/draft, with auto-merge unset. No workflow or executable release action is added. The PR body's post-merge commands are manual instructions; actually publishing the root GitHub Release intentionally triggers
release.yml, which does not run on PR approval or merge alone. The producer workflow usestracing-v*; producer files are unchanged and this changelog makes no tracing-package publication claim. - Validation: independently built wheel and sdist from an archive of the reviewed commit; both metadata versions are 0.5.3. Inspected the wheel: dashboards/deploy/scripts/examples/producers are excluded.
git diff --checkpasses. Focused SDK/onboarding/extractor tests: 283 passed, 2 skipped. CI Python 3.10–3.14, formatting, browser smoke and dashboard-query checks passed; CI package build was queued at the last check. No live cloud tests or local full-suite run.
Nonblocking wording correction — CHANGELOG.md:60–65: the previous runner did not set its limit before the SDK/native import footprint existed. Python's -m startup imports parent packages first. On the v0.5.2 source, importing the runner already loads google.cloud.bigquery, pandas, pyarrow, numpy, structured_extraction, and smoke_test before main() (and therefore before _set_memory_limit). The effective fix is adding the existing virtual address-space baseline to the budget. Suggested wording: “The previous absolute RLIMIT_AS ceiling could be below the address space already reserved by SDK/native imports, causing later allocations to fail before the candidate loaded. The runner now adds memory_limit_mb as headroom above that baseline.” The documented new behavior and fallback are correct; this root-cause wording does not block the release cut.
…ap, dashboards extras Version bump 0.5.2 -> 0.5.3 and the changelog cut for everything merged since v0.5.2 (2026-09-05), 6 commits. No public API is removed or renamed. In the wheel: EventsTableNotFoundError, a NotFound subclass raised by get_trace() / list_traces() reads against a missing events table, naming the table, the location and the Client() arguments to check (#485, #486); the extractor-compilation smoke gate applies memory_limit_mb as headroom above the child's post-import address space instead of an absolute RLIMIT_AS (#480); new streamlit / dashboards extras, with all now including dashboards (#480); the package quick-start docstring (#484). Repo side: the Streamlit agent analytics dashboard (#480), grafana/ moved to dashboards/grafana/ (#481), ANALYST_TIMEOUT_S and the removal of the pre-#395 engine compat scaffolding in the skill-evolution job (#483), the OKF Attested Computation receipt spike (#479), and the README onboarding fixes (#484, #485). Entries the Unreleased section lacked are added in this cut: #479, #480, Deploy section, since deploy/ and scripts/ are not in the wheel. The #486 bullet is carried verbatim.
344219c to
9a21752
Compare
caohy1988
left a comment
There was a problem hiding this comment.
APPROVE (Muse, blind second seat) — tip 9a21752. Direct approve blocked by self-review guard, recording verdict as comment. Verified: pyproject 0.5.3 + Unreleased empty; diff vs main tip 125c95b is only CHANGELOG.md + pyproject.toml; no .github/tag automation touched, no tag on HEAD (release.yml fires only on published v* releases). Bullets match code: EventsTableNotFoundError (NotFound subclass, top-level export, shared _read_rows, table+location+Client() args); streamlit/dashboards/all extras with matching pins; smoke-gate headroom semantics; empty _CROSS_EVENT_VIEW_DEFS with create_all_views + CLI create-all; JUDGE_MODEL in 3 demos + examples/README; quickstart/README/ANALYST_TIMEOUT_S/grafana-move/OKF-spike items present. Wheel vs repo-side labeling correct; no overclaims. Tests: 44 passed (views), 15 passed (client error subset).
caohy1988
left a comment
There was a problem hiding this comment.
APPROVE — independent Astra / Codex re-review of tip 9a21752, against main 125c95b. No blocking findings. I did not read Muse's review.
Verified:
- Root pyproject.toml is exactly 0.5.3; its only change from main is the version. The complete PR diff contains only pyproject.toml and CHANGELOG.md. Main is the direct parent, including merged #486, #488 and #489; no implementation or workflow is reverted.
- Unreleased is empty. The 0.5.3 section covers EventsTableNotFoundError (#485 issue / #486 implementation), #480 smoke-gate and streamlit/dashboards extras, #210/#489 ViewManager _CROSS_EVENT_VIEW_DEFS, #471/#488 JUDGE_MODEL separation, #479 OKF spike, #483 ANALYST_TIMEOUT_S, and #484/#485 README changes. Historical 0.5.2-and-earlier changelog content is unchanged. The error entry currently links #485 only; adding #486 would improve PR traceability.
- Patch 0.5.3 is appropriate for this cut, consistent with #478. No existing SDK public callable was removed or incompatibly changed since 0.5.2; EventsTableNotFoundError preserves NotFound handling, optional extras are additive, and the empty cross-event registry leaves existing deployed views unchanged. Repo-only path/compatibility removals are disclosed separately.
- No new tag, publish or merge automation. Existing root publishing requires a separate published GitHub release with a v-prefixed tag; tracing publishing requires a tracing-v* tag push. Neither this PR nor this review triggers those workflows. Auto-merge is null, and the checked workflows have no pull_request_review trigger.
Validation at this exact tip: git diff --check passed; uv build produced wheel and sdist with independently inspected version 0.5.3; the wheel excludes repo-only dashboards/deploy/scripts/examples/producers. Focused tests for client/error handling, extractor compilation, cross-event views, existing views and CLI: 466 passed, 2 skipped (Python 3.12). At the latest snapshot, format, dashboard contracts, browser smoke, security scan, CLA and Python 3.14 passed; Python 3.10–3.13 were still running. No full local suite or live cloud run claimed.
Nonblocking retained wording nit (CHANGELOG.md:71–80): the old python -m runner already imported parent packages and the smoke harness before main() applied its cap. Describe the fix as replacing an absolute virtual-memory ceiling with measured baseline plus candidate headroom, rather than attributing it to first importing the SDK before the cap. The documented new behavior and Linux fallback are correct.
ASTRA_REVIEW_DONE APPROVE 9a21752
Submission note: GitHub rejected the formal --approve attempt with "Review Can not approve your own pull request". This is the requested COMMENTED-review fallback; the independent decision is APPROVE, but this does not satisfy a formal GitHub approval requirement.
Summary
Version bump
0.5.2 → 0.5.3plus the changelog cut for everything merged sincev0.5.2. Two files:pyproject.tomlandCHANGELOG.md. Patch release — no public API is removed or renamed.Rebased onto main after #488 (
d6eb0b9, #471 JUDGE_MODEL) and #489 (125c95b, #210 ViewManager cross-event) merged. Tip9a21752. CHANGELOG now also covers those landings.In the wheel / notes:
EventsTableNotFoundError(#485/#486); extractor smoke-gate memory headroom +streamlit/dashboardsextras (#480); ViewManager_CROSS_EVENT_VIEW_DEFS(#210/#489); examples JUDGE_MODEL decoupling (#471/#488); plus prior draft items (#479 OKF spike, #483 ANALYST_TIMEOUT_S, #484/#485 README, dashboards layout #480/#481).Do not
haiyuan-eng-googlegate (caohy1988 cannot satisfy org APPROVE as author).Test plan
pyproject.tomlversion =0.5.3[0.5.3]includes fix: README onboarding and EventsTableNotFoundError (#485) #486 + Three examples pass oneMODEL_NAMEto both the agent and the AI.GENERATE judge; the SDK's judge defaults are silent #471/Decouple agent MODEL_NAME from judge model in examples #488 + adk-2.0 design: cross-event view deployment plumbing (extend ViewManager or add AnalyticsViewManager) #210/feat(views): cross-event view deployment plumbing (#210) #489 + prior draft9a21752