Skip to content

Gradle CI fails on documentation-only PR due to flaky tests and workflow approval requirements #20104

@akshith30388

Description

@akshith30388

Describe the bug

When submitting a documentation-only pull request (updating README.md) to OpenSearch, the Gradle CI checks repeatedly fail due to flaky tests and workflow approval restrictions, even though no production code was modified. This prevents the PR from being merged and creates unnecessary delays for documentation contributors.

Related component

No response

To Reproduce

🔁 To Reproduce

Fork the OpenSearch repository.

Create a branch and modify only README.md.

Open a pull request to the main branch.

Observe:

Gradle check failures unrelated to documentation changes.

CI blocked due to workflow approval required.

Repeated flaky test reports such as:

FileBasedIngestionSingleNodeTests

:plugins:telemetry-otel:test

:plugins:repository-hdfs:test

Expected behavior

Documentation-only PRs should not fail due to unrelated Gradle test failures.

CI pipelines should skip heavy test runs for markdown-only changes.

Contributors should not require manual workflow approval for non-code updates.

File renaming issues should be clearly flagged before CI runs.

Additional Details

PR Link: Enhance README.md: Improve formatting, accessibility, and clarity #19716

Branch: akshith30388:update-readme

Total Commits: 5

Only modified files:

README.md

Related docs content

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions