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

Remove PURGE call on StalePage #1335

Merged
merged 2 commits into from
Jan 3, 2023
Merged

Remove PURGE call on StalePage #1335

merged 2 commits into from
Jan 3, 2023

Conversation

cooperlees
Copy link
Contributor

  • This call now 401s so there is no benefit of calling it
  • Also spams logs with noise - So lets remove before more people open issues

Test:

  • See tests pass
    • Remove assertion of request being sent on StalePage as we no longer do ... That is this PRs purpose

Fixes #1334

- This call now 401s so there is no benefit of calling it
- Also spams logs with noise - So lets remove before more people open issues

Test:
- See tests pass
  - Remove assertion of request being sent on StalePage as we no longer do ... That is this PRs purpose

Fixes #1334
@cooperlees cooperlees added the bug Something isn't working label Jan 3, 2023
@codecov
Copy link

codecov bot commented Jan 3, 2023

Codecov Report

Base: 83.48% // Head: 83.49% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (e9972a7) compared to base (6292ef8).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1335      +/-   ##
==========================================
+ Coverage   83.48%   83.49%   +0.01%     
==========================================
  Files          31       31              
  Lines        4220     4212       -8     
  Branches      620      619       -1     
==========================================
- Hits         3523     3517       -6     
+ Misses        521      519       -2     
  Partials      176      176              
Impacted Files Coverage Δ
src/bandersnatch/master.py 87.69% <ø> (+0.83%) ⬆️
src/bandersnatch/tests/test_master.py 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

src/bandersnatch/master.py Show resolved Hide resolved
CHANGES.md Outdated Show resolved Hide resolved
Co-authored-by: Richard Si <sichard26@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop issuing PURGE requests on stale serial as PyPI requires authentication now
2 participants