Skip to content

Fix misleading orchestrator client error level log#4437

Merged
imabdulbasit merged 2 commits into
mainfrom
ab/fix-orchestrator-err
Jun 5, 2026
Merged

Fix misleading orchestrator client error level log#4437
imabdulbasit merged 2 commits into
mainfrom
ab/fix-orchestrator-err

Conversation

@imabdulbasit
Copy link
Copy Markdown
Contributor

@imabdulbasit imabdulbasit commented Jun 5, 2026

For an existing network, we don't use orchestrator because we may already have the config or we have fetched from peers.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented Jun 5, 2026

Claude finished @imabdulbasit's task in 33s —— View job


Code Review: Fix orchestrator client info error level log

  • Gather context and understand changes
  • Review code quality and correctness
  • Check for security, performance, and testing concerns
  • Post review

Summary

This is a small, well-motivated change. The else branch at context.rs:462-466 is hit when a node starts without an orchestrator client — i.e., the network config was loaded from storage or fetched from peers. This is the normal path for a node rejoining an existing network, not an error condition.

Feedback

The change looks good. Downgrading from tracing::error! to tracing::info! is the right call here. The previous error! level was misleading — it would fire on every non-orchestrated node start, which is expected behavior in production. The new log message ("no orchestrator configured") is also clearer than the old one ("Cannot get info from orchestrator client"), which implied a failure rather than a deliberate configuration choice.

The added comment explaining why this isn't an error is helpful context for future readers.

No issues found with security, performance, or testing — this is a log-level-only change with no behavioral impact.


@imabdulbasit imabdulbasit changed the title Fix orchestrator client info error level log Fix misleading orchestrator client error level log Jun 5, 2026
@imabdulbasit imabdulbasit merged commit 5e3fc47 into main Jun 5, 2026
128 of 132 checks passed
@imabdulbasit imabdulbasit deleted the ab/fix-orchestrator-err branch June 5, 2026 12:31
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

Successfully created backport PR for release-ff-upgrade-test:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

Nextest failures (1) in this run

Test Attempts Time (s) Main history
hotshot-testing::test_epochs_combined_network::test_combined_network_cdn_crash_with_epochs::testtypes_::combinedimpl_::test_combined_network_cdn_crash_with_epochs 1 44.23 passing

See the step summary for flaky tests and slowest tests.

imabdulbasit added a commit that referenced this pull request Jun 5, 2026
…t` error level log (#4438)

Fix misleading `orchestrator client` error level log (#4437)

* fix no orchestrator err

* fix comment

(cherry picked from commit 5e3fc47)

Co-authored-by: Abdul Basit <45506001+imabdulbasit@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants