Skip to content

Conversation

@Frzk
Copy link

@Frzk Frzk commented May 9, 2025

Related to #108

schneems and others added 8 commits April 24, 2025 19:15
…1583)

* Use `--update=none` instead of `-n` for `copy` in `cache.rb`

* Changelog

* Fix CI failure

```
  1) LanguagePack::Helpers::OutdatedRubyVersion handles arm 💪 architecture on heroku-24
     Failure/Error: expect(outdated.suggested_ruby_minor_version).to eq("3.3.7")
       expected: "3.3.7"
            got: "3.3.8"
       (compared using ==)
     # ./vendor/bundle/ruby/3.1.0/gems/rspec-support-3.13.1/lib/rspec/support.rb:110:in `block in <module:Support>'
```

3.1 is EOL now and shouldn't change. We should use that.

---------

Co-authored-by: Jan Nash <jnash@jnash.de>
Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
* Fix `cp` update none on Heroku 20

In heroku#1583 a warning was bypassed by switching from `-n` to `--update none`. Unfortunately this triggers an error with the version of `cp` on `heroku-20` (which is EOL in 2 days) due to not having that flag:

```
-----> Preparing app for Rails asset pipeline
remote: cp: option '--update' doesn't allow an argument
remote: Try 'cp --help' for more information.
```

Internal ticket link https://heroku.support/1570694.

* Check exit status of copy command

* Changelog
Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
* Assert no warnings from `cp`

* Fix cache warning on heroku-22

Before:

```
$ be rspec spec/hatchet/getting_started_spec.rb:25
Run options: include {:focused=>true, :locations=>{"./spec/hatchet/getting_started_spec.rb"=>[25]}}
Hatchet setup: "hatchet-t-91c5d5b6ce" for "ruby-getting-started"
Destroying "hatchet-t-91c5d5b6ce": eb7dab2f-d12a-4bd2-b62a-c48781aa55a9, (0/20) reason: teardown
F

Failures:

  1) Heroku ruby getting started works on Heroku-22
     Failure/Error: expect(app.output).to_not include("cp --help")
```

After:

```
$ be rspec spec/hatchet/getting_started_spec.rb:25
Run options: include {:focused=>true, :locations=>{"./spec/hatchet/getting_started_spec.rb"=>[25]}}
Hatchet setup: "hatchet-t-17874ceca3" for "ruby-getting-started"
Finished in 2 minutes 21.4 seconds (files took 0.1802 seconds to load)
1 example, 0 failures
```
Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
@Frzk Frzk self-assigned this May 9, 2025
@Frzk Frzk requested a review from sc-david-voisin May 9, 2025 08:41
@Frzk Frzk merged commit a5230bd into master May 9, 2025
1 check passed
@Frzk Frzk deleted the deps/upstream_v306 branch May 9, 2025 10:21
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

Successfully merging this pull request may close these issues.

4 participants