Skip to content

Codex/release 2.0.0 maintenance - #114

Merged
igmarin merged 2 commits into
mainfrom
codex/release-2.0.0-maintenance
Sep 24, 2026
Merged

igmarin merged 2 commits into
mainfrom
codex/release-2.0.0-maintenance

Conversation

@igmarin

@igmarin igmarin commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

Brief description of the changes in this pull request.

Related Issue

Closes #

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring / code cleanup

Checklist

  • Tests added or updated
  • bundle exec rake test passes
  • bundle exec rubocop passes
  • bundle exec reek passes
  • bundle exec rake yard:coverage passes
  • CHANGELOG.md has been updated
  • Documentation has been updated

Summary by CodeRabbit

  • New Features
    • Added an offline mock option for trying the evaluation workflow without an API key or network access.
    • Evaluation task folders are now discovered consistently, including nested folders containing a task definition.
  • Bug Fixes
    • JSON reports retain readable, pretty-printed formatting.
  • Documentation
    • Updated setup guidance: Ruby 3.3 or newer is required, and Ruby 3.3, 3.4, and 4.0 are included in CI testing.
    • Added guidance for configuring the OpenAI API key securely.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: e63e4d98-a57c-4899-adb7-e7e1968b7892

📥 Commits

Reviewing files that changed from the base of the PR and between 03b9368 and 1b2d348.

⛔ Files ignored due to path filters (1)
  • Gemfile.lock is excluded by !**/*.lock
📒 Files selected for processing (27)
  • .github/workflows/ci.yml
  • .reek.yml
  • .rubocop.yml
  • CHANGELOG.md
  • CONTRIBUTING.md
  • Gemfile
  • README.md
  • docs/docker.md
  • docs/first-eval-guide.md
  • lib/skill_bench.rb
  • lib/skill_bench/clients/base_client.rb
  • lib/skill_bench/judge/variance.rb
  • lib/skill_bench/runner.rb
  • lib/skill_bench/services/batch_runner_service.rb
  • lib/skill_bench/services/output_persistence_service.rb
  • lib/skill_bench/task/README.md
  • lib/skill_bench/task/directory_finder.rb
  • lib/skill_bench/version.rb
  • ruby-skill-bench.gemspec
  • test/evaluation_runner_test.rb
  • test/evaluator/agent_evaluator_test.rb
  • test/evaluator/ci_integration_test.rb
  • test/evaluator/context_hydrator_test.rb
  • test/evaluator/gemspec_test.rb
  • test/evaluator/runner_test.rb
  • test/evaluator/services/output_persistence_service_test.rb
  • test/test_helper.rb

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The 2.0.0 release raises the minimum Ruby version to 3.3 and updates runtime and development dependencies. Task-directory discovery moves to a dedicated class. Runtime code, documentation, CI configuration, and tests are updated.

Changes

Release requirements and documentation

Layer / File(s) Summary
Release requirements and documentation
.github/workflows/ci.yml, .reek.yml, .rubocop.yml, CHANGELOG.md, CONTRIBUTING.md, Gemfile, README.md, docs/docker.md, docs/first-eval-guide.md, lib/skill_bench/version.rb, ruby-skill-bench.gemspec, test/evaluator/agent_evaluator_test.rb, test/evaluator/ci_integration_test.rb, test/evaluator/gemspec_test.rb
The gem version changes to 2.0.0, and the minimum Ruby version changes to 3.3. Runtime and development dependency constraints are updated. CI includes Ruby 4.0 in its test matrix. Project documentation and tests reflect these changes. The first-eval guide adds API key handling and an offline mock-provider option.

Task-directory discovery

Layer / File(s) Summary
Task-directory discovery
lib/skill_bench/task/directory_finder.rb, lib/skill_bench.rb, lib/skill_bench/runner.rb, lib/skill_bench/services/batch_runner_service.rb, lib/skill_bench/task/README.md, test/evaluator/runner_test.rb
Task::DirectoryFinder returns the root directory if it contains task.md; otherwise, it returns sorted, unique parent directories for nested task files. Runner and BatchRunnerService delegate directory discovery to this class. Tests cover root, nested, and empty results, and confirm the deprecated Runner remains available.

Runtime updates and tests

Layer / File(s) Summary
Runtime updates and tests
lib/skill_bench/clients/base_client.rb, lib/skill_bench/judge/variance.rb, lib/skill_bench/services/output_persistence_service.rb, test/evaluation_runner_test.rb, test/evaluator/context_hydrator_test.rb, test/evaluator/services/output_persistence_service_test.rb, test/test_helper.rb
BaseClient.call forwards keyword options anonymously. Judge::Variance#call stores the input count in a local variable. JSON report writing uses JSON.pretty_generate, with a test checking the formatted output. Test helpers forward keyword arguments, stub indentation is adjusted, and SimpleCov uses skip for the test directory.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Merge Risk: ⚪ Minimal · up to 1b2d3

No verified merge-blocking issue remains in the reviewed changes.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 16.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 25 functions across 17 files. (10 skipped… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title identifies the primary change as maintenance work for the 2.0.0 release. It is concise and related to the version bump, dependency updates, and compatibility changes.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 16.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 25 functions across 17 files. (10 skipped: 10 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR

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

I’m a rabbit with a release to greet,
Ruby three-three makes a tidy beat.
I hop through tasks from root to nest,
Sorted paths line up their best.
Reports print pretty, tests join in,
I thump my paws: the changes spin!

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

@igmarin
igmarin merged commit ca98a50 into main Sep 24, 2026
7 checks passed
@igmarin
igmarin deleted the codex/release-2.0.0-maintenance branch September 24, 2026 15:20
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.

1 participant