Repository navigation
Conversation
Compare PR and push data against their base revision, ignoring case-only edits, category moves, sorting, and removals. Add monthly and manual full scans and offline regression coverage. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the incremental organization-validation change.
No open issues 🎉
What changed in this PR
Reduces routine organization-validation requests by checking only newly added names, while retaining monthly and manual full scans.
Changes:
- Compare organization names case-insensitively against the PR base or pre-push revision, ignoring moves, sorting, and removals.
- Add explicit failure for unreadable baselines and empty-baseline handling for initial pushes.
- Schedule monthly full scans and expand regression coverage for incremental checks.
| File | Description |
|---|---|
test/ensure_orgs_test.rb |
Adds Git-backed fixtures and tests for incremental checks and baseline handling. |
script/ensure-orgs |
Loads baseline names and filters requests to added or renamed organizations. |
.github/workflows/ensure-orgs.yml |
Adds scheduled and manual scans, fetches full history, and passes the comparison revision. |
Review effort: Balanced (adaptive)
2 tasks done
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.
Summary
Validation
bundle exec ruby test/ensure_orgs_test.rb: 7 tests, 60 assertions passingbundle exec rubocop script/ensure-orgs test/ensure_orgs_test.rbORG_BASE_REF=HEAD bundle exec script/ensure-orgs: zero requests for unchanged datagit diff --check