Repository navigation
Make dependency review one repo-wide gate, not a per-SDK one - #73061
Merged
Merged
Conversation
`dependency-review-action` has no path or manifest input. Once it runs it reviews the entire dependency graph diff of the PR, every lockfile included - so a gate named after one SDK can only ever be lying about what it covers. That is not theoretical. apache#72946, a release sync PR that changed 816 files and not one of them under `java-sdk/`, tripped the Java SDK gate through the self-reference in its own `paths` filter (v*-test and v*-stable keep different copies of every workflow file), and the Java SDK gate then failed on a Python advisory in `uv.lock`. Replace the two per-SDK review jobs with one `Dependency review` workflow covering the manifests of every ecosystem in the repo: * new `.github/workflows/dependency-review.yml`, triggered by any Python, JavaScript, Go or JVM manifest in the PR. * `java-sdk-dependency-security.yml` keeps only the Gradle `dependency-submission` job, which really is Java-specific, and drops its `pull_request` trigger. * `ts-sdk-dependency-review.yml` goes away - the generic gate already reviews `ts-sdk/package.json` and `ts-sdk/pnpm-lock.yaml`. The check name contributors see, `Reject vulnerable dependency changes`, is unchanged. The settings are the stricter of the two the repo had: the ts-sdk gate ran at the action's default `fail-on-scopes: runtime`, and now gets `runtime, development, unknown` like the java one. Generated-by: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01G9A6Mofr5qErDuTh7vqWcX
potiuk
requested review from
amoghrajesh,
ashb,
bugraoz93,
gopidesupavan,
jason810496 and
jscheffl
as code owners
September 13, 2026 07:51
vatsrahul1001
approved these changes
Sep 13, 2026
Contributor
Backport failed to create: v3-3-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker 6acbc03 v3-3-testThis should apply the commit to the v3-3-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
jason810496
reviewed
Sep 13, 2026
jason810496
left a comment
Member
There was a problem hiding this comment.
Great idea to have a consolidated one, thanks Jarek.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dependency-review-actionhas no path or manifest input. Once it runs it reviews the entire dependency graph diff of the PR, every lockfile included — so a gate named after one SDK can only ever be lying about what it covers.That is not theoretical. #72946, a release sync PR that changed 816 files and not one of them under
java-sdk/, tripped the Java SDK gate through the self-reference in its ownpathsfilter (v*-testandv*-stablekeep different copies of every workflow file), and the Java SDK gate then failed on a Python advisory inuv.lock.Replace the two per-SDK review jobs with one
Dependency reviewworkflow covering the manifests of every ecosystem in the repo:.github/workflows/dependency-review.yml, triggered by any Python, JavaScript, Go or JVM manifest in the PR;java-sdk-dependency-security.ymlkeeps only the Gradledependency-submissionjob, which really is Java-specific, and drops itspull_requesttrigger;ts-sdk-dependency-review.ymlgoes away — the generic gate already reviewsts-sdk/package.jsonandts-sdk/pnpm-lock.yaml.The check name contributors see,
Reject vulnerable dependency changes, is unchanged. The settings are the stricter of the two the repo had: the ts-sdk gate ran at the action's defaultfail-on-scopes: runtime, and now getsruntime, development, unknownlike the java one.Note for review: the
pathslist is the coverage boundary — a dependency file not listed there is never reviewed. Root-level manifests are listed both bare and under**/, because GitHub's**matches zero or more characters including/and so would not match a repo-rootuv.lockon its own.Follow-up to #73059, which suppresses the nltk advisory itself. The
allow-ghsasentry moves into the new workflow here.🤖 Generated with Claude Code
https://claude.ai/code/session_01G9A6Mofr5qErDuTh7vqWcX