Skip to content

validator: Remove --dev-halt-at-slot argument#9220

Merged
steviez merged 1 commit intoanza-xyz:masterfrom
steviez:val_dep_halt_at_slot
Nov 24, 2025
Merged

validator: Remove --dev-halt-at-slot argument#9220
steviez merged 1 commit intoanza-xyz:masterfrom
steviez:val_dep_halt_at_slot

Conversation

@steviez
Copy link

@steviez steviez commented Nov 21, 2025

Summary of Changes

This was a debug flag to stop the validator midway through startup; it has no value now so remove the underlying logic and mark the flag as deprecated

The flag was added prior to 8b2327e (2019); I didn't care to go digging further but I think its time has come

@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.6%. Comparing base (0d5dfb0) to head (9d3bb5f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9220   +/-   ##
=======================================
  Coverage    82.6%    82.6%           
=======================================
  Files         890      890           
  Lines      320910   320889   -21     
=======================================
- Hits       265294   265291    -3     
+ Misses      55616    55598   -18     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@steviez steviez marked this pull request as ready for review November 21, 2025 21:19
@steviez steviez requested a review from t-nelson November 21, 2025 21:24
Copy link

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

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

can you split deprecation and removal so we can bp the deprecation and let the removal ride 4.0

@steviez
Copy link
Author

steviez commented Nov 22, 2025

can you split deprecation and removal so we can bp the deprecation and let the removal ride 4.0

Wasn't planning on BP'ing but if you're on board then let's do it - #9232 is the PR that is suitable for BP. Will rebase this one on top of master once it lands. Will request review from ya on that one once CI completes

@steviez steviez marked this pull request as draft November 22, 2025 21:18
@t-nelson
Copy link

well if you want to remove on a major, it needs deprecated before the previous minor hits mb

@steviez steviez force-pushed the val_dep_halt_at_slot branch from abd3596 to c33551c Compare November 23, 2025 21:52
@steviez steviez changed the title validator: Deprecate --halt-at-slot argument validator: Remove --dev-halt-at-slot argument Nov 23, 2025
@steviez steviez force-pushed the val_dep_halt_at_slot branch from c33551c to 9d3bb5f Compare November 23, 2025 21:53
@steviez
Copy link
Author

steviez commented Nov 23, 2025

well if you want to remove on a major, it needs deprecated before the previous minor hits mb

Fair enough - I figured this was functionally dead so ripped it + left the flag to avoid someone erroring out. Probably a bit too aggressive and better to do The-Right-Thing™️ instead. PR has been rebased on tip + updated, we should seemingly land the BP before this one

@steviez steviez marked this pull request as ready for review November 23, 2025 23:41
@steviez
Copy link
Author

steviez commented Nov 23, 2025

Extra force push was for a CI failure that I was pretty confident was unrelated to my change (gossip); green CI now so I think we're good

@steviez steviez requested a review from t-nelson November 23, 2025 23:42
@steviez
Copy link
Author

steviez commented Nov 24, 2025

we should seemingly land the BP before this one

#9244 merged so this is done

Copy link

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

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

ah sry missed the rebase here

@steviez steviez added this pull request to the merge queue Nov 24, 2025
Merged via the queue into anza-xyz:master with commit 70587a3 Nov 24, 2025
48 checks passed
@steviez steviez deleted the val_dep_halt_at_slot branch November 24, 2025 23:05
AvhiMaz pushed a commit to AvhiMaz/agave that referenced this pull request Nov 28, 2025
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.

3 participants