Skip to content

Conversation

@suejung-sentry
Copy link
Member

@suejung-sentry suejung-sentry commented Dec 31, 2025

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 31, 2025
@suejung-sentry
Copy link
Member Author

@sentry review

@linear
Copy link

linear bot commented Jan 3, 2026

ERROR = "seer.code_review.error"


SUCCESS_STATUS = "success"
Copy link
Member Author

Choose a reason for hiding this comment

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

This seemed to be an unused variable

MISSING_ORGANIZATION = "github.webhook.check_run.missing-organization"
MISSING_ACTION = "github.webhook.check_run.missing-action"
INVALID_PAYLOAD = "github.webhook.check_run.invalid-payload"
INVALID_EXTERNAL_ID = "github.webhook.check_run.invalid-external-id"
Copy link
Member Author

Choose a reason for hiding this comment

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

These 2 under "Log" seemed to be unused

logger = logging.getLogger(__name__)


class ErrorStatus(enum.StrEnum):
Copy link
Member Author

Choose a reason for hiding this comment

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

These were moved over the metrics.py file



class Metrics(enum.StrEnum):
ERROR = "seer.code_review.error"
Copy link
Member Author

Choose a reason for hiding this comment

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

This was moved to metrics.py file

logger = logging.getLogger(__name__)


class ErrorStatus(enum.StrEnum):
Copy link
Member Author

Choose a reason for hiding this comment

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

Moved to metrics.py

NOT_REVIEW_COMMAND = "github.webhook.issue_comment.not-review-command"


class Metrics(enum.StrEnum):
Copy link
Member Author

Choose a reason for hiding this comment

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

Reworked into metrics.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants