ci: move lightweight notification/bookkeeping jobs to self-hosted runners#4123
Conversation
…ners Flip runs-on from ubuntu-latest to self-hosted for non-gating reusable workflows (Slack/Swarmia notifications, GitHub env-var storage, PR/issue tagging, deployment cleanup, deployed-version lookup). These are pure gh/az/HTTP jobs with no Docker, PowerShell, or .NET tooling that the Azure Container App runner image lacks, and their failure cannot block a PR or break a deploy. Continues the migration started in #4116. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughSeven GitHub Actions workflow files are updated to run their respective jobs on ChangesRunner Migration Across Utility Workflows
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b5e2a8f0fb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".



What
Moves 7 non-gating reusable workflows from
ubuntu-latest→self-hosted, continuing the migration started in #4116:workflow-send-ci-cd-status-slack-message.ymlworkflow-send-deployment-lag-slack-message.ymlworkflow-swarmia-deployment.ymlworkflow-store-github-env-variable.ymlgh)workflow-tag-issues-with-environment.ymlgh)workflow-get-latest-deployed-version-info-from-github.ymlgh)workflow-delete-deployments.ymlgh)Each change is a single-line
runs-onflip.Why these (lowest risk)
gh/az/curl/ Node steps. The self-hosted runners are ephemeral Azure Container App Jobs with no Docker daemon and a minimal image (Azure CLI, Node 24,gh,jq,make), so these jobs run unchanged.check-for-changes, so this adds no new critical-path dependency.maxExecutions) is set in the externalAltinn/altinn-modulesTerraform module (v1.2.3), not in the runner-config repo. If the pool is small, higher-volume use could queue. Worth confirming with the platform team before moving busier jobs.ubuntu-latest. Fine here; relevant for heavier jobs later.🚫 Blocked — cannot move (need a Docker daemon / missing tooling)
Out of scope here; staying on
ubuntu-latest:workflow-build-and-test.yml— integration tests use Testcontainers.PostgreSql (needs Docker).workflow-publish-docker-images.yml—docker/setup-buildx+build-push(needs Docker).workflow-run-k6-tests.yml—grafana/k6-actionruns k6 via Docker.workflow-deploy-infra.yml— usesshell: pwsh, which isn't in the runner image.Next candidates (future PRs, once this is proven stable)
Docker-free but gating/heavier, so deferred until the pool's reliability and concurrency are confirmed: PR checks
validate-schemaandvulnerabilities-introduced, and the E2E test workflows (run-webapi-e2e-tests,run-graphql-e2e-tests,run-k6-performance, which runs k6 in AKS rather than on the runner).Rollback
Revert the single commit — every change is a one-line
runs-onflip.🤖 Generated with Claude Code