Skip to content

feat(scm-multi-platform-detection): Parallelizing repo and content reads#118359

Merged
Abdkhan14 merged 4 commits into
masterfrom
abdk/multi-platform-detection-v14
Jun 24, 2026
Merged

feat(scm-multi-platform-detection): Parallelizing repo and content reads#118359
Abdkhan14 merged 4 commits into
masterfrom
abdk/multi-platform-detection-v14

Conversation

@Abdkhan14

Copy link
Copy Markdown
Contributor

Parallelized:

  • get_languages and get_tree
  • The capped content reads

Micro optimization:
Splitting full paths once as we index the entries from the repository

@Abdkhan14 Abdkhan14 requested review from a team as code owners June 24, 2026 16:13
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 24, 2026

@jaydgoss jaydgoss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Non blocking: both blocks now fire concurrent requests on the same client, so an expired token mid-detection lets multiple requests each run their own refresh POST + integration.save().

The tokens stay valid, but warming it once before the fan-out would skip the redundant refreshes.

@sentry

sentry Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 0 0 427 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

@Abdkhan14 Abdkhan14 merged commit 3ce8294 into master Jun 24, 2026
64 checks passed
@Abdkhan14 Abdkhan14 deleted the abdk/multi-platform-detection-v14 branch June 24, 2026 21:46
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