Skip to content

fix(ci): simplify CI.yml — remove ARC-specific conditionals#3343

Merged
PierreBrisorgueil merged 1 commit intomasterfrom
fix/ci-simplify
Mar 27, 2026
Merged

fix(ci): simplify CI.yml — remove ARC-specific conditionals#3343
PierreBrisorgueil merged 1 commit intomasterfrom
fix/ci-simplify

Conversation

@PierreBrisorgueil
Copy link
Copy Markdown
Contributor

@PierreBrisorgueil PierreBrisorgueil commented Mar 27, 2026

Summary

  • Remove if: ${{ !vars.RUNNER }} condition from setup-node step (always run it)
  • Remove the entire "Wait for MongoDB" step with its complex Node TCP probe — the services health check already guarantees MongoDB is ready

Test plan

  • CI passes on this PR (self-validating: the simplified workflow runs successfully)

Closes #3342

Summary by CodeRabbit

  • Chores
    • Optimized CI/CD workflow by streamlining build pipeline steps and removing redundant verification processes for more efficient build execution.

Remove the `if: !vars.RUNNER` guard on setup-node (always run it) and
drop the redundant "Wait for MongoDB" TCP probe step since the services
health check already guarantees readiness.

Closes #3342
Copilot AI review requested due to automatic review settings March 27, 2026 10:20
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: a0c8046e-acde-4ae0-86a3-60d2146e2e20

📥 Commits

Reviewing files that changed from the base of the PR and between 921a706 and bec9eec.

📒 Files selected for processing (1)
  • .github/workflows/CI.yml
💤 Files with no reviewable changes (1)
  • .github/workflows/CI.yml

Walkthrough

Simplified CI workflow by removing runner-specific conditionals and MongoDB readiness checks. Deleted the if: ${{ !vars.RUNNER }} guard from the Setup Node.js step and removed the "Wait for MongoDB" step that performed TCP connection verification.

Changes

Cohort / File(s) Summary
CI Workflow Simplification
.github/workflows/CI.yml
Removed if: ${{ !vars.RUNNER }} conditional guard from the Setup Node.js step to ensure it always runs. Deleted the "Wait for MongoDB" step that contained TCP connection logic for deriving host/port from environment variables. Workflow now executes consistently across all runner types without explicit Mongo readiness verification.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related issues

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The description covers the key changes and test plan, but omits required template sections like Scope, Validation checklist, Guardrails, and Infra details. Add missing template sections: expand Scope (modules, cross-impact, risk level), complete Validation checklist, address Guardrails checks, and include Before/After comparison if applicable.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: removing ARC-specific conditionals from CI.yml.
Linked Issues check ✅ Passed All coding requirements from issue #3342 are met: the conditional if: ${{ !vars.RUNNER }} is removed and the Wait for MongoDB step is deleted.
Out of Scope Changes check ✅ Passed All changes are strictly within scope of issue #3342: only the setup-node conditional and MongoDB wait step were removed, with no extraneous modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ci-simplify

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies the GitHub Actions CI workflow by removing ARC/self-hosted-runner-specific conditionals and relying on the MongoDB service health check for readiness.

Changes:

  • Always run actions/setup-node (removed if: ${{ !vars.RUNNER }} guard).
  • Removed the bespoke “Wait for MongoDB” TCP-probe step, relying on the service --health-cmd instead.

@PierreBrisorgueil PierreBrisorgueil merged commit 37db74d into master Mar 27, 2026
7 checks passed
@PierreBrisorgueil PierreBrisorgueil deleted the fix/ci-simplify branch March 27, 2026 10:33
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.

fix(ci): simplify CI.yml — remove ARC-specific conditionals

2 participants