Skip to content

Fix broken-pipe panic in update-config-settings - #981

Merged
leighmcculloch merged 2 commits into
mainfrom
claude/dreamy-hypatia-uijiuo
Sep 4, 2026
Merged

Fix broken-pipe panic in update-config-settings#981
leighmcculloch merged 2 commits into
mainfrom
claude/dreamy-hypatia-uijiuo

Conversation

@leighmcculloch

@leighmcculloch leighmcculloch commented Sep 4, 2026

Copy link
Copy Markdown
Member

What

Read the CLI's major version with stellar version --only-version-major instead of piping stellar version's full output through head/sed.

Why

The "Update Config Settings" workflow failed CI with a broken-pipe panic when stellar version | head -n1 | sed ... let head close its end of the pipe while stellar was still writing later lines:

thread 'main' (2314) panicked at /rustc/8bab26f4f68e0e26f0bb7960be334d5b520ea452/library/std/src/io/stdio.rs:1166:9:
failed printing to stdout: Broken pipe (os error 32)

@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Sep 4, 2026
@leighmcculloch
leighmcculloch requested a review from a team September 4, 2026 15:28
@leighmcculloch
leighmcculloch marked this pull request as ready for review September 4, 2026 15:30
Copilot AI balanced review requested due to automatic review settings September 4, 2026 15:30
@leighmcculloch
leighmcculloch enabled auto-merge (squash) September 4, 2026 15:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Replaces the fragile version-output pipeline with Stellar CLI’s dedicated major-version flag.

Changes:

  • Uses stellar version --only-version-major.
  • Prevents broken-pipe panics during config updates.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@leighmcculloch
leighmcculloch merged commit 7ef743d into main Sep 4, 2026
103 checks passed
@leighmcculloch
leighmcculloch deleted the claude/dreamy-hypatia-uijiuo branch September 4, 2026 16:29
@github-project-automation github-project-automation Bot moved this from Backlog (Not Ready) to Done in DevX Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants