From 01a8df8d3d486fe3af870a4a5bf9dc5af37eb671 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 29 Jul 2026 14:15:54 +0100 Subject: [PATCH] fix(ci): keep benchmark stacks comparable The before stack is a worktree at an arbitrary older SHA, so its compose file need not gate databases at all. With an empty COMPOSE_PROFILES only the head side was constrained, leaving the before run carrying MariaDB and MongoDB as idle load and the after run without them -- the reported delta would include two fewer containers rather than the code change. Start the same superset on both sides. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47ac2a493b..d8b6be61b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -705,7 +705,10 @@ jobs: pull-requests: write packages: read env: - COMPOSE_PROFILES: '' + # The before stack is a worktree at an arbitrary older SHA, so its compose file + # may not gate databases at all. Start the superset on both sides, otherwise the + # two runs measure different amounts of idle container load rather than the diff. + COMPOSE_PROFILES: mariadb,mongodb steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2