feat(activity): implement two-pass render pipeline #308
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!308
Loading…
Reference in a new issue
No description provided.
Delete branch "phase04-render-pipeline"
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
Implement the two-pass render pipeline on the
Viewcoordinator, completing #224.Changes
RenderPass1(width)RenderPass2(ctx)Render(width)StaleGraphs()[]stringof graphs needing refreshNeedsRefresh()statusLine()Context: user/alice | Last updated: 2m agoRender pipeline flow
graphKind enum
Tracks per-graph staleness (PRs, Issues, Contributions) for targeted re-renders.
StaleGraphs()returns only graphs with stale data.References: #224, #220, #221, #222, #223
Testing
golangci-lint run ./internal/activity/— 0 issuesgo test ./...— all passReview
Result: Approved — no blocking issues.
Summary: Implements the two-pass render pipeline on
View:Render(width)checks staleness and delegates toRenderPass1(width)for synchronous cache render;RenderPass2(ctx)handles async background refresh. NewstatusLine()uses pipe-separated format with context, timestamp, and stale data indicator.graphKindenum +graphStalearray track per-graph staleness.StaleGraphs()andNeedsRefresh()expose state to callers. ROADMAP2.md updated.Non-blocking:
widthparam inrenderSparklinesChecklist: