Skip to content

chore: add CI check to enforce version bump when src/ is modified - #79

Merged
jplbrun merged 2 commits into
mainfrom
chore/ci-check-version-bump
Apr 24, 2026
Merged

jplbrun merged 2 commits into
mainfrom
chore/ci-check-version-bump

Conversation

@jplbrun

@jplbrun jplbrun commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Description

Added a GitHub Actions workflow that fails the PR if any file under src/ was changed but the version = "..." line in pyproject.toml was not modified

@jplbrun
jplbrun marked this pull request as ready for review April 24, 2026 12:50
@jplbrun
jplbrun requested a review from a team as a code owner April 24, 2026 12:50

@jeanscherf jeanscherf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this, @jplbrun Very clean implementation. This is exactly what we needed.

Two small things I wanted to comment:

  • When src/ is not modified, the job exits silently with no output.
    Maybe an extra else with echo "No src/ changes. Version bump not required." would make the CI logs self-explanatory.
  • The file is named .yml while all other workflows in this repo use .yaml. Maybe it's worth aligning for consistency.

Neither is a blocker. Thanks for picking this up!

@jplbrun
jplbrun merged commit b6b64f0 into main Apr 24, 2026
10 checks passed
@jplbrun
jplbrun deleted the chore/ci-check-version-bump branch April 24, 2026 16:20
soumyadey added a commit to soumyadey/cloud-sdk-python that referenced this pull request Oct 3, 2026
Redesign the CBC client around a generic core and a platform adapter layered
strictly on top of it.

Core (client.py): base_url and app_tenant_id are per-request callables; the only
credential input is an ssl.SSLContext. create_client is a thin factory. Drops
TenantContext, config.py, _http.py, and all env/cert-file machinery.

Platform adapter (client_adapter.py): ships the SAP application-platform
provisioning defaults. The SDK owns two ContextVars (app_tenant_id_var,
tenant_subdomain_var) that the app populates; create_agent_client resolves
base_url from the tenant-mapping Destination Fragment (listing the subaccount
and matching on appTenantId, pre-PR-SAP#79 shape) and loads the provider mTLS
cert from the Destination Service. Every default is overridable via args or
CLOUD_SDK_CBC_* env vars.

CBC unit coverage 98% (adapter 100%).
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