Skip to content

Commit 7e83f1a

Browse files
rustyconoverclaude
andcommitted
ci: pin vgi protocol-3.4 5b8b7a2 (aggregate destructor fix) and its native runner
Also pin the S3 job's vgi-rpc-python overlay to protocol-3.4 and update the aggregate_destructor comment: the extension now sends exactly one destructor per execution, when the last copy of the bind data is destroyed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 5f4408d commit 7e83f1a

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ jobs:
219219
uses: actions/checkout@v7
220220
with:
221221
repository: Query-farm/vgi-rpc-python
222+
# TODO(release-wave): back to main once protocol-3.4 is merged (pyproject
223+
# pins vgi-rpc protocol-3.4 f0fb675; main would downgrade the overlay).
224+
ref: protocol-3.4
222225
path: vgi-rpc
223226

224227
- name: Install uv

‎.github/workflows/integration.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ concurrency:
2727
env:
2828
# The test suite and native Actions artifact must come from this exact ref.
2929
# The downloader verifies its provenance against the checked-out commit.
30-
VGI_REF: 9dae8d55c9692cbd8b69d021c28b20a09aeee438
31-
VGI_NATIVE_RUNNER_BRANCH: v2.0
30+
# TODO(release-wave): vgi's protocol-3.4 branch (protocol 3.4.0, upload URLs v2,
31+
# one aggregate_destructor per execution); back to a v2.0 commit and
32+
# VGI_NATIVE_RUNNER_BRANCH v2.0 once 3.4 lands there.
33+
VGI_REF: 5b8b7a2a7e4e587e15573ddd62cf1dbcdf6b357e
34+
VGI_NATIVE_RUNNER_BRANCH: protocol-3.4
3235
# CI is not a user: its ATTACHes should not land in Query.Farm's adoption data.
3336
# The vgi extension fires a telemetry event per successful ATTACH, and this
3437
# suite performs several hundred of them per lane, so opting out keeps the

‎vgi/worker.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4054,9 +4054,11 @@ def aggregate_destructor(
40544054

40554055
func_cls = self._resolve_aggregate(request)
40564056

4057-
# Called once when all states have been destroyed (C++ tracks with
4058-
# destroy_counter == group_id_counter). Clear all FunctionStorage
4059-
# state. execution_clear() sweeps every namespace (every FrameworkNS
4057+
# The extension sends exactly one aggregate_destructor per execution,
4058+
# when the last copy of the bind data is destroyed: after every
4059+
# partition and every state is gone. A prepared statement keeps its
4060+
# bind data, and so this execution's storage, until it is deallocated.
4061+
# Clear all FunctionStorage state. execution_clear() sweeps every namespace (every FrameworkNS
40604062
# member plus any user-chosen namespaces under b"buf"/etc.) for this
40614063
# execution_id in one call — subsumes the per-family clears we used to
40624064
# need.

0 commit comments

Comments
 (0)