Interview Prep/CI/CD/Builds, Artifacts, Nexus, SonarQube and Testing

How would you add performance regression detection to CI without making it flaky?

AdvancedScenarioBuilds, Artifacts, Nexus, SonarQube and Testing
Answer

Situation read → Noisy benchmarks on shared runners.

What I'd do →

  1. Run load tests (k6 or Gatling) against a dedicated, stable environment nightly, not on every PR.
  2. Compare to a moving baseline with thresholds (thresholds: { http_req_duration: ['p(95)<300'] } in k6).
  3. Track trends in a time-series dashboard and alert on sustained regressions.

Why → Shared CI hardware is too noisy for strict per-PR performance gates.

Interview tip → Say you gate on trends and percentiles, not single runs.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Builds, Artifacts, Nexus, SonarQube and Testing