-
Notifications
You must be signed in to change notification settings - Fork 50
fix: [AI-5975] propagate tool error messages to telemetry #429
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
56194d7
fix: [AI-5975] propagate actual error messages to telemetry instead o…
suryaiyer95 1dfb107
fix: [AI-5975] early-return "No schema provided" error for `validate`…
suryaiyer95 f5f5382
fix: [AI-5975] add `.filter(Boolean)` to all error extractors to prev…
suryaiyer95 244df89
merge: resolve conflict in `sql-analyze.ts` — take main's spread patt…
suryaiyer95 1e4c4e4
fix: [AI-5975] treat "not equivalent" as valid result in `altimate_co…
suryaiyer95 fde7db3
fix: [AI-5975] address PR review feedback
suryaiyer95 c14852a
fix: [AI-5975] use error-driven title in semantics, generic error lab…
suryaiyer95 40f8e92
fix: [AI-5975] ensure `metadata.error` is never `undefined` on succes…
suryaiyer95 f123470
fix: [AI-5975] dispatcher wrappers: `success` means "handler complete…
suryaiyer95 efef758
fix: [AI-5975] address code review findings for tool wrappers
suryaiyer95 03b4dd9
fix: [AI-5975] revert validate tool to use dispatcher's `result.succe…
suryaiyer95 f0be8f2
fix: [AI-5975] make error propagation tests self-contained with mocks
suryaiyer95 ddf53be
fix: [AI-5975] propagate tool error messages to telemetry across all …
suryaiyer95 9d08243
fix: [AI-5975] add missing `dialect` fields to test args for type-check
suryaiyer95 3623461
fix: [AI-5975] remove spurious `dialect` from grade test (no such param)
suryaiyer95 8f05cf8
Merge remote-tracking branch 'origin/main' into fix/ai-5975-tool-erro…
suryaiyer95 7a85ad8
fix: [AI-5975] update test expectation to match error title format af…
suryaiyer95 fe1d8a1
feat: [AI-5975] add sql_quality telemetry for issue prevention metric…
suryaiyer95 e2d07c7
Merge branch 'main' into fix/ai-5975-tool-error-propagation
anandgupta42 3aa877a
Merge branch 'main' into fix/ai-5975-tool-error-propagation
suryaiyer95 353fde3
Merge branch 'main' into fix/ai-5975-tool-error-propagation
suryaiyer95 a692b74
fix: add missing `altimate_change` markers and prettier formatting in…
anandgupta42 a6d1609
style: prettier formatting on all changed tool files
anandgupta42 5ee2ce5
fix: preserve original formatting of `errorMsg` ternary to avoid mark…
anandgupta42 314a805
fix: restore original `errorMsg` indentation to match `main`
anandgupta42 f713632
fix: correct indentation of `altimate_change end` marker in `tool.ts`
anandgupta42 a22c03a
fix: propagate `metadata.error` in `sql-optimize` and `sql-translate`…
anandgupta42 307613e
fix: remove unused `@ts-expect-error` directives now that `define()` …
anandgupta42 e79eb66
Merge remote-tracking branch 'origin/main' into fix/ai-5975-tool-erro…
anandgupta42 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.