Skip to content

fix(autopilot): Emit error metric for Seer instantiation and artifact retrieval failures#108111

Merged
ArthurKnaus merged 1 commit intomasterfrom
arthurknaus/tet-1953-integrations-detector-fix-error-metric
Feb 12, 2026
Merged

fix(autopilot): Emit error metric for Seer instantiation and artifact retrieval failures#108111
ArthurKnaus merged 1 commit intomasterfrom
arthurknaus/tet-1953-integrations-detector-fix-error-metric

Conversation

@ArthurKnaus
Copy link
Member

@ArthurKnaus ArthurKnaus commented Feb 12, 2026

The missing SDK integration detector was only emitting error metrics in the
generic exception handler. Seer permission errors and artifact retrieval
failures returned early without recording a metric, making them invisible
in dashboards.

Extracts a _record_error helper and calls it from all three error paths:
SeerPermissionError, no_artifact_result, and generic exceptions.

Refs TET-1953

@linear
Copy link

linear bot commented Feb 12, 2026

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 12, 2026
@ArthurKnaus ArthurKnaus marked this pull request as ready for review February 12, 2026 09:48
@ArthurKnaus ArthurKnaus requested a review from a team as a code owner February 12, 2026 09:48
… retrieval failures

The missing SDK integration detector was only emitting error metrics in
the generic exception handler. Seer permission errors and artifact
retrieval failures returned early without recording a metric, making
them invisible in dashboards.

Extract a _record_error helper and call it from all three error paths:
SeerPermissionError, no_artifact_result, and generic exceptions.

Refs TET-1953
Co-Authored-By: Claude <noreply@anthropic.com>
@ArthurKnaus ArthurKnaus force-pushed the arthurknaus/tet-1953-integrations-detector-fix-error-metric branch from 6476192 to 40b62bd Compare February 12, 2026 09:53
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@ArthurKnaus ArthurKnaus enabled auto-merge (squash) February 12, 2026 10:00
@ArthurKnaus ArthurKnaus merged commit ed42a77 into master Feb 12, 2026
76 checks passed
@ArthurKnaus ArthurKnaus deleted the arthurknaus/tet-1953-integrations-detector-fix-error-metric branch February 12, 2026 10:17
jaydgoss pushed a commit that referenced this pull request Feb 12, 2026
… retrieval failures (#108111)

The missing SDK integration detector was only emitting error metrics in
the
generic exception handler. Seer permission errors and artifact retrieval
failures returned early without recording a metric, making them
invisible
in dashboards.

Extracts a `_record_error` helper and calls it from all three error
paths:
`SeerPermissionError`, `no_artifact_result`, and generic exceptions.

Refs TET-1953

Co-authored-by: Claude <noreply@anthropic.com>
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