Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 11, 2024

Most of our background jobs don't need to be enqueued multiple times if there is already a similar one in the queue. This commit changes most of the jobs to use the new DEDUPLICATED flag on the BackgroundJob impl.

Most of our background jobs don't need to be enqueued multiple times if there is already a similar one in the queue. This commit changes most of the jobs to use the new `DEDUPLICATED` flag on the `BackgroundJob` impl.
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Oct 11, 2024
@Turbo87 Turbo87 requested a review from a team October 11, 2024 12:03
Copy link
Contributor

@LawnGnome LawnGnome left a comment

Choose a reason for hiding this comment

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

OK, so I think that means the ones that aren't going to be de-duplicated are:

  • ProcessCdnLogQueue
  • NormalizeIndex
  • RenderAndUploadReadme

Feels like this should be OK.

@codecov
Copy link

codecov bot commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.87%. Comparing base (6066d18) to head (bd12088).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9628   +/-   ##
=======================================
  Coverage   88.87%   88.87%           
=======================================
  Files         289      289           
  Lines       29232    29232           
=======================================
  Hits        25981    25981           
  Misses       3251     3251           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Turbo87 Turbo87 merged commit 868a502 into rust-lang:main Oct 11, 2024
10 checks passed
@Turbo87 Turbo87 deleted the dedupe branch October 11, 2024 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants