-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Approval workflow for classification feedback #25347
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
Conversation
Also improve debug logging
🔍 CI failure analysis for 78cb0bb: CI failures in maven-sonarcloud-ci and maven-postgresql-ci: 1 test failure related to PR (403 reviewer permission error in GlossaryTermResourceTest), 5 unrelated ODCS failures in DataContractResourceTest.IssueMaven CI Test Failures - Mixed Related and Unrelated Issues Both
Test Failure SummaryRELATED FAILURE (only in maven-postgresql-ci):
UNRELATED FAILURES (in both CI jobs):
Test Results Summary (maven-sonarcloud-ci):
Root CauseGlossaryTermResourceTest Failure (RELATED - PostgreSQL CI only)This PR introduces a Tag Recognizer Feedback Review Workflow with new reviewer permission checks. The failure occurs in The test This suggests:
DataContractResourceTest Failures (UNRELATED)These 5 failures appear in both CI jobs and involve ODCS (Open Data Contract Standard) export/import:
This PR modifies 65 files related to:
Zero changes to:
These failures are likely pre-existing or due to recent dependency updates. DetailsPR Changes and Reviewer Permission LogicThe PR adds reviewer-related components:
The reviewer check appears to be leaking into entity deletion operations that should not require reviewer permissions. Why DataContractResourceTest Failures Are UnrelatedEvidence of unrelated nature:
Likely causes:
Non-Critical WarningsExpected warnings (appear in normal test runs, non-blocking):
These are test infrastructure artifacts and don't cause test failures. Code Review 👍 Approved with suggestions 17 resolved / 20 findingsWell-structured approval workflow implementation with robust auto-approval logic and comprehensive UI components. One important issue around exception handling in the event consumer should be addressed.
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
|



Describe your changes:
Implemets #25177
Here's how the new feedback looks like
Summary by Gitar
RecognizerFeedbackschema tracks user feedback on auto-applied classification tags with 4 feedback types (FALSE_POSITIVE, INCORRECT_CLASSIFICATION, OVERLY_BROAD, CONTEXT_SPECIFIC)createRecognizerFeedbackApprovalTask) and automated apply/reject tasks with configurable thresholdsCheckFeedbackSubmitterIsReviewerImplwhen feedback submitter is also the reviewerWorkflowEventConsumerwith entity-specific handlers forRECOGNIZER_FEEDBACKeventsRegistryutility class supports default fallback behavior for unregistered entity typesFeedbackApprovalTask.tsxdisplays feedback details including type, submitter, timestamp, and entity link with proper i18n supportTaskFeedCardandTaskTabcomponents to recognizeRecognizerFeedbackApprovaltask type and handle approval/rejection like glossary tasksThis will update automatically on new commits.
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>