Skip to content

feat(ci): run time-to-first-query e2e on minimum supported platforms COMPASS-9087#8221

Open
ivandevp wants to merge 3 commits into
mainfrom
COMPASS-9087-e2e-min-version-platforms
Open

feat(ci): run time-to-first-query e2e on minimum supported platforms COMPASS-9087#8221
ivandevp wants to merge 3 commits into
mainfrom
COMPASS-9087-e2e-min-version-platforms

Conversation

@ivandevp

@ivandevp ivandevp commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds packaged-app e2e smoke variants that run only the time-to-first-query test against the packaged app on the minimum supported OS versions: Ubuntu 20.04, RHEL 8, and macOS 13 (arm64).

Today we build/package on the oldest supported OSes (ubuntu2004, rhel80, macos-13) but the packaged-app e2e suite only runs on newer OSes (Ubuntu 22.04, RHEL 9.3, macOS 14/15). That left a gap: we never actually launched the packaged binary on the minimum OS versions we claim to support. This closes that gap with a lightweight, per-PR smoke.

Changes:

  • functions.yml: thread an optional packaged_app_test_args filter through the test-packaged-app function (mirrors the existing ATLAS_CLOUD_TEST_ARGS pattern). Backward-compatible — empty default runs the full suite, so existing tasks are unaffected.
  • buildvariants-and-tasks.in.yml: new test-packaged-app-min-version task (single, non-sharded, --test-filter="time-to-first-query") + three new run-on-pr build variants depending on the existing package-* artifacts.
  • buildvariants-and-tasks.yml: regenerated via npm run update-evergreen-config (passes evergreen validate).

Note: the ticket text says "macOS 11", but macOS 11 was retired from CI in the Electron 41 upgrade (db60c69562, COMPASS-9852). macOS 13 is now the effective minimum, so that's what this targets.

Checklist

  • New tests and/or benchmarks are included
  • Documentation is changed or added
  • If this change updates the UI, screenshots/videos are added and a design review is requested
  • If this change could impact the load on the MongoDB cluster, please describe the expected and worst case impact
  • I have signed the MongoDB Contributor License Agreement (https://www.mongodb.com/legal/contributor-agreement)

Motivation and Context

We support (and build on) Ubuntu 20.04, RHEL 8, and macOS 13, but the packaged-app e2e suite only ran on newer OS versions — so the minimum supported platforms were never exercised end-to-end at launch time. This adds a cheap per-PR smoke (just time-to-first-query) on those min-version distros to catch launch/runtime regressions there. Resolves COMPASS-9087.

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

…OMPASS-9087

Add packaged-app e2e smoke variants that run only the time-to-first-query
test on the minimum supported OS versions (Ubuntu 20.04, RHEL 8,
macOS 13 arm64). Packages are already built on these oldest OSes, but the
packaged-app suite previously only ran on newer OSes, leaving the minimum
supported versions untested at launch time.

- Thread an optional packaged_app_test_args filter through the
  test-packaged-app function (mirrors ATLAS_CLOUD_TEST_ARGS)
- Add non-sharded test-packaged-app-min-version task
- Add min-version build variants (run-on-pr, arm64 for macOS)
@ivandevp ivandevp requested a review from a team as a code owner July 8, 2026 14:37
@ivandevp ivandevp requested a review from lerouxb July 8, 2026 14:37
@github-actions github-actions Bot added the feat label Jul 8, 2026
@codeowners-service-app codeowners-service-app Bot requested a review from nbbeeken July 8, 2026 14:37
@codeowners-service-app

Copy link
Copy Markdown

Assigned nbbeeken for team compass-developers because lerouxb is out of office.

@ivandevp ivandevp added the no release notes Fix or feature not for release notes label Jul 8, 2026
ivandevp added 2 commits July 8, 2026 14:24
…S-9087

The latest 8.0.x mongod is built for macOS 14+ and fails to launch on
macOS 13 (dyld symbol-not-found), so the test server never starts. Pin
8.0.5 for the macOS min-version variant, mirroring the prior fix in #6821.
Linux min-version variants keep the latest maintained server.
…PASS-9087

The packaged Electron app needs a GUI host to start a webdriver session;
the non-GUI arm64 packaging distro timed out on POST /session. The only
macOS 13 GUI distro is Intel + dev-tier (no arm64 GUI host at macOS 13),
so run this variant on macos-13-amd64-gui-dev, off-PR and non-gating.
Linux min-version variants remain arm-agnostic and gating.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat no release notes Fix or feature not for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant