Skip to content

Add ci.opensearch.org/m2/ mirror for plugin resolution (neural-search) - #1920

Merged
peterzhuamazon merged 2 commits into
opensearch-project:3.8from
shreyah963:update-plugin-m2
Jul 31, 2026
Merged

Add ci.opensearch.org/m2/ mirror for plugin resolution (neural-search)#1920
peterzhuamazon merged 2 commits into
opensearch-project:3.8from
shreyah963:update-plugin-m2

Conversation

@shreyah963

@shreyah963 shreyah963 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Description

Add ci.opensearch.org/m2/ mirror for plugin resolution (neural-search)

Issues Resolved

opensearch-project/opensearch-build#6278 (comment)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown

PR Code Analyzer ❗

AI-powered 'Code-Diff-Analyzer' found issues on commit 49b5f8b.

Hard block: Issues at High severity or above will block this PR from merging.

PathLineSeverityDescription
build.gradle37highNew Maven repository URL 'https://ci.opensearch.org/m2/' added to buildscript repositories. Per mandatory policy, all package registry changes must be flagged. This is a different path (/m2/ vs the existing /maven2/) on the same CI host — verify this is an intentional, authorized mirror and not a misconfiguration or shadow repository that could serve malicious artifacts to the build classpath.
repositories.gradle9highNew Maven repository URL 'https://ci.opensearch.org/m2/' added to project dependency repositories. Per mandatory policy, all package registry changes must be flagged. Gradle resolves dependencies from repositories in order; an additional source expands the artifact supply chain attack surface for all project dependencies.
settings.gradle14highNew Maven repository URL 'https://ci.opensearch.org/m2/' added to pluginManagement repositories. Per mandatory policy, all package registry changes must be flagged. Plugin management repositories are especially sensitive as Gradle plugins execute arbitrary code during the build; an unauthorized or compromised source here could lead to full build system compromise.

The table above displays the top 10 most important findings.

Total: 3 | Critical: 0 | High: 3 | Medium: 0 | Low: 0


Pull Requests Author(s): Please update your Pull Request according to the report above.

Repository Maintainer(s): You can bypass diff analyzer by adding label skip-diff-analyzer after reviewing the changes carefully, then re-run failed actions. To re-enable the analyzer, remove the label, then re-run all actions.


⚠️ Note: The Code-Diff-Analyzer helps protect against potentially harmful code patterns. Please ensure you have thoroughly reviewed the changes beforehand.

Thanks.

@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.42%. Comparing base (2ea9445) to head (49b5f8b).

Additional details and impacted files
@@             Coverage Diff              @@
##                3.8    #1920      +/-   ##
============================================
- Coverage     83.42%   83.42%   -0.01%     
+ Complexity     3897     3895       -2     
============================================
  Files           291      291              
  Lines         13844    13844              
  Branches       2304     2304              
============================================
- Hits          11550    11549       -1     
  Misses         1458     1458              
- Partials        836      837       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: shreyah963 <shreyab963@gmail.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
@peterzhuamazon peterzhuamazon added the skip-diff-analyzer Maintainer to skip code-diff-analyzer check, after reviewing issues in AI analysis. label Jul 31, 2026
@peterzhuamazon

Copy link
Copy Markdown
Member

Expected new mirror for gradle plugins.

@peterzhuamazon
peterzhuamazon merged commit fc733c8 into opensearch-project:3.8 Jul 31, 2026
111 of 115 checks passed
peterzhuamazon added a commit that referenced this pull request Jul 31, 2026
#1920) (#1921)

* Add ci.opensearch.org/m2/ mirror for plugin resolution (neural-search)



* Address order issues



---------




(cherry picked from commit fc733c8)

Signed-off-by: shreyah963 <shreyab963@gmail.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: opensearch-ci-bot <opensearch-infra@amazon.com>
Co-authored-by: Shreya Bhatta <shreyab963@gmail.com>
Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport main skip-changelog skip-diff-analyzer Maintainer to skip code-diff-analyzer check, after reviewing issues in AI analysis.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants