Repository navigation
sync: port shared configuration tests to RSpec - #499
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The test port preserves existing checks and updates CI consistently, with no identified blocking defects.
0 open findings
What changed in this PR
Ports the shared configuration sync tests from shell to Homebrew’s bundled RSpec, preserving existing checks and extending coverage.
Changes:
- Replaces the shell suite with RSpec examples.
- Adds checks for Actions output, newer Ruby versions, non-Markdown private docs, and Git error messages.
- Updates CI to install test dependencies and run RSpec.
| File | Description |
|---|---|
.github/workflows/sync-shared-config.yml |
Installs test dependencies and runs RSpec. |
.github/actions/sync/test-shared-config.sh |
Removes the replaced shell suite. |
.github/actions/sync/shared-config_spec.rb |
Adds the ported tests and expanded coverage. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
cae33cfa-2936-462c-aa5a-8ce7cfeca55a
📒 Files selected for processing: 3
.github/actions/sync/shared-config_spec.rb.github/actions/sync/test-shared-config.sh.github/workflows/sync-shared-config.yml
💤 Files with no reviewable changes: 1
- .github/actions/sync/test-shared-config.sh
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Signed-off-by: Patrick Linnane <patrick@linnane.io>
p-linnane
force-pushed
the
shared-config-rspec
branch
from
October 16, 2026 04:40
9efef02 to
0bc3489
Compare
p-linnane
added this pull request to stack #501
October 16, 2026 04:48
MikeMcQuaid
approved these changes
Oct 16, 2026
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.
As suggested in review of #498, this replaces
test-shared-config.shwithshared-config_spec.rb, run with Homebrew's bundled RSpec, so thestylejob now also installs thetestsgem group. The examples keep the shell suite's fixtures and assertions and add coverage for the GitHub Actions output, newer.ruby-versions, non-Markdown private docs and the Git error outside a repository.GPT-6 Astra wrote the port. Claude Opus 5.5 reviewed it, ran the old and new suites with Portable Ruby 4.0.7 with and without the GitHub Actions environment and checked that deliberately broken versions of the sync script fail both.
Summary by CodeRabbit