feat(activity): handle extremely active contexts with truncation and warning #317
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/steeper!317
Loading…
Reference in a new issue
No description provided.
Delete branch "phase06-high-activity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Add high activity detection, logging, and display, completing #246.
Changes
DailyActivity— set to true when raw event count for a day exceeds 500eventCountper day, sets flag and logslog.Printfwarning when > 500 events in a day! high activityindicatormaxEvents=500truncation inFetchActivityEventslimits total fetch volume (first 500 events across all days)References: #246, #243, #244, #245
Testing
go test -race ./...— all passReview
Result: Approved — no blocking issues.
Summary: Adds high activity detection (>500 events/day).
DailyActivity.HighActivityflag set during aggregation inAggregateActivityByDay, withlog.Printfwarning.View.HasHighActivity()andView.HighActivityDays()expose state to callers. Status line shows! high activityindicator when flagged. ROADMAP2.md updated.Non-blocking:
HasHighActivityandHighActivityDays; notelog.Printfvs centralized loggerChecklist:
go test -racepasses