Intermittent prompt_test failure
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- ruby
- Domain
- cli, testing-qa
Research direction
Start with test/cli/ui/prompt_test.rb at line 26 and reproduce the reported seed with TESTOPTS="--seed=63275" bundle exec rake. Compare the CI failure, where CLI::UI::PromptTest#test_confirm_sigint expected "sentinel", with the passing MacBook run. Done means the prompt test no longer fails intermittently in the reported test run.
Written by the indexing model from the issue text.
Description
e.g., https://github.com/Shopify/cli-ui/actions/runs/5314630194/jobs/9622054658?pr=429
Run options: --seed 63275
# Running:
........................................................F............................S...
rake aborted!
Command failed with status (1)
Finished in 23.282313s, 3.8226 runs/s, 11.[7](https://github.com/Shopify/cli-ui/actions/runs/5314630194/jobs/9622054658?pr=429#step:4:8)6[8](https://github.com/Shopify/cli-ui/actions/runs/5314630194/jobs/9622054658?pr=429#step:4:9)6 assertions/s.
/Users/runner/work/cli-ui/cli-ui/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/Users/runner/hostedtoolcache/Ruby/3.0.6/x64/bin/bundle:23:in `load'
1) Failure:
/Users/runner/hostedtoolcache/Ruby/3.0.6/x64/bin/bundle:23:in `<main>'
CLI::UI::PromptTest#test_confirm_sigint [/Users/runner/work/cli-ui/cli-ui/test/cli/ui/prompt_test.rb:26]:
Tasks: TOP => default => test
(See full trace by running task with --trace)
Expected "" to include "sentinel".
8[9](https://github.com/Shopify/cli-ui/actions/runs/5314630194/jobs/9622054658?pr=429#step:4:10) runs, 274 assertions, 1 failures, 0 errors, 1 skips
I tried TESTOPTS="--seed=63275" bundle exec rake on my Macbook, but it's passing there.
- Dominant language
- Ruby
- Stars
- 1.1k
- Forks
- 57
- Avg merge
- 2h 55m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Shopify/cli-ui
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
notch8/utk_knapsack#148 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Homebrew/homebrew-cask#288729 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100