Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Ability to fail the whole process if spinner fails

Open
#491 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
cli

Research direction

Read lib/cli/ui/frame.rb at lines 127-131 to compare the existing process-halting behavior, then trace the spinner creation and failure path. Define the configuration option and verify that a failed spinner halts the process while the default behavior remains unchanged.

Written by the indexing model from the issue text.

Description

Currently, when the error is raised inside a Frame, the whole process is halt, see https://github.com/Shopify/cli-ui/blob/b9e35edf1345ab221e77097dfd0a4b9675d71636/lib/cli/ui/frame.rb#L127-L131

I would like to have a similar ability for spinners - to be able to pass some config option when creating a spinner, so that if it fails it halts the whole process. Currently, the spinner is only marked as failed and the process continues.

Are you open for such a feature? I can help with a PR.

Dominant language
Ruby
Stars
1.1k
Forks
57
Avg merge
2h 55m
Merged PRs (30d)
2

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Shopify/cli-ui

All issues in Shopify/cli-ui

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.