Skip to content

Error when debug file too big to upload #2313

Closed

Description

@szokeasaurusrex

There is a file size limit for debug files that are uploaded to Sentry (c.a. 2 GB). When a file exceeds this limit, we log a warning to inform users that the file was skipped:

warn!(
"Skipping debug file since it exceeds {}: {} ({})",
HumanBytes(self.max_file_size),
name,
HumanBytes(file_size.unwrap_or(u64::MAX)),
);

This warning is easy to miss. So, instead of just warning users, we should error and exit with a nonzero status. Our error message can link users to the Symbol Server docs, and also inform them about the ability to set SENTRY_ALLOW_FAILURE to unblock build.

Activity

  1. added 6 commits that reference this issue on Jan 2, 2025
    dd629a4
    d447e10
    08d6e45
    bb06bc8
    7765932
    7153e89
  2. ghost added
    Improvement
    on Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Improvement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions