Repository navigation
Cover slug boundary contracts and supported-version coverage union - #284
Merged
Merged
Conversation
Danger ReportNo issues found. |
dblock
force-pushed
the
dblock/coverage
branch
3 times, most recently
from
October 18, 2026 13:28
6efc95c to
e32c9ca
Compare
Exercise saved slug clearing/reset/unset, explicit-text suggestions, history-state reporting, unconfigured concerns, version/require entry points and actual Rails task registration. Keep existing standalone rake tests isolated from the Rails constant. Combine real supported Mongoid8 and9 reports rather than fake obsolete metadata/version APIs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
dblock
force-pushed
the
dblock/coverage
branch
from
October 18, 2026 13:32
e32c9ca to
4cb7741
Compare
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.
Baseline91.08% default-branch line coverage. Add persisted slug clear/reset/unset tests, explicit-text suggestions, real saved/history slug-state inspection, safe unconfigured-concern behavior, standalone version/require aliases, and actual Rails task registration with a development-only railties dependency. Explicitly keep existing task tests in their original standalone environment by hiding the Rails constant within those examples.
186 examples and full lint pass; modern9 local98.38%(303/308). Combine real supported Mongoid8 and9 reports for scope compatibility; preserve honest unsupported legacy metadata-adapter gaps instead of fabricating old driver protocols or predicates for a metric. No production changes, source exclusions or narrowed tracked files.
Accepted CI coverage: 98.38% (303/308 relevant lines), Coveralls build82425453, after all final-head matrix jobs passed. (Historical report before version-test simplification; not the revised head.)
Prepared by an AI on behalf of @dblock.
Update: version tests now assert the already-loaded public constant directly. Removed constant hiding/replacement, version-file reloading, and manual cleanup used only to count assignments under coverage. Any coverage decrease is intentional; earlier percentages above predate this simplification. Genuine compatibility and integration tests remain unchanged.