-
Notifications
You must be signed in to change notification settings - Fork 252
Deprecate override in favour of triage #2005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR deprecates the legacy override functionality in favor of a new triage configuration for issue transformation. Key changes include the introduction of the triage module with new configuration structures, removal of unused override logic, and updates to the planner to build triages from both triage and legacy override settings.
Reviewed Changes
Copilot reviewed 7 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
qlty-config/src/config/triage.rs | Introduces new triage configuration and implementation. |
qlty-config/src/config/overrides.rs | Deprecates override functionality by removing redundant code. |
qlty-config/src/config.rs | Re-exports the new triage components and updates module order. |
qlty-cli/tests/cmd/check/triage.toml | Adds a test configuration for triage. |
qlty-cli/tests/cmd/check/triage.in/.qlty/qlty.toml | Updates TOML config to include triage settings. |
qlty-cli/tests/cmd/check/override.in/.qlty/qlty.toml | Retains a legacy override test configuration with a deprecation notice. |
qlty-check/src/planner.rs | Modifies the plan builder to prefer triage over override. |
Files not reviewed (6)
- qlty-cli/tests/cmd/check/override.stderr: Language not supported
- qlty-cli/tests/cmd/check/triage.in/.gitignore: Language not supported
- qlty-cli/tests/cmd/check/triage.in/sample.sh: Language not supported
- qlty-cli/tests/cmd/check/triage.in/sample2.sh: Language not supported
- qlty-cli/tests/cmd/check/triage.stderr: Language not supported
- qlty-cli/tests/cmd/check/triage.stdout: Language not supported
Comments suppressed due to low confidence (2)
qlty-cli/tests/cmd/check/triage.in/.qlty/qlty.toml:17
- The key 'match.plugin' does not match the expected field name 'plugins' in the Triage configuration. Consider updating this key to 'plugins' to ensure proper deserialization.
match.plugin = "exists"
qlty-cli/tests/cmd/check/triage.in/.qlty/qlty.toml:18
- The key 'match.rule' does not match the expected field name 'rules' in the Triage configuration. Please update this key to 'rules' for consistency.
match.rule = "fail"
Diff Coverage for macos-15: The code coverage on the diff in this pull request is 86.5%. Total Coverage for macos-15: This PR will increase coverage by 0.14%. File Coverage Changes
🛟 Help
|
Diff Coverage for ubuntu-latest: The code coverage on the diff in this pull request is 86.5%. Total Coverage for ubuntu-latest: This PR will increase coverage by 0.14%. File Coverage Changes
🛟 Help
|
❌ 1 blocking issue (1 total)
|
if let Some(path) = issue.path() { | ||
glob_set.as_ref().unwrap().is_match(path) | ||
} else { | ||
// TODO: Issues without a path are not filterable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/qltysh/cloud/issues/5925