Skip to content

Fix release blockers - #30

Merged
dblock merged 1 commit into
mongoid:masterfrom
dblock:dblock/ignore-bundle-config
Nov 24, 2026
Merged

dblock merged 1 commit into
mongoid:masterfrom
dblock:dblock/ignore-bundle-config

Conversation

@dblock

@dblock dblock commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes the two problems blocking the first automated release.

1. Untracked .bundle/config. The first Release dry run failed at "Capture Release Context" (https://github.com/mongoid/mongoid-compatibility/actions/runs/45387008376) with:

Release requires a clean checkout after dependency installation (1 paths): ?? ".bundle/config"

ruby/setup-ruby with bundler-cache: true writes .bundle/config, and this repository ignored vendor/bundle but not .bundle. This adds /.bundle to .gitignore.

2. Lint fails on master. Layout/LineLength flags .github/workflows/danger-comment.yml:16 at 121/120 characters, and the release's test step runs RuboCop. #29's own lint run passed only because it ran before #25 brought workflow files into RuboCop's scope. Reusable workflows pinned by full commit SHA with a version comment can't be wrapped, so this excludes .github/workflows/*.yml from Layout/LineLength, merged with any existing exclusions.

Also adds a CHANGELOG entry under 1.1.1.

Validation:

  • git check-ignore confirms .bundle/config is ignored.
  • bundle exec rake rubocop reports no offenses across 47 files.
  • The real check is re-running the Release dry run after this merges.

This PR was written by an AI (Claude) on behalf of @dblock.

🤖 Generated with Claude Code

https://claude.ai/code/session_011Gr21iR4JxWxGGyXdJ3uc9

Ignore .bundle: ruby/setup-ruby with bundler-cache writes .bundle/config,
which the release workflow's clean-checkout check reports as an
untracked file. Exempt workflow files from Layout/LineLength, because
reusable workflows pinned by full commit SHA with a version comment
cannot be wrapped; lint was failing on master and the release runs it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Gr21iR4JxWxGGyXdJ3uc9
@dblock dblock changed the title Ignore .bundle Fix release blockers Nov 24, 2026
@dblock
dblock force-pushed the dblock/ignore-bundle-config branch from 2c6cceb to 9427965 Compare November 24, 2026 11:55
@dblock
dblock merged commit 1f39801 into mongoid:master Nov 24, 2026
15 of 16 checks passed
@dblock
dblock deleted the dblock/ignore-bundle-config branch November 24, 2026 12: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