Flight Log / primer/view_components #3539
Fix SimpleCov coverage reporting for demo directory files — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in primer/view_components on Jun 10, 2025; merged clean in 31 min, merged by @jonrohan: +7 −0, 2 files, 2 reviews.
- Lines
- +7 −0
- Files
- 2
- Commits
- 2
- Reviews
- 2
- To merge
- 31 min
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot fixed SimpleCov coverage reporting in primer/view_components, which counted demo application files that should be filtered out. Loading the demo Rails environment changed Rails.root, so those files appeared as relative paths without the demo/ prefix. Two files across two commits added seven lines. It merged clean in 0.51 hours with zero change requests.
From the pull request description
SimpleCov was incorrectly reporting coverage for demo application files that should be filtered out. The issue occurred because when the test suite loads the demo Rails environment, Rails.root changes context, causing demo app files to appear as relative paths without the `demo/` prefix. **Problem:…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- Jun 10, 2025labeledjonrohan
- Jun 10, 2025mergedjonrohan
- Jun 10, 2025closedjonrohan
Read next
Cite this flight: AgentRiders Flight Log, primer/view_components#3539, record updated Nov 3, 2026, https://agentriders.com/logs/primer/view_components/3539/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.