Skip to content

Paste takes extremely long time, fails #115

Closed

Description

@schneems

Description

Pasting this into irb takes a very long time and never completes

thingy = [
{"addon_plan_names"=>[], "app"=>{"id"=>"4f4b0abe-1f20-4a0d-9af0-261cc8eb89e8", "name"=>"hatchet-t-69d71ace9f"}, "created_at"=>"2020-07-27T18:18:41Z", "description"=>"Initial release", "status"=>"succeeded", "id"=>"35d211ed-098a-45bb-a924-e544314d5e6e", "slug"=>nil, "updated_at"=>"2020-07-27T18:18:41Z", "user"=>{"email"=>"developer@example.com", "id"=>"7b1e713f-ad06-4567-a961-fa2a676e3d1f"}, "version"=>1, "current"=>false, "output_stream_url"=>nil}, {"addon_plan_names"=>[], "app"=>{"id"=>"4f4b0abe-1f20-4a0d-9af0-261cc8eb89e8", "name"=>"hatchet-t-69d71ace9f"}, "created_at"=>"2020-07-27T18:18:41Z", "description"=>"Enable Logplex", "status"=>"succeeded", "id"=>"15bdc401-d607-4331-b9ff-77927bfa8d62", "slug"=>nil, "updated_at"=>"2020-07-27T18:18:41Z", "user"=>{"email"=>"developer@example.com", "id"=>"7b1e713f-ad06-4567-a961-fa2a676e3d1f"}, "version"=>2, "current"=>false, "output_stream_url"=>nil}, {"addon_plan_names"=>[], "app"=>{"id"=>"4f4b0abe-1f20-4a0d-9af0-261cc8eb89e8", "name"=>"hatchet-t-69d71ace9f"}, "created_at"=>"2020-07-27T18:18:54Z", "description"=>"Set LANG, RACK_ENV config vars", "status"=>"succeeded", "id"=>"97ed2ce1-1fce-448f-b716-b65f77f819a1", "slug"=>nil, "updated_at"=>"2020-07-27T18:18:54Z", "user"=>{"email"=>"developer@example.com", "id"=>"7b1e713f-ad06-4567-a961-fa2a676e3d1f"}, "version"=>3, "current"=>true, "output_stream_url"=>nil}, {"addon_plan_names"=>[], "app"=>{"id"=>"4f4b0abe-1f20-4a0d-9af0-261cc8eb89e8", "name"=>"hatchet-t-69d71ace9f"}, "created_at"=>"2020-07-27T18:18:54Z", "description"=>"Deploy ab6786ce", "status"=>"failed", "id"=>"d8585c27-133c-4d20-8b71-c3b04096558f", "slug"=>{"id"=>"6986523a-a3ca-4451-8bf5-f0bf72ba5828"}, "updated_at"=>"2020-07-27T18:19:01Z", "user"=>{"email"=>"developer@example.com", "id"=>"7b1e713f-ad06-4567-a961-fa2a676e3d1f"}, "version"=>4, "current"=>false, "output_stream_url"=>"https://example.com/url"}]

It pauses/fails in this state:

Terminal Emulator

Iterm2 on mac

Setting Files

$ cat ~/.irbrc
cat: /Users/rschneeman/.irbrc: No such file or directory
⛄ 2.7.1 🚀  ~/Documents/projects/hatchet (schneems/fail-on-release-fail)
$ cat ~/.inputrc
cat: /Users/rschneeman/.inputrc: No such file or directory
$ irb --version
irb 1.2.4 (2020-05-02)

Activity

  1. aycabta commented on Sep 11, 2020

    @aycabta
    Member

    The broken behavior is fixed by ruby/reline#170 and ruby/reline#171.

    ref. #43

  2. schneems commented on Sep 13, 2020

    @schneems
    ContributorAuthor
  3. estani commented on Sep 21, 2021

    @estani

    I'm still seeing this in 1.2.6. Is it a regression, or it never really worked for term2 & mac?
    @schneems did it work for you?

  4. schneems commented on Sep 21, 2021

    @schneems
    ContributorAuthor

    It was fixed when I commented in September 2020. Likely a regression. I confirm pasting the same thing no longer works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions