Skip to content

ci: enforce dependency lock stability and slim SDK test jobs - #1596

Open
Pangjiping wants to merge 3 commits into
mainfrom
ci/dependency-lock-stability
Open

ci: enforce dependency lock stability and slim SDK test jobs#1596
Pangjiping wants to merge 3 commits into
mainfrom
ci/dependency-lock-stability

Conversation

@Pangjiping

@Pangjiping Pangjiping commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  1. New workflow .github/workflows/dependency-stability.yml — enforces dependency lock file stability, triggered only when lock/manifest files change:

    • go-modules: runs go mod tidy + git diff --exit-code for all 10 Go modules, fails on any diff
    • uv-lockfiles: runs uv lock --check for all 6 Python projects
    • js-lockfile: adds pnpm --frozen-lockfile check for tests/javascript (the sdks/ JS build already enforces it)
  2. Fix kubernetes/go.mod + go.sumgo mod tidy produced a diff (stale klauspost/pgzip indirect dependency); without this fix the new constraint would fail on the first PR

  3. Slim down sdk-tests.yml:

    • Merge cli-quality / cli-tests into a single job (ruff + pyright + pytest)
    • Merge python-sdk-quality / python-sdk-tests into a single job (quality + coverage tests)
    • kotlin-sdk-quality: matrix entries shared the same dir with only a different Gradle task; merged into one job running :sandbox:test + :code-interpreter:test serially
    • required gate updated accordingly

Verification

  • Locally verified: all 10 Go modules tidy with no diff (except kubernetes, now fixed), all 6 uv.lock pass uv lock --check
  • YAML syntax validated

Notes

  • .NET has no packages.lock.json and Gradle has no lock file by default, so no equivalent constraint can be added there

- add dependency-stability workflow: go mod tidy diff for all Go modules,
  uv lock --check for all Python projects, pnpm frozen-lockfile check
- fix kubernetes go.mod/go.sum not tidy (drop stale pgzip indirect dep)
- merge cli and python SDK quality+test jobs into one per language
- merge kotlin SDK matrix into a single job running both gradle tasks
@github-actions github-actions Bot added component/k8s For kubernetes runtime size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 22, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bb9e06f9c6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread .github/workflows/dependency-stability.yml
It ran once (failed) in 4 months; the release process uses tag pushes
that trigger publish-* workflows directly. Source archive uploads are
dropped; docs updated to mark source archives as legacy (pre-2026-08).
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/k8s For kubernetes runtime documentation Improvements or additions to documentation size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant