Skip to content

chore: Remove cache strike notification#2088

Merged
collinjackson merged 3 commits intomainfrom
remove/cache-strike-notification
Mar 17, 2026
Merged

chore: Remove cache strike notification#2088
collinjackson merged 3 commits intomainfrom
remove/cache-strike-notification

Conversation

@collinjackson
Copy link
Copy Markdown
Collaborator

Summary

  • Removes the rewards_processed notification feature ("You've hit a cache of points!") from the TUI header
  • Deletes Worker::Rewards event type and rewards_with_level constructor
  • Removes REWARDS_EVENT_SENDER, set_rewards_event_sender, and response-parsing logic in report_proving_if_needed
  • Removes show_rewards_overlay state and the hidden --show-mock-notification debug CLI flag

Test plan

  • cargo build passes cleanly
  • TUI header no longer shows cache strike overlay
  • Version update notification still displays correctly

🤖 Generated with Claude Code

collinjackson and others added 3 commits February 10, 2026 11:43
Fix formatting issues introduced in #2050: trailing whitespace in doc
comments, method chain indentation, and inline if/else expansion.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The test address had mixed case that doesn't pass EIP-55 checksum
validation introduced in #2050, causing test failure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Removes the rewards_processed notification feature that displayed a
"You've hit a cache of points!" overlay in the TUI header. This
includes removing the REWARDS_EVENT_SENDER, Worker::Rewards event type,
show_rewards_overlay state, show_mock_notification debug flag, and all
associated wiring through analytics, runtime, events, and UI layers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 1be8742):

https://nexus-cli--pr2088-remove-cache-strike-hd1hhx5k.web.app

(expires Tue, 24 Mar 2026 21:08:03 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 815ec4c632754f56eccfacfc0919559f5a85a0f1

@collinjackson collinjackson changed the title Remove cache strike notification chore: Remove cache strike notification Mar 17, 2026
Copy link
Copy Markdown

@RiquelmyMelara RiquelmyMelara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@collinjackson collinjackson merged commit 72fdc18 into main Mar 17, 2026
3 checks passed
@collinjackson collinjackson deleted the remove/cache-strike-notification branch March 17, 2026 22:50
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.

2 participants