Skip to content

CI failures on main #5

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

Closed
technicalpickles opened this issue Apr 7, 2025 · 3 comments
Closed

CI failures on main #5

technicalpickles opened this issue Apr 7, 2025 · 3 comments

Comments

@technicalpickles
Copy link
Contributor

For example:

https://github.com/rubyatscale/query_packwerk/actions/runs/14273593053/job/40012093037
https://github.com/rubyatscale/query_packwerk/actions/runs/14273593053/job/40012092065

Cache key: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-head-wd-/home/runner/work/query_packwerk/query_packwerk-with--without--only--ABI-3.5.0+0-Gemfile.lock-92b89d021c3a6725b217689a79f1039642f61d2ae6a21f22b5ea6b090dc23ed6
Warning: Cache not found for keys: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-head-wd-/home/runner/work/query_packwerk/query_packwerk-with--without--only--ABI-3.5.0+0-Gemfile.lock-92b89d021c3a6725b217689a79f1039642f61d2ae6a21f22b5ea6b090dc23ed6, setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-head-wd-/home/runner/work/query_packwerk/query_packwerk-with--without--only--ABI-3.5.0+0-Gemfile.lock-
/home/runner/.rubies/ruby-head/bin/bundle install --jobs 4
Fetching gem metadata from https://rubygems.org/......
The following platform specific gems are getting installed, yet the lockfile includes only their generic ruby version:
 * nokogiri-1.18.5-x86_64-linux-gnu
Please run `bundle lock --normalize-platforms` and commit the resulting lockfile.
Alternatively, you may run `bundle lock --add-platform <list-of-platforms-that-you-want-to-support>`
nokogiri-1.18.5-x86_64-linux-gnu requires ruby version < 3.5.dev, >= 3.1, which
is incompatible with the current version, 3.5.0.dev
@technicalpickles
Copy link
Contributor Author

The commands it suggests don't result in a git diff, fwiw

~/workspace/query_packwerk main ?1                                                                                                                          
❯ bundle lock --normalize-platforms
Fetching gem metadata from https://rubygems.org/......
Writing lockfile to /Users/josh.nichols/workspace/query_packwerk/Gemfile.lock

~/workspace/query_packwerk main ?1                                                                                                                          
❯ git diff

~/workspace/query_packwerk main ?1                                                                                                                          
❯ 

@technicalpickles
Copy link
Contributor Author

Ah, more closely, it's because we use ruby_version: HEAD in .github/workflows/main.yml. Changing it to 3.4 should fix this.

I tried pushing this but got an error I haven't figured out yet:

 ! [remote rejected] dont-use-head -> dont-use-head (refusing to allow an OAuth App to create or update workflow `.github/workflows/main.yml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/rubyatscale/query_packwerk'

@martinemde
Copy link
Collaborator

Fixed.

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