# opensearch-project/opensearch-build architecture

> Architecture diagram of the GitHub repository opensearch-project/opensearch-build, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/opensearch-project/opensearch-build
- Repository: https://github.com/opensearch-project/opensearch-build

## Overview

OpenSearch Build is a release-engineering toolkit for producing and releasing OpenSearch and OpenSearch Dashboards distributions and components. A typical documented path starts with versioned manifests and source checkout, proceeds through builds and distribution assembly, then testing, validation, and artifact signing. The repository also includes CI checks, manifest generation, and release-note generation. The tree and README establish these capabilities, but many workflow implementations were not sampled; uncertain handoffs are therefore shown as unverified rather than asserted.

Main entry points: [`src/test_workflow`](https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow) (Test workflows), [`src/manifests/build_manifest.py`](https://github.com/opensearch-project/opensearch-build/blob/main/src/manifests/build_manifest.py) (Build manifest), [`src/manifests/input_manifest.py`](https://github.com/opensearch-project/opensearch-build/blob/main/src/manifests/input_manifest.py) (Input manifests), [`src/checkout_workflow`](https://github.com/opensearch-project/opensearch-build/tree/main/src/checkout_workflow) (Source checkout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Inputs and source"]
  node_input_manifests["Input manifests<br/>[input_manifest.py]"]
  node_manifest_generation["Manifest generation"]
  node_source_checkout["Source checkout"]
  node_git_repository["Git repository<br/>[git_repository.py]"]
end

subgraph group_production["Build and release"]
  node_build_workflow["Build workflow"]
  node_build_manifest["Build manifest<br/>[build_manifest.py]"]
  node_bundle_assembly["Bundle assembly<br/>[bundle.py]"]
  node_bundle_formats["Distribution formats"]
  node_artifact_signing["Artifact signing<br/>[sign_artifacts.py]"]
end

subgraph group_quality["Quality workflows"]
  node_test_workflows["Test workflows"]
  node_integration_testing["Integration testing"]
  node_smoke_testing["Smoke testing"]
  node_benchmark_testing["Benchmark testing"]
  node_backward_compatibility["Backward compatibility"]
  node_performance_testing["Performance testing"]
  node_validation["Artifact validation<br/>[validation.py]"]
  node_ci_checks["CI checks"]
end

subgraph group_release_support["Release support"]
  node_release_notes["Release notes<br/>[release_notes.py]"]
  node_commit_processing["Commit processing"]
  node_reporting["Test reporting"]
end

node_release_engineer(("Release engineer"))

node_release_engineer -->|"supplies inputs"| node_input_manifests
node_release_engineer -->|"requests checkout"| node_source_checkout
node_input_manifests -.->|"specifies sources"| node_source_checkout
node_source_checkout -->|"checks out source"| node_git_repository
node_input_manifests -.->|"configures build"| node_build_workflow
node_build_workflow -.->|"records artifacts"| node_build_manifest
node_build_manifest -->|"provides build data"| node_bundle_assembly
node_bundle_assembly -->|"creates bundles"| node_bundle_formats
node_release_engineer -.->|"requests generation"| node_manifest_generation
node_manifest_generation -->|"checks repository"| node_git_repository
node_release_engineer -->|"requests testing"| node_test_workflows
node_test_workflows -.->|"includes integration"| node_integration_testing
node_test_workflows -.->|"includes smoke tests"| node_smoke_testing
node_test_workflows -.->|"includes benchmarks"| node_benchmark_testing
node_test_workflows -.->|"includes compatibility tests"| node_backward_compatibility
node_test_workflows -.->|"includes performance tests"| node_performance_testing
node_integration_testing -->|"installs bundle artifact"| node_build_manifest
node_release_engineer -.->|"requests validation"| node_validation
node_release_engineer -.->|"requests checks"| node_ci_checks
node_release_engineer -->|"requests signing"| node_artifact_signing
node_build_manifest -->|"identifies artifacts"| node_artifact_signing
node_release_engineer -.->|"requests release notes"| node_release_notes
node_release_notes -->|"processes commits"| node_commit_processing
node_release_engineer -.->|"requests reports"| node_reporting

click node_input_manifests "https://github.com/opensearch-project/opensearch-build/blob/main/src/manifests/input_manifest.py"
click node_manifest_generation "https://github.com/opensearch-project/opensearch-build/tree/main/src/manifests_workflow"
click node_source_checkout "https://github.com/opensearch-project/opensearch-build/tree/main/src/checkout_workflow"
click node_git_repository "https://github.com/opensearch-project/opensearch-build/blob/main/src/git/git_repository.py"
click node_build_workflow "https://github.com/opensearch-project/opensearch-build/tree/main/src/build_workflow"
click node_build_manifest "https://github.com/opensearch-project/opensearch-build/blob/main/src/manifests/build_manifest.py"
click node_bundle_assembly "https://github.com/opensearch-project/opensearch-build/blob/main/src/assemble_workflow/bundle.py"
click node_bundle_formats "https://github.com/opensearch-project/opensearch-build/tree/main/src/assemble_workflow"
click node_artifact_signing "https://github.com/opensearch-project/opensearch-build/blob/main/src/sign_workflow/sign_artifacts.py"
click node_test_workflows "https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow"
click node_integration_testing "https://github.com/opensearch-project/opensearch-build/blob/main/src/test_workflow/integ_test/service_opensearch.py"
click node_smoke_testing "https://github.com/opensearch-project/opensearch-build/blob/main/src/test_workflow/smoke_test/smoke_test_runner_opensearch.py"
click node_benchmark_testing "https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow/benchmark_test"
click node_backward_compatibility "https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow/bwc_test"
click node_performance_testing "https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow/perf_test"
click node_validation "https://github.com/opensearch-project/opensearch-build/blob/main/src/validation_workflow/validation.py"
click node_ci_checks "https://github.com/opensearch-project/opensearch-build/tree/main/src/ci_workflow"
click node_release_notes "https://github.com/opensearch-project/opensearch-build/blob/main/src/release_notes_workflow/release_notes.py"
click node_commit_processing "https://github.com/opensearch-project/opensearch-build/blob/main/src/git/git_commit_processor.py"
click node_reporting "https://github.com/opensearch-project/opensearch-build/tree/main/src/report_workflow"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_input_manifests,node_manifest_generation,node_source_checkout,node_git_repository toneBlue
class node_build_workflow,node_build_manifest,node_bundle_assembly,node_bundle_formats,node_artifact_signing toneAmber
class node_test_workflows,node_integration_testing,node_smoke_testing,node_benchmark_testing,node_backward_compatibility,node_performance_testing,node_validation,node_ci_checks toneMint
class node_release_notes,node_commit_processing,node_reporting toneRose
class node_release_engineer toneIndigo
```

## Components

### Inputs and source

- [Input manifests](https://github.com/opensearch-project/opensearch-build/blob/main/src/manifests/input_manifest.py): `src/manifests/input_manifest.py`
- [Manifest generation](https://github.com/opensearch-project/opensearch-build/tree/main/src/manifests_workflow): `src/manifests_workflow`
- [Source checkout](https://github.com/opensearch-project/opensearch-build/tree/main/src/checkout_workflow): `src/checkout_workflow`
- [Git repository](https://github.com/opensearch-project/opensearch-build/blob/main/src/git/git_repository.py): `src/git/git_repository.py`

### Build and release

- [Build workflow](https://github.com/opensearch-project/opensearch-build/tree/main/src/build_workflow): `src/build_workflow`
- [Build manifest](https://github.com/opensearch-project/opensearch-build/blob/main/src/manifests/build_manifest.py): `src/manifests/build_manifest.py`
- [Bundle assembly](https://github.com/opensearch-project/opensearch-build/blob/main/src/assemble_workflow/bundle.py): `src/assemble_workflow/bundle.py`
- [Distribution formats](https://github.com/opensearch-project/opensearch-build/tree/main/src/assemble_workflow): `src/assemble_workflow`
- [Artifact signing](https://github.com/opensearch-project/opensearch-build/blob/main/src/sign_workflow/sign_artifacts.py): `src/sign_workflow/sign_artifacts.py`

### Quality workflows

- [Test workflows](https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow): `src/test_workflow`
- [Integration testing](https://github.com/opensearch-project/opensearch-build/blob/main/src/test_workflow/integ_test/service_opensearch.py): `src/test_workflow/integ_test/service_opensearch.py`
- [Smoke testing](https://github.com/opensearch-project/opensearch-build/blob/main/src/test_workflow/smoke_test/smoke_test_runner_opensearch.py): `src/test_workflow/smoke_test/smoke_test_runner_opensearch.py`
- [Benchmark testing](https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow/benchmark_test): `src/test_workflow/benchmark_test`
- [Backward compatibility](https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow/bwc_test): `src/test_workflow/bwc_test`
- [Performance testing](https://github.com/opensearch-project/opensearch-build/tree/main/src/test_workflow/perf_test): `src/test_workflow/perf_test`
- [Artifact validation](https://github.com/opensearch-project/opensearch-build/blob/main/src/validation_workflow/validation.py): `src/validation_workflow/validation.py`
- [CI checks](https://github.com/opensearch-project/opensearch-build/tree/main/src/ci_workflow): `src/ci_workflow`

### Release support

- [Release notes](https://github.com/opensearch-project/opensearch-build/blob/main/src/release_notes_workflow/release_notes.py): `src/release_notes_workflow/release_notes.py`
- [Commit processing](https://github.com/opensearch-project/opensearch-build/blob/main/src/git/git_commit_processor.py): `src/git/git_commit_processor.py`
- [Test reporting](https://github.com/opensearch-project/opensearch-build/tree/main/src/report_workflow): `src/report_workflow`

### Other components

- **Release engineer**

## Connections

- Release engineer → Input manifests: supplies inputs (evidence: `README.md`)
- Release engineer → Source checkout: requests checkout (evidence: `README.md`)
- Input manifests → Source checkout: specifies sources
- Source checkout → Git repository: checks out source (evidence: `src/git/git_repository.py`)
- Input manifests → Build workflow: configures build
- Build workflow → Build manifest: records artifacts
- Build manifest → Bundle assembly: provides build data (evidence: `src/assemble_workflow/bundle.py`)
- Bundle assembly → Distribution formats: creates bundles (evidence: `src/assemble_workflow/bundle.py`)
- Release engineer → Manifest generation: requests generation
- Manifest generation → Git repository: checks repository (evidence: `src/manifests_workflow/component_opensearch_min.py`)
- Release engineer → Test workflows: requests testing (evidence: `README.md`)
- Test workflows → Integration testing: includes integration (evidence: `src/test_workflow/integ_test/service_opensearch.py`)
- Test workflows → Smoke testing: includes smoke tests (evidence: `src/test_workflow/smoke_test/smoke_test_runner_opensearch.py`)
- Test workflows → Benchmark testing: includes benchmarks
- Test workflows → Backward compatibility: includes compatibility tests
- Test workflows → Performance testing: includes performance tests
- Integration testing → Build manifest: installs bundle artifact
- Release engineer → Artifact validation: requests validation
- Release engineer → CI checks: requests checks
- Release engineer → Artifact signing: requests signing (evidence: `README.md`)
- Build manifest → Artifact signing: identifies artifacts (evidence: `src/sign_workflow/sign_artifacts.py`)
- Release engineer → Release notes: requests release notes
- Release notes → Commit processing: processes commits (evidence: `src/release_notes_workflow/release_notes.py`)
- Release engineer → Test reporting: requests reports
