Skip to content

Mini: Have a separate minimal environment#511

Draft
jan-janssen wants to merge 2 commits intomainfrom
mini
Draft

Mini: Have a separate minimal environment#511
jan-janssen wants to merge 2 commits intomainfrom
mini

Conversation

@jan-janssen
Copy link
Copy Markdown
Member

@jan-janssen jan-janssen commented Mar 27, 2026

Summary by CodeRabbit

  • Chores
    • Optimized continuous integration environment configuration to streamline build initialization.

Copilot AI review requested due to automatic review settings March 27, 2026 18:10
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 27, 2026

Warning

Rate limit exceeded

@jan-janssen has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 49 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 23 minutes and 49 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 69e55ea9-f1eb-4b2c-bc2f-4e40dee4b836

📥 Commits

Reviewing files that changed from the base of the PR and between 77e1416 and 671274e.

📒 Files selected for processing (1)
  • .github/workflows/pipeline.yml
📝 Walkthrough

Walkthrough

A new minimal Conda environment configuration file is added to pin core dependencies, and the minimal CI job workflow is simplified to use this streamlined environment setup instead of copying and filtering the full environment configuration.

Changes

Cohort / File(s) Summary
CI Environment Configuration
.ci_support/environment-mini.yml
New file defining minimal pinned dependencies (pandas, pyyaml, jinja2, hatchling, hatch-vcs) for CI builds.
GitHub Actions Workflow
.github/workflows/pipeline.yml
Simplified minimal job environment setup: removed file copy and sed-based package filtering; now directly provisions from environment-mini.yml with only .condarc channel configuration.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 A minimal hop, a config so neat,
Dependencies pinned, the setup's complete!
No sed, no copy, just .condarc cheer,
CI runs faster—the finish is near! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and directly describes the main change: introducing a separate minimal environment configuration file for CI purposes.
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 mini

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.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.20%. Comparing base (d81baef) to head (671274e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #511   +/-   ##
=======================================
  Coverage   92.20%   92.20%           
=======================================
  Files          19       19           
  Lines        1026     1026           
=======================================
  Hits          946      946           
  Misses         80       80           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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 aims to introduce a dedicated “mini” conda environment for the minimal CI job, instead of deriving it by copying and mutating the full environment file.

Changes:

  • Updated the minimal GitHub Actions job to use a new minimal conda environment file.
  • Added .ci_support/environment-mini.yml defining a reduced dependency set for minimal testing.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/pipeline.yml Switches the minimal job to use the new mini environment file.
.ci_support/environment-mini.yml New minimal conda environment spec used by CI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

miniforge-version: latest
condarc-file: .condarc
environment-file: environment.yml
environment-file: .ci_support/environment-mini.yml
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

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

environment-file points to environment-mini.yml, but the new env file lives under .ci_support/environment-mini.yml. As written, the setup-miniconda step likely won’t find the file and the minimal job will fail. Update the path (or copy the file into the workspace like the previous approach).

Suggested change
environment-file: .ci_support/environment-mini.yml
environment-file: .ci_support/environment-mini.yml

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/pipeline.yml:
- Around line 100-108: The minimal workflow step "Setup Mambaforge" currently
sets environment-file: environment-mini.yml which points to the repo root;
update that environment-file value to the CI location where the PR added the
file (the .ci_support/environment-mini.yml) so the
conda-incubator/setup-miniconda@v3 step can find and load the environment
correctly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4fe0f791-a588-4dd1-a9b2-48a7e1ee39ff

📥 Commits

Reviewing files that changed from the base of the PR and between 63ace34 and 77e1416.

📒 Files selected for processing (2)
  • .ci_support/environment-mini.yml
  • .github/workflows/pipeline.yml

@jan-janssen jan-janssen marked this pull request as draft March 27, 2026 21:21
@jan-janssen jan-janssen marked this pull request as draft March 27, 2026 21:21
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.

2 participants