Skip to content

Conversation

@robin-nitrokey
Copy link
Member

Previously, we had the metrics comparison and comment creation in the after_script part of the metrics job so that a failure in these commands would not cause a CI failure. As we increasingly rely on the metrics comments and the relevant commands are pretty stable, this patch moves them to the script part so that we will notice failures more easily.

@nitrokey-ci
Copy link
Collaborator

nitrokey-ci commented Feb 17, 2025

No significant changes.

Insignifcant changes
metric value change
binary-size-nk3am 1,494,776 +0 (+0.00%)
binary-size-nk3am-test 1,869,414 +0 (+0.00%)
binary-size-nk3xn 537,288 +0 (+0.00%)
binary-size-nk3xn-test 537,320 +0 (+0.00%)
binary-size-nkpk 675,969 +0 (+0.00%)

Previously, we had the metrics comparison and comment creation in the
after_script part of the metrics job so that a failure in these commands
would not cause a CI failure.  As we increasingly rely on the metrics
comments and the relevant commands are pretty stable, this patch moves
them to the script part so that we will notice failures more easily.
@robin-nitrokey robin-nitrokey merged commit 0cb918f into main Feb 17, 2025
11 checks passed
@robin-nitrokey robin-nitrokey deleted the metrics branch February 17, 2025 14:43
robin-nitrokey added a commit that referenced this pull request Feb 20, 2025
In #594, we changed
the metrics job to fail if the comment cannot be posted.  This causes a
CI failure on main as there is no matching PR for the CI run.  This
patch adds a condition to only post the comment if the CI runs against
a branch other than main.
robin-nitrokey added a commit that referenced this pull request Feb 20, 2025
In #594, we changed
the metrics job to fail if the comment cannot be posted.  This causes a
CI failure on main as there is no matching PR for the CI run.  This
patch adds a condition to only post the comment if the CI runs against
a branch other than main.
robin-nitrokey added a commit that referenced this pull request Feb 20, 2025
In #594, we changed
the metrics job to fail if the comment cannot be posted.  This causes a
CI failure on main as there is no matching PR for the CI run.  This
patch adds a condition to only post the comment if the CI runs against
a branch other than main.
robin-nitrokey added a commit that referenced this pull request Mar 3, 2025
This temporarily reverts #594
as the current implementation does not work with merge commits.
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.

4 participants