Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-7 Bump up the runner to latest #3634

Merged
merged 3 commits into from
Feb 12, 2025
Merged

Conversation

ademidoff
Copy link
Member

PMM-7

We are bumping up the dependabot's runner due to its forthcoming deprecation:

"The Ubuntu 20.04 runner image will be fully unsupported by April 1, 2025"

After the deprecation deadline, the actions will be blocked.

@@ -8,7 +8,7 @@ permissions:
jobs:
dependabot:
name: Enable auto-merge
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be 22.04 like in other jobs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be 22.04 like in other jobs?

Yeah, it's a good question! What's wrong with the latest? Why do we need to worry about bumping up?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Franky, I'd migrate them all to latest and forget about it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sometimes it might lead to unexpected failures

Copy link
Member Author

@ademidoff ademidoff Feb 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really have any examples at all?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sure dependabot will just work, because both the runner and the actor are from the same vendor :)

Copy link
Member Author

@ademidoff ademidoff Feb 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, even if we pin the version, there is never a guarantee, since runners also get updated regularly without us noticing it... but they still work 🤞

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actions/runner-images#10788
actions/runner-images#2234
https://exercism.org/docs/building/github/gha-best-practices#h-pin-test-runners-to-version
I'm sure that you are right about this case and that action will keep working, but behavior might change when new ubuntu will come with new node version and this action will still be using old node version.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, the examples above are irrelevant IMO. Again, the runner and the bot are maintained by the same company.

On the other hand this problem is so minor, that I don't see why we should sweat over it more than that, so I concur.

@ademidoff ademidoff temporarily deployed to PMM-7-migrate-the-runner-to-latest - pmm-doc-2 PR #3634 February 12, 2025 16:49 — with Render Destroyed
@ademidoff ademidoff enabled auto-merge (squash) February 12, 2025 16:49
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (v3@67df82f). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff          @@
##             v3    #3634   +/-   ##
=====================================
  Coverage      ?   43.64%           
=====================================
  Files         ?      366           
  Lines         ?    44320           
  Branches      ?        0           
=====================================
  Hits          ?    19342           
  Misses        ?    23296           
  Partials      ?     1682           
Flag Coverage Δ
admin 11.51% <ø> (?)
agent 51.98% <ø> (?)
managed 45.38% <ø> (?)
vmproxy 68.57% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ademidoff ademidoff merged commit 1095e9a into v3 Feb 12, 2025
32 checks passed
@ademidoff ademidoff deleted the PMM-7-migrate-the-runner-to-latest branch February 12, 2025 17:00
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.

3 participants