openobserve/.github/scripts
Shrinath Rao 22d6ecad2d
feat(ci): parametrize SHARD_PREFIX in o2-run-report.sh (#13663)
## What

Parametrize the shard-matching prefix in
`.github/scripts/o2-run-report.sh`.

Adds a `SHARD_PREFIX` env (default `"e2e / "`) used everywhere the
script identifies e2e shard jobs by name — the run-doc shard tallies
(`shards_total/passed/failed/skipped`) and the per-shard rows written to
`<STREAM>_shards`.

## Why

The ENT **alpha1 cloud e2e** suite names its shard jobs `alpha1-e2e /
<folder>`, which the hardcoded `e2e /` prefix did not match. This
enabling change lets alpha1 (and any future differently-named suite)
report per-shard rows to its own dedicated OpenObserve streams. See the
companion ENT PR `test/alpha1-o2-reporting`.

## Safety

The default `"e2e / "` (trailing space significant — `module` = job name
minus prefix) preserves current OSS/regression behavior **exactly**.
Verified with jq that the default still yields `module="Alerts"` for
`"e2e / Alerts"` (no leading space) and that `"alpha1-e2e / "` yields
`module="Alerts"` for the alpha1 job names.

Cross-repo sibling: **o2-enterprise#`test/alpha1-o2-reporting`** (same
branch slug).
2026-08-06 10:09:40 +00:00
..
O2-REPORTING.md ci: report regression run metrics to OpenObserve (ci_regression) (#12912) 2026-06-27 05:34:29 +00:00
assert_integrity.py test: E2E Council Refiner — remediate Sentinel findings instead of dead-ending (#12876) 2026-06-25 09:20:31 +00:00
build-ci-matrix.js test: enhance logs visualization error handling and persistence tests (#13591) 2026-08-04 12:09:26 +00:00
check-db-schema-version.sh chore: add ci check for schema version uptick (#13339) 2026-07-22 16:07:40 +00:00
extract-flaky.js ci: per-test flaky/failed → ci_test_results + per-shard API counts → ci_test_counts (#12930) 2026-06-29 13:52:50 +00:00
o2-report.sh ci: emit per-shard rows for UI runs (ci_test_runs_shards) — e2e per-shard dashboards (#12919) 2026-06-29 03:06:50 +00:00
o2-run-report.sh feat(ci): parametrize SHARD_PREFIX in o2-run-report.sh (#13663) 2026-08-06 10:09:40 +00:00
o2_metrics_resync.py ci: live retry-aware metrics for playwright, api-testing + regression (#12914) 2026-06-27 16:13:05 +00:00
parse-api-junit.py ci: per-test flaky/failed → ci_test_results + per-shard API counts → ci_test_counts (#12930) 2026-06-29 13:52:50 +00:00