test: add corpus golden report snapshots - #45
Merged
Conversation
ebihara99999
force-pushed
the
feature/golden-snapshot-regeneration
branch
from
July 6, 2026 05:55
906e877 to
2a2ada7
Compare
ebihara99999
force-pushed
the
feature/rubocop-differential-baseline
branch
from
July 10, 2026 15:03
f7a0a93 to
f337cdc
Compare
Commit one pretty-printed CodeKeeper JSON report per vendored corpus file and add an explicit Rake task to regenerate them. The snapshots use repository-relative paths so regenerated diffs are stable across machines.
ebihara99999
force-pushed
the
feature/golden-snapshot-regeneration
branch
from
July 10, 2026 15:29
2a2ada7 to
919c6ef
Compare
ebihara99999
marked this pull request as ready for review
July 10, 2026 15:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Refs #41. This is stacked on #44 and implements the third PR-plan slice: committed golden reports and an out-of-band regeneration task.
Changes
spec/fixtures/golden_reports/gitlab/.bundle exec rake corpus:regenerate_golden_reportsas the explicit regeneration task.Impact
This is test-only. Runtime library behavior is unchanged. The regeneration task is not part of CI; CI only verifies the committed snapshots.
Verification
bundle exec rake corpus:regenerate_golden_reportsbundle exec rspec- 80 examples, 0 failuresbundle exec rubocop- 41 files inspected, no offensesgit diff --check- no whitespace errorsScope Out