Skip to content

Use workflow_ref for the concurrency groups - #939

Merged
DavidBadura merged 1 commit into
3.23.xfrom
ci-concurrency-workflow-ref
Oct 17, 2026
Merged

DavidBadura merged 1 commit into
3.23.xfrom
ci-concurrency-workflow-ref

Conversation

@DavidBadura

Copy link
Copy Markdown
Member

Follow-up to the concurrency groups added in the last pull request. They used the workflow name plus the branch name, which lets two workflows with the same name cancel each other on the same branch, and two fork pull requests with the same branch name (e.g. patch-1) cancel each other. github.workflow_ref is the workflow file plus the ref (refs/pull/<number>/merge for pull requests) and has neither problem.

Follow-up to the concurrency groups added in the last pull request.
They used the workflow name plus the branch name, which lets two
workflows with the same name cancel each other on the same branch, and
two fork pull requests with the same branch name (e.g. patch-1) cancel
each other. github.workflow_ref is the workflow file plus the ref
(refs/pull/<number>/merge for pull requests) and has neither problem.
@github-actions

Copy link
Copy Markdown

Hello 👋

here is the most recent benchmark result:

SplitStreamBench
================

+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                         | time (kde mode)                                     | memory                                     |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                 | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad10000Events () | 5.493ms (±0.00%)   | 5.535ms (±0.00%)   | -0.75%    | 35.654mb        | 36.173mb   | -1.43%      |
| benchSave10000Events () | 348.904ms (±0.00%) | 360.640ms (±0.00%) | -3.25%    | 35.656mb        | 36.175mb   | -1.43%      |
+-------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SubscriptionEngineBench
=======================

+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
|                           | time (kde mode)                               | memory                                     |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
| subject                   | Tag: <current>  | Tag: base       | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+
| benchHandle10000Events () | 3.467s (±0.00%) | 3.456s (±0.00%) | +0.35%    | 47.564mb        | 47.564mb   | 0.00%       |
+---------------------------+-----------------+-----------------+-----------+-----------------+------------+-------------+

NoopSubscriptionEngineBench
===========================

+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
|                           | time (kde mode)                                   | memory                                     |
+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
| subject                   | Tag: <current>    | Tag: base         | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
| benchHandle10000Events () | 81.609ms (±0.00%) | 84.980ms (±0.00%) | -3.97%    | 47.564mb        | 47.564mb   | 0.00%       |
+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+

SimpleSetupStreamStoreBench
===========================

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 1.206ms (±0.00%)   | 1.150ms (±0.00%)   | +4.87%    | 35.210mb        | 35.210mb   | 0.00%       |
| benchLoad10000Events ()                | 73.129ms (±0.00%)  | 71.581ms (±0.00%)  | +2.16%    | 35.210mb        | 35.210mb   | 0.00%       |
| benchSave1Event ()                     | 1.538ms (±0.00%)   | 1.493ms (±0.00%)   | +2.97%    | 35.210mb        | 35.210mb   | 0.00%       |
| benchSave10000Events ()                | 305.083ms (±0.00%) | 309.489ms (±0.00%) | -1.42%    | 35.210mb        | 35.210mb   | 0.00%       |
| benchSave10000Aggregates ()            | 8.941s (±0.00%)    | 8.969s (±0.00%)    | -0.31%    | 35.211mb        | 35.211mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 5.750s (±0.00%)    | 5.735s (±0.00%)    | +0.26%    | 35.211mb        | 35.211mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SubscriptionEngineBatchBench
============================

+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
|                           | time (kde mode)                                   | memory                                     |
+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
| subject                   | Tag: <current>    | Tag: base         | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
| benchHandle10000Events () | 85.938ms (±0.00%) | 83.968ms (±0.00%) | +2.35%    | 35.548mb        | 35.548mb   | 0.00%       |
+---------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+

