Skip to content

fix(sync_repos): Handle string JSON in VSTS and error dicts in GitLab#114656

Merged
wedamija merged 3 commits intomasterfrom
danf/sync-repos-bugfixes
May 4, 2026
Merged

fix(sync_repos): Handle string JSON in VSTS and error dicts in GitLab#114656
wedamija merged 3 commits intomasterfrom
danf/sync-repos-bugfixes

Conversation

@wedamija
Copy link
Copy Markdown
Member

@wedamija wedamija commented May 1, 2026

Guard against non-dict exc.json in message_from_error and validate that GitLab search_projects returns project dicts, not error keys.

Fixes SENTRY-5NAY
Fixes SENTRY-5NBH

Guard against non-dict exc.json in message_from_error and validate
that GitLab search_projects returns project dicts, not error keys.

Fixes SENTRY-5NAY
Fixes SENTRY-5NBH
Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
@wedamija wedamija requested a review from a team May 1, 2026 23:48
@wedamija wedamija requested review from a team as code owners May 1, 2026 23:48
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 1, 2026
Comment thread src/sentry/integrations/base.py
Comment thread src/sentry/integrations/gitlab/integration.py
@wedamija wedamija merged commit 1483448 into master May 4, 2026
74 checks passed
@wedamija wedamija deleted the danf/sync-repos-bugfixes branch May 4, 2026 18:48
cleptric pushed a commit that referenced this pull request May 5, 2026
…#114656)

Guard against non-dict exc.json in message_from_error and validate that
GitLab search_projects returns project dicts, not error keys.

Fixes SENTRY-5NAY
Fixes SENTRY-5NBH
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