Skip to content
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

ui: add error message for failed executions #110849

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

xinhaoz
Copy link
Member

@xinhaoz xinhaoz commented Sep 18, 2023

Part of #87785

This commit adds the error message for failed executions to the
statement and transaction insights pages. Since this value can contain
sensitive information, it must conform to the VIEWACTIVITY and
VIEWACTIVITYREDACTED system privielges.

Release note (ui change): adds "Error message" row to the statement and
transaction insights details pages. If the user has VIEWACTIVITY, they
are able to view the full error message. If they have
VIEWACTIVTYREDACTED, they are given a redacted error message. If they
have both, VIEWACTIVITYTREDACTED takes precedence.


Only the most recent commit (ui) should be reviewed.


image

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@xinhaoz xinhaoz marked this pull request as ready for review September 19, 2023 14:40
@xinhaoz xinhaoz requested review from a team September 19, 2023 14:40
@xinhaoz xinhaoz requested review from a team as code owners September 19, 2023 14:40
@xinhaoz xinhaoz requested review from a team and dhartunian and removed request for a team and dhartunian September 19, 2023 14:40
Copy link
Contributor

@maryliag maryliag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last commit only: :lgtm:

Reviewed 5 of 5 files at r1, 13 of 13 files at r2, 6 of 6 files at r3, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @xinhaoz)

@xinhaoz xinhaoz force-pushed the insights-errs-ui branch 4 times, most recently from 08f0482 to b9ee4cd Compare September 21, 2023 15:10
Part of cockroachdb#87785

This commit adds the error message for failed executions to the
statement and transaction insights pages. Since this value can contain
sensitive information, it must conform to the VIEWACTIVITY and
VIEWACTIVITYREDACTED system privielges.

Release note (ui change): adds "Error message" row to the statement and
transaction insights details pages. If the user has VIEWACTIVITY, they
are able to view the full error message. If they have
VIEWACTIVTYREDACTED, they are given a redacted error message. If they
have both, VIEWACTIVITYTREDACTED  takes precedence.
@xinhaoz
Copy link
Member Author

xinhaoz commented Sep 22, 2023

CI passed already, just pushed a rebase 👍
bors r+

@craig
Copy link
Contributor

craig bot commented Sep 22, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Sep 22, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Sep 22, 2023

Build succeeded:

@craig craig bot merged commit d42b76a into cockroachdb:master Sep 22, 2023
8 checks passed
@xinhaoz xinhaoz deleted the insights-errs-ui branch April 1, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants