Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug-1910613: update guidance on 429s and symbols zip archive sizes #2984

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

willkg
Copy link
Contributor

@willkg willkg commented Aug 2, 2024

This updates the guidance on retrying to wait 15 seconds and try again.

This also updates the discussion around which HTTP POST method to use in relation to the symbol zip archive size. We now recommend this new model where we encourage people to have symbol zip archive sizes < 2gb and they should split the archive up across multiple HTTP POSTs.

@willkg willkg requested a review from a team as a code owner August 2, 2024 17:37
Upload by HTTP POST (payload < 2gb size)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Upload by HTTP POST
~~~~~~~~~~~~~~~~~~~
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We no longer suggest picking one based on the size of the file. Instead we suggest breaking up large files into smaller ones regardless of the upload method.

payload and specify the url to the symbols file as a value to ``url``.

Domains that Tecken will download from is specified in the
``DJANGO_ALLOW_UPLOAD_BY_DOWNLOAD_DOMAINS`` environment variable and at the
time of this writing is set to::

queue.taskcluster.net
public-artifacts.taskcluster.net
firefox-ci-tc.services.mozilla.com
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I updated this to match our settings.


Symbols files can not be overwritten. Once a file is uploaded, any future
upload attempts for that debug_filename/debug_id combination will be
skipped.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was never true. This was a misunderstanding I had for a long time and should have fixed this ages ago.

Copy link
Member

@relud relud left a comment

Choose a reason for hiding this comment

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

r+wc

docs/upload.rst Outdated

.. Note::

For retrying, we suggest waiting between 15 seconds between retry attempts.
Copy link
Member

Choose a reason for hiding this comment

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

seems like there's an extra "between" here

Suggested change
For retrying, we suggest waiting between 15 seconds between retry attempts.
For retrying, we suggest waiting 15 seconds between retry attempts.

This updates the guidance on retrying to wait 15 seconds and try again.

This also updates the discussion around which HTTP POST method to use in
relation to the symbol zip archive size. We now recommend this new model
where we encourage people to have symbol zip archive sizes < 2gb and
they should split the archive up across multiple HTTP POSTs.
@willkg willkg force-pushed the willkg-bug-1910613-429 branch from 96486da to eda6c35 Compare August 2, 2024 19:41
@willkg willkg merged commit e647572 into main Aug 2, 2024
2 checks passed
@willkg willkg deleted the willkg-bug-1910613-429 branch August 2, 2024 19:45
@willkg
Copy link
Contributor Author

willkg commented Aug 2, 2024

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants