Skip to content

Remove s3 log processing task#2425

Merged
mvandenburgh merged 1 commit into
masterfrom
remove-analytics
Jul 3, 2025
Merged

Remove s3 log processing task#2425
mvandenburgh merged 1 commit into
masterfrom
remove-analytics

Conversation

@mvandenburgh

@mvandenburgh mvandenburgh commented Jul 2, 2025

Copy link
Copy Markdown
Member

Closes #1900
Closes #2074

This was originally implemented as an experiment by @danlamanna, but we ended up taking a different approach outside of dandi-archive and now have https://dandi.github.io/access-page. It has recently been to failing to parse some logs and we've started to get regular Sentry alerts from it. Also, this task runs every hour, adding unnecessary load on the database and requiring a dedicated Celery worker on Heroku.

So in summary, removing this will fix those issues and also save a bit on the Heroku bill (dandi-infra PR).

Note - I've left the associated database models alone for now (i.e. this PR just removes code, it will not have any effect on the database). I'll make a follow up PR after this one where we can discuss removing those/how we want to archive that data.

@mvandenburgh mvandenburgh added patch Increment the patch version when merged internal Changes only affect the internal API labels Jul 2, 2025
@mvandenburgh mvandenburgh added the release Create a release when this pr is merged label Jul 2, 2025
@mvandenburgh mvandenburgh removed the release Create a release when this pr is merged label Jul 3, 2025
@mvandenburgh
mvandenburgh merged commit e9ae4a9 into master Jul 3, 2025
11 checks passed
@mvandenburgh
mvandenburgh deleted the remove-analytics branch July 3, 2025 17:44
@dandibot

dandibot commented Jul 3, 2025

Copy link
Copy Markdown
Member

🚀 PR was released in v0.11.5 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Changes only affect the internal API patch Increment the patch version when merged released This issue/pull request has been released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValueError dandiapi.analytics.tasks.process_s3_log_file_task Should process_s3_log_file_task be removed/turned off?

4 participants