Skip to content

Prepare for V3 stable release - #152

Open
manuskc wants to merge 4 commits into
GoogleCloudPlatform:mainfrom
manuskc:v3_release
Open

Prepare for V3 stable release#152
manuskc wants to merge 4 commits into
GoogleCloudPlatform:mainfrom
manuskc:v3_release

Conversation

@manuskc

@manuskc manuskc commented Jul 31, 2026

Copy link
Copy Markdown

Changes:
Cherry picks image service modernization changes from v3.0 branch
Bumps up the version to 3.0
Fixed zizmor warnings

  • Actions version pinning
  • Set github workflows to have read-only access to repo

abhishekr700 and others added 3 commits July 31, 2026 06:02
…GoogleCloudPlatform#146)

* feat(images): implement authenticated gRPC redirection for Images API

- Intercept `execute_transforms`, `histogram`, and `composite` calls in the SDK.
- Redirect these calls to a custom, self-hosted gRPC service defined by `IMAGES_SERVICE_ENDPOINT`.
- Implement secure service-to-service authentication using OIDC tokens (via `google.auth` and `grpc.access_token_call_credentials`).
- Support native Google Cloud Storage (GCS) integration by passing raw `/gs/` paths to the external service, bypassing legacy BlobKey encoding.
- Implement fallback logic for legacy BlobKeys: automatically fetch blob content locally and send raw bytes to the external service when a direct reference cannot be resolved.
- Increase gRPC max receive message size to 32MB to support high-resolution image processing.
- Refactor internal logic to share authentication and channel creation code across all API methods.

* ci: Add fail-fast: false to matrix strategy

This will ensure that the workflow continues to run for all Python versions even if one of them fails.

* ci: Remove deprecated Python 3.7 and 3.8 from matrix

These runtimes are deprecated as per the support schedule:

https://docs.cloud.google.com/appengine/docs/standard/lifecycle/support-schedule#python
…CloudPlatform#150)

* Update image-server configuration environment variable names.

* fix parsing value of USE_CUSTOM_IMAGES_GRPC_SERVICE
@manuskc
manuskc requested a review from shruti-mantri July 31, 2026 06:10
@manuskc
manuskc force-pushed the v3_release branch 4 times, most recently from 899cabb to 6d10e9c Compare July 31, 2026 07:29
1. Limit permissions for GitHub Actions workflows to read-only access.
2. Pin GitHub Actions to commit SHAs for workflow security
 - git ls-remote https://github.com/actions/checkout refs/tags/v2
 - git ls-remote https://github.com/actions/setup-python refs/tags/v2
 - git ls-remote https://github.com/pypa/gh-action-pypi-publish refs/tags/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants