Repository navigation
Conversation
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates the test dependencies in requirements-test.txt for the bigquery-anomaly-detection project, replacing apache-beam[gcp,test] with parameterized==0.9.0 along with its SHA-256 hashes. There are no review comments, and I have no feedback to provide.
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #4602 +/- ##
=============================================
- Coverage 59.74% 37.88% -21.87%
+ Complexity 8383 521 -7862
=============================================
Files 1123 197 -926
Lines 72705 12001 -60704
Branches 8842 1228 -7614
=============================================
- Hits 43441 4547 -38894
+ Misses 26363 7080 -19283
+ Partials 2901 374 -2527
🚀 New features to boost your workflow:
|
…[gcp,test]==2.78.0
|
/gemini review |
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
/gemini review |
|
Closing for now to avoid over-installing extra template container dependencies in CI; keeping focus on surgical workflow permission and action pinning fixes. |
Note: this PR was auto-generated by tooling. Before moving it out of draft, the author has done a full review of the PR, specifically evaluating it on the following criteria:
CodeQL/Scorecard/zizmor) onmainthat are not already covered by upcoming Apache Beam releases, without altering intended template or workflow semanticsIf you have concerns with the PR or with the underlying methodology used to generate this, please comment below - they will be addressed by the author not the tooling :)
Summary
Resolves OpenSSF Scorecard
PinnedDependenciesIDCode Scanning alerts (#282,#283) in.github/workflows/bqmonitor-pr.ymlwithout introducing any new hash lockfiles:pip install -r src/test/python/bigquery-anomaly-detection/requirements-test.txtandpip install -e src/main/python/bigquery-anomaly-detectioncommands inbqmonitor-pr.ymlwith--require-hashes --no-depsinstalls from the repository's existing hash-pinned lockfiles onmain:src/main/python/yaml-template/requirements.txt(already compilesapache-beam[dataframe,gcp,test,yaml,aws,azure]includingparameterized/pyhamcresttest extras)src/main/python/bigquery-anomaly-detection/requirements_all.txt(installsbqmonitor's exact pinned runtime dependencies on top)python/src/test/python/bigquery-anomaly-detection/requirements-test.txtand setsPYTHONPATH=src/main/python/bigquery-anomaly-detection/srcwhen runningpython -m unittest discover.main, they stay automatically updated by weeklyupdate-python-deps.ymlruns and Apache Beam release bumps with zero extra maintenance.Verification
BigQuery Anomaly Detection PR(python_unit_tests,java_build,java_integration_tests) workflow passes in CI.