SimpleSetupBench
================

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 1.188ms (±0.00%)   | 1.434ms (±0.00%)   | -17.14%   | 34.983mb        | 34.983mb   | 0.00%       |
| benchLoad10000Events ()                | 65.741ms (±0.00%)  | 63.537ms (±0.00%)  | +3.47%    | 34.983mb        | 34.983mb   | 0.00%       |
| benchSave1Event ()                     | 1.360ms (±0.00%)   | 1.350ms (±0.00%)   | +0.76%    | 34.983mb        | 34.983mb   | 0.00%       |
| benchSave10000Events ()                | 228.274ms (±0.00%) | 230.140ms (±0.00%) | -0.81%    | 34.983mb        | 34.983mb   | 0.00%       |
| benchSave10000Aggregates ()            | 8.685s (±0.00%)    | 8.732s (±0.00%)    | -0.53%    | 34.983mb        | 34.983mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 5.627s (±0.00%)    | 5.596s (±0.00%)    | +0.54%    | 34.983mb        | 34.983mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

PersonalDataBench
=================

+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                     | memory                                     |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>     | Tag: base          | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+
| benchLoad1Event ()                     | 1.445ms (±0.00%)   | 1.401ms (±0.00%)   | +3.18%    | 35.589mb        | 35.589mb   | 0.00%       |
| benchLoad10000Events ()                | 97.849ms (±0.00%)  | 101.110ms (±0.00%) | -3.23%    | 35.589mb        | 35.589mb   | 0.00%       |
| benchSave1Event ()                     | 2.010ms (±0.00%)   | 1.997ms (±0.00%)   | +0.65%    | 35.589mb        | 35.589mb   | 0.00%       |
| benchSave10000Events ()                | 265.465ms (±0.00%) | 260.715ms (±0.00%) | +1.82%    | 35.591mb        | 35.591mb   | 0.00%       |
| benchSave10000Aggregates ()            | 13.540s (±0.00%)   | 13.592s (±0.00%)   | -0.38%    | 35.589mb        | 35.589mb   | 0.00%       |
| benchSave10000AggregatesTransaction () | 10.191s (±0.00%)   | 10.277s (±0.00%)   | -0.83%    | 36.048mb        | 36.048mb   | 0.00%       |
+----------------------------------------+--------------------+--------------------+-----------+-----------------+------------+-------------+

SnapshotsBench
==============

+----------------------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
|                                        | time (kde mode)                                   | memory                                     |
+----------------------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
| subject                                | Tag: <current>    | Tag: base         | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+
| benchLoad10000EventsMissingSnapshot () | 65.366ms (±0.00%) | 65.043ms (±0.00%) | +0.50%    | 35.054mb        | 35.054mb   | 0.00%       |
| benchLoad10000Events ()                | 1.123ms (±0.00%)  | 1.120ms (±0.00%)  | +0.32%    | 35.054mb        | 35.054mb   | 0.00%       |
+----------------------------------------+-------------------+-------------------+-----------+-----------------+------------+-------------+

CommandToQueryBench
===================

+----------------+------------------+------------------+-----------+-----------------+------------+-------------+
|                | time (kde mode)                                 | memory                                     |
+----------------+------------------+------------------+-----------+-----------------+------------+-------------+
| subject        | Tag: <current>   | Tag: base        | time-diff | Tag: <current>  | Tag: base  | memory-diff |
+----------------+------------------+------------------+-----------+-----------------+------------+-------------+
| benchCreate () | 2.979ms (±0.00%) | 3.025ms (±0.00%) | -1.53%    | 4.980mb         | 4.980mb    | 0.00%       |
| benchUpdate () | 4.503ms (±0.00%) | 4.307ms (±0.00%) | +4.56%    | 4.986mb         | 4.986mb    | 0.00%       |
| benchBoth ()   | 7.255ms (±0.00%) | 7.166ms (±0.00%) | +1.24%    | 5.029mb         | 4.993mb    | +0.70%      |
+----------------+------------------+------------------+-----------+-----------------+------------+-------------+

This comment gets update everytime a new commit comes in!

@DavidBadura
DavidBadura merged commit 03b2fb7 into 3.23.x Oct 17, 2026
39 checks passed
@DavidBadura
DavidBadura deleted the ci-concurrency-workflow-ref branch October 17, 2026 20:41
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.

1 participant