Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,12 @@ jobs:
- name: Install grpcio-tools
run: |
python -m pip install --upgrade pip
# Pin the same grpcio-tools range as requirements.txt so the
# stubs we regenerate match what production uses. If
# grpcio-tools updates and starts producing different stub
# bytes, this job catches it as a drift before merge.
pip install 'grpcio>=1.65,<2.0' 'grpcio-tools>=1.65,<2.0'
# Pin grpcio-tools to the EXACT version in requirements.txt. The
# generated stub embeds the generator version
# (GRPC_GENERATED_VERSION), so a loose range lets a patch release
# float (e.g. 1.81.0 -> 1.81.1) and fail this drift gate on a
# version string alone. Keep this in lockstep with requirements.txt.
pip install 'grpcio>=1.65,<2.0' 'grpcio-tools==1.81.1'

- name: Set up Node.js (for ts-proto plugin)
uses: actions/setup-node@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from . import runtime_pb2 as kakeya_dot_v1_dot_runtime__pb2

GRPC_GENERATED_VERSION = '1.81.0'
GRPC_GENERATED_VERSION = '1.81.1'
GRPC_VERSION = grpc.__version__
_version_not_supported = False

Expand Down
8 changes: 7 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,14 @@ prometheus-client>=0.20,<1.0
# file because (a) we want CI to be able to drift-check the
# committed stubs, and (b) the install footprint is small and there
# is no separate dev-requirements file in this project today.
#
# grpcio-tools is PINNED to an EXACT version: the generated stub embeds
# the generator version as `GRPC_GENERATED_VERSION = '<grpcio-tools ver>'`,
# so a loose range lets a patch release (e.g. 1.81.0 -> 1.81.1) silently
# change the committed bytes and fail the `proto stub drift` CI gate.
# Bump this pin (and re-run scripts/regenerate_proto_stubs.sh) deliberately.
grpcio>=1.65,<2.0
grpcio-tools>=1.65,<2.0
grpcio-tools==1.81.1

# K2.A KakeyaLattice K/V cache compression (ADR 0008 §11.11).
# Pinned to >= 1.5 (the tested Mac M4 release; see PR-K2.A.0
Expand Down
Loading