Skip to content

fix: Add file path filters to Electron symbol source#86678

Merged
loewenheim merged 1 commit into
masterfrom
fix/electron-filepaths
Mar 11, 2025
Merged

fix: Add file path filters to Electron symbol source#86678
loewenheim merged 1 commit into
masterfrom
fix/electron-filepaths

Conversation

@loewenheim

Copy link
Copy Markdown
Contributor

This gates downloads from the public Electron symbol source behind a file path filter. This means that only downloads for modules with a debug file or code file matching one of these globs will even be attempted.

This is to reduce the number of requests we make to the Electron symbol source that definitely will not succeed. The list of glob patterns we allow has been determined by examining Symbolicator log entries for successful downloads from the source. As such, it is always possible that there is a file on the source which is not covered by any of these patterns and which we just haven't seen in all the logs we examined.

This gates downloads from the public Electron symbol
source behind a file path filter. This means that only
downloads for modules with a debug file or code file matching
one of these globs will even be attempted.

This is to reduce the number of requests we make to the Electron
symbol source that definitely will not succeed. The list of
glob patterns we allow has been determined by examining Symbolicator
log entries for successful downloads from the source. As such,
it is always possible that there is a file on the source
which is not covered by any of these patterns and which we
just haven't seen in all the logs we examined.
@loewenheim loewenheim self-assigned this Mar 10, 2025
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 10, 2025
@loewenheim loewenheim marked this pull request as ready for review March 11, 2025 11:43
@loewenheim loewenheim requested a review from a team March 11, 2025 11:44
@loewenheim loewenheim merged commit fb2b937 into master Mar 11, 2025
@loewenheim loewenheim deleted the fix/electron-filepaths branch March 11, 2025 12:14
loewenheim added a commit that referenced this pull request Mar 12, 2025
Fixup of #86678.

The field for debug file paths is called `path_patterns`, not
`file_paths`.
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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