Skip to content

Fix: launch: event retention job that prunes soroban_events on a schedule (Auto-Generated) - #482

Open
privyy-bit wants to merge 4 commits into
Telocel-Labs:devfrom
privyy-bit:driptide/issue-433-1787846029008
Open

Fix: launch: event retention job that prunes soroban_events on a schedule (Auto-Generated)#482
privyy-bit wants to merge 4 commits into
Telocel-Labs:devfrom
privyy-bit:driptide/issue-433-1787846029008

Conversation

@privyy-bit

Copy link
Copy Markdown

Closes #433

This pull request was generated automatically and scoped strictly to issue #433.

Changes

Implemented event retention job in Go API main.go that prunes soroban_events partitions on a schedule based on EVENT_RETENTION_DAYS configuration, surfaces the retention window via API, and records metrics.

Verification

⚠️ Not verified locally (no build system detected, or the required toolchain isn't installed on the worker). GitHub CI is the source of truth — please check the CI status on this PR before merging.

Linked with Closes #433 so the Drips Wave bot resolves the issue on merge.

@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@privyy-bit Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Depo-dev added a commit to ravendevhub/Trident that referenced this pull request Aug 31, 2026
…#483/Telocel-Labs#487

These auto-generated PRs regenerated existing files from a stale base and
would have destroyed later work if merged as-is:
  Telocel-Labs#481  deletes 17 of 19 Prometheus alerts (process-down, disk, lag, RPC)
  Telocel-Labs#482  main.go 740 -> 100 lines, drops 13 of 14 functions, does not parse
  Telocel-Labs#484  deletes 530 lines of graphql.go and 596 lines of its tests
  Telocel-Labs#487  audit.go does not parse

Only their genuinely new, non-colliding files are taken here. Dropped as
superseded by better implementations already on dev:
  requestid.go            - dev's middleware.go validates incoming IDs
  db/partitions.rs        - dev has named_partition_ranges in db/mod.rs

go build ./... passes; both scripts pass bash -n.
@privyy-bit privyy-bit closed this Sep 1, 2026
@privyy-bit privyy-bit reopened this Sep 1, 2026
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.

launch: event retention job that prunes soroban_events on a schedule

1 participant