Skip to content

scripts: remove unused --feeder-url from take_nodes_out_of_observer_mode#14008

Open
ShahakShama wants to merge 1 commit into
mainfrom
shahak/script_remove_unneccesary_args
Open

scripts: remove unused --feeder-url from take_nodes_out_of_observer_mode#14008
ShahakShama wants to merge 1 commit into
mainfrom
shahak/script_remove_unneccesary_args

Conversation

@ShahakShama
Copy link
Copy Markdown
Collaborator

The fetched block number was only used as a soft filter on the post-restart
logs URL. Drop the flag and the related dead plumbing, and refresh the script
title/help text to describe what the script actually does.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

The fetched block number was only used as a soft filter on the post-restart
logs URL. Drop the flag and the related dead plumbing, and refresh the script
title/help text to describe what the script actually does.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@reviewable-StarkWare
Copy link
Copy Markdown

This change is Reviewable

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cursor
Copy link
Copy Markdown

cursor Bot commented May 10, 2026

PR Summary

Low Risk
Low risk: removes an unused CLI flag and simplifies post-restart log URL generation without changing the core restart/config-update behavior.

Overview
Updates take_nodes_out_of_observer_mode.py to remove the --feeder-url dependency and the related block-height fetching/plumbing.

The post-restart Logs Explorer link is simplified to query only for DECISION_REACHED by proposer (no block-number filter), and the CLI help/usage text is refreshed to describe taking nodes out of observer mode via --validator-id-start-from.

Reviewed by Cursor Bugbot for commit 14d7f04. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 14d7f04. Configure here.

ApolloArgsParserBuilder,
ConfigValuesUpdater,
get_configmap,
get_current_block_number,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unused imports left behind after dead code removal

Low Severity

The PR removes the feeder-url plumbing but leaves behind three now-unused imports: urllib.error, urllib.request, and print_colored. These were previously used by the removed get_current_block_number call and the block-number print statements, and are no longer referenced anywhere in the file.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 14d7f04. Configure here.

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