Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompts for user input are swallowed by progress indicator #88

Open
marshall007 opened this issue May 15, 2024 · 1 comment
Open

Prompts for user input are swallowed by progress indicator #88

marshall007 opened this issue May 15, 2024 · 1 comment

Comments

@marshall007
Copy link

Environment

Device and OS: Pop!_OS 22.04 LTS
App version: uds version: v0.10.4-6-gdf4aa09
Kubernetes distro being used: N/A

Steps to reproduce

See https://github.com/defenseunicorns/uds-package-mattermost/pull/65/files#r1602116776 as an example.

tasks:
  - name: ui
    description: Mattermost UI Checks
    actions:
      - cmd: npm ci
        dir: tests
      - cmd: npx playwright install --with-deps
        dir: tests
      - cmd: npx playwright test
        dir: tests

npx playwright install --with-deps appears to hang, but is actually prompting for sudo password.

Expected result

Ability to capture input on interactive commands or at least indicate to the user that the command is prompting for input.

Actual Result

Current behavior makes it appear as though the command is timing out.

@andrewg-xyz
Copy link

related: #103

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

No branches or pull requests

2 participants