Skip to content

MOD-18184 Disable the benchmark lane on the nightly - #1647

Merged
LiranAbir merged 1 commit into
masterfrom
MOD-18184-disable-nightly-benchmark-lane
Sep 27, 2026
Merged

LiranAbir merged 1 commit into
masterfrom
MOD-18184-disable-nightly-benchmark-lane

Conversation

@LiranAbir

@LiranAbir LiranAbir commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Why

The nightly benchmark job is being set aside while the harness's run-to-run variance is investigated (MOD-18823). Ten consecutive nightlies, 09-17 → 09-26, span only two commits:

night 09-17 09-18 09-19 09-20 09-21 09-22 09-23 09-24 09-25 09-26
breaches 1 0 8 0 12 4 3 9 1 15

A different set of benchmarks fails each night, json_set_num_0 swung 38% between consecutive runs (178,559 → 109,878), and the three-night dip on 09-21 → 09-23 recovered fully by itself: json_vs_hashes_hset_key_simple went 132k/137k/135k and then 181k/176k/185k against a 165,889 floor. So a red benchmark job currently says nothing about RedisJSON.

The floors are not the cause either. Nothing seeded below ~46k rps has breached on any of the ten nights; everything that breaches is above ~95k. Lowering the unreachable floors was proposed and closed Won't Do on MOD-18888, after two further nights exceeded three of the four floors it wanted to lower — that would have cut the bar 22-30% on healthy benchmarks.

What changes

One if: in .github/workflows/event-nightly.yml, with the reasoning and the re-enable instruction in a comment above it. Scope is exactly what MOD-18184 added in #1638: the nightly job.

Untouched, so benchmarks can still be run:

  • event-push-to-integ.yml — still benchmarks every push to master, so the RedisTimeSeries/Grafana series keeps filling and MOD-18823 keeps getting data.
  • event-weekly.yml and benchmark-trigger.yml (the run-benchmark PR label) — on-demand runs still work.

All three predate MOD-18184 (2023, #1108).

The job stays wired into test-summary's needs and job-failures deliberately: a skipped job resolves immediately and reports skipped, not failure, so the nightly summary and its Slack message are unaffected, and re-enabling is a one-line change.

Re-enabling

Restore the if to github.event_name != 'push'. That original condition still holds for the reason recorded in the comment — a push-triggered run here would duplicate event-push-to-integ.yml on the same commit and report nowhere.

Jira: MOD-18184. Related: MOD-18823 (the variance, open), MOD-18822 (PR #1642, which reports breaches for triage and is dormant while this lane is off), MOD-18888 (re-seed, Won't Do).

🤖 Generated with Claude Code


Note

Low Risk
CI-only change that skips EC2 benchmark runs; no application or runtime behavior is modified.

Overview
Temporarily turns off the nightly benchmark job in event-nightly.yml by replacing if: github.event_name != 'push' with if: false, while MOD-18823 investigates flaky run-to-run variance in the performance harness.

A dated comment above the job records the breach-count swings, why red nightlies are not actionable, that KPI floors are not the issue, and how to re-enable (github.event_name != 'push'). The job remains in test-summary needs and job-failures so it reports skipped instead of failing the summary, keeping Slack reporting unchanged and re-enable to a one-line if change.

Reviewed by Cursor Bugbot for commit d473af5. Bugbot is set up for automated code reviews on this repo. Configure here.

Ten nights of nightlies (09-17 to 09-26) span two commits and produced
breach counts of 1, 0, 8, 0, 12, 4, 3, 9, 1, 15 -- a different set of
benchmarks each night, one of them swinging 38% between consecutive
runs, and a three-night dip that recovered fully on its own. A red
benchmark job therefore carries no information about RedisJSON, and the
floors are not the cause either: nothing seeded below ~46k rps has
breached on any of the ten nights, while everything above ~95k has.

So the lane is set aside until the harness's run-to-run variance is
understood (MOD-18823), rather than kept red nightly or worked around by
lowering floors -- the latter was proposed and closed Won't Do on
MOD-18888 after two more nights exceeded three of the four floors it
wanted to lower.

Scope is exactly what MOD-18184 added in #1638: the nightly job. The
push-to-integ, weekly and run-benchmark-label lanes date from 2023 and
are untouched, so benchmarks can still be run on demand and the
RedisTimeSeries/Grafana series keeps filling from the push lane.

The job is left wired into test-summary's `needs` and `job-failures`: a
skipped job resolves immediately and reports `skipped` rather than
`failure`, so the nightly summary is unaffected and re-enabling is one
line.
@LiranAbir
LiranAbir requested a review from gabsow September 27, 2026 12:38
@codecov

codecov Bot commented Sep 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.97%. Comparing base (1961fc2) to head (d473af5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1647   +/-   ##
=======================================
  Coverage   85.97%   85.97%           
=======================================
  Files          15       15           
  Lines        5306     5306           
=======================================
  Hits         4562     4562           
  Misses        744      744           

☔ 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.

@LiranAbir
LiranAbir merged commit 21d4cdd into master Sep 27, 2026
60 checks passed
@LiranAbir
LiranAbir deleted the MOD-18184-disable-nightly-benchmark-lane branch September 27, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants