Skip to content

Honor --non-interactive in proxy commands#273

Merged
gtsiolis merged 1 commit into
mainfrom
des-240-honor-non-interactive-in-proxy-commands
Jun 1, 2026
Merged

Honor --non-interactive in proxy commands#273
gtsiolis merged 1 commit into
mainfrom
des-240-honor-non-interactive-in-proxy-commands

Conversation

@gtsiolis
Copy link
Copy Markdown
Member

@gtsiolis gtsiolis commented May 29, 2026

Motivation

Non-interactive consumers (CI, scripts, agents) need clean, deterministic output. lstk aws ignored --non-interactive — and because the command uses DisableFlagParsing, the flag was also forwarded to the aws binary, which rejects it as an unknown option.

Changes

  • Strip and honor --non-interactive in proxy commands so the spinner is suppressed and the flag isn't passed through to aws.

Tests

  • Integration TestAWSCommandSuppressesSpinnerInNonInteractiveMode (PTY; fails before, passes after) — existing slow/fast spinner tests still pass.
  • Unit TestStripNonInteractiveFlag.

DES-240

🤖 Generated with Claude Code

@gtsiolis gtsiolis force-pushed the des-240-honor-non-interactive-in-proxy-commands branch from 5181fc9 to 5a27a5c Compare May 29, 2026 17:14
@gtsiolis gtsiolis changed the title Honor --non-interactive in proxy commands and emit plain pull progress Honor --non-interactive in proxy commands May 29, 2026
Copy link
Copy Markdown
Collaborator

@carole-lavillonniere carole-lavillonniere left a comment

Choose a reason for hiding this comment

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

Emit plain pull progress as one line per layer status transition

This is unrelated the the aws proxy. I would either do in another PR or at least edit the title of this PR.

carole-lavillonniere

This comment was marked as resolved.

Copy link
Copy Markdown
Collaborator

@carole-lavillonniere carole-lavillonniere left a comment

Choose a reason for hiding this comment

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

One minor comment, but looks good!

@gtsiolis gtsiolis self-assigned this Jun 1, 2026
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gtsiolis gtsiolis force-pushed the des-240-honor-non-interactive-in-proxy-commands branch from 5a27a5c to f6085bc Compare June 1, 2026 17:22
@gtsiolis gtsiolis merged commit f0994f4 into main Jun 1, 2026
12 checks passed
@gtsiolis gtsiolis deleted the des-240-honor-non-interactive-in-proxy-commands branch June 1, 2026 18:22
@gtsiolis
Copy link
Copy Markdown
Member Author

gtsiolis commented Jun 1, 2026

Thanks, @carole-lavillonniere! Removed the unrelated changes out of the PR.

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