discourse/lib/tasks
Leonardo Mosquera a86590ffd6
UX: Add a rake task to monitor progress for long rebakes (#27517)
* UX: Add a rake task to monitor progress for long rebakes

When doing mass rebaking, this task will print progress, speed and
expected time to completion (ETC) on a loop. It is meant for rebakes
that take several hours or days.

It will calculate a 10m moving average over the past 6 hours, and print
ETC accordingly.

It also shows Sidekiq stats in case Sidekiq jobs for rebaking were
enqueued separately, instead of using the rebake_posts tasks in this
file (which are 100% synchronous and do not touch Sidekiq at all).

NOTE: only the currently unbaked count at task start time is considered;
this is useful in live communities with lots of traffic, where new posts
might otherwise change the goal posts continuously.

* Satisfy stree
2024-07-03 07:52:47 +10:00
..
add_topic_to_quotes.rake
admin.rake
annotate.rake DEV: Extensively use exception: true in system() (#25911) 2024-02-27 11:33:28 +01:00
api.rake
assets.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
auto_annotate_models.rake
autospec.rake
avatars.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
backfill.thor
categories.rake
cdn.rake
compatibility.rake DEV: Introduce rake task to validate discourse-compatibility file (#26158) 2024-03-13 13:57:41 +00:00
db.rake DEV: Extensively use exception: true in system() (#25911) 2024-02-27 11:33:28 +01:00
destroy.rake
dev.rake
docker.rake DEV: Support customizing docker:test:setup with envs (#24508) 2023-11-22 15:12:02 +08:00
documentation.rake DEV: Remove unmaintained tidy-jsdoc dependency (#25110) 2024-01-03 10:30:54 +00:00
emails.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
emoji.rake DEV: Remove direct minitest dependency to appease ruby-lsp (#26056) 2024-03-06 15:41:14 +00:00
export.rake
groups.rake
hashtags.rake
i18n.rake
images.rake
import.rake DEV: Import script should insert more data into user_stats table (#26551) 2024-04-11 14:05:21 +02:00
incoming_emails.rake
integration.rake
javascript.rake FEATURE: add JavaScript mode to ace (#27586) 2024-06-24 13:38:24 +10:00
log.rake
maxminddb.rake FIX: maxmind:refresh does not respect refresh_maxmind_db_during_precompile_days (#26457) 2024-04-02 14:25:05 +08:00
plugin.rake DEV: Suppress verbose command failure output in plugin:turbo_spec (#25952) 2024-02-29 14:35:31 +10:00
populate.rake
populate.thor
posts.rake UX: Add a rake task to monitor progress for long rebakes (#27517) 2024-07-03 07:52:47 +10:00
profile.rake
qunit.rake DEV: Restore qunit 'tap' reporter, but collapse verbose output in CI (#26484) 2024-04-03 10:22:20 +01:00
redis.rake
release_note.rake
revisions.rake
rspec.rake
s3.rake
scheduler.rake FEATURE: call hub API to update Discourse discover enrollment. (#25634) 2024-02-23 11:42:28 +05:30
search.rake
site_settings.rake
site.rake
smoke_test.rake DEV: Extensively use exception: true in system() (#25911) 2024-02-27 11:33:28 +01:00
svg_icons.rake DEV: Extensively use exception: true in system() (#25911) 2024-02-27 11:33:28 +01:00
svg_sprites.rake
tags.rake
themes.rake DEV: Fix the order of operations in themes-frontend (#27317) 2024-06-04 15:16:44 +02:00
topics.rake
turbo.rake
typepad.thor
uploads.rake DEV: Resolve TODO comments for martin-brennan 2024-07-01 15:32:30 +10:00
users.rake DEV: Introduce users:exists rake task (#27163) 2024-06-13 08:04:02 +01:00
version_bump.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00