scip-ruby-arm64-linux builds

Đang mở
#228 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
ruby
Lĩnh vực
build-system, ci-cd

Hướng nghiên cứu

Bắt đầu với CI job scip-ruby và release artifact scip-ruby-x86_64-linux hiện có được liên kết trong issue. Thêm bản build Linux arm64 tương ứng và release output; hoàn thành khi có artifact scip-ruby-arm64-linux cho release workflow được tham chiếu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement graph/scip-ruby team/graph
Problem

Stripe makes contributions to Sorbet and uses the HEAD version of Sorbet internally. Our scip-ruby CI job is set up to pass the exact same flags that we pass to sorbet, into scip-ruby.

When the Sorbet team changes CLI flags and bumps the version of Sorbet used internally, all tests pass, even though scip-ruby doesn't support the extra flags. That's because we only run scip-ruby CI job every 30m, instead on every push.

Then, later I find out that the scip-ruby CI job is failing because of ~"unknown CLI arguments".

So I've been (after the fact) patching the sorbet config in our scip-ruby CI job using something like this:

# Mod the Sorbet config to replace `--uniquely-defined-behavior` with `--stripe-mode`
sed -i 's/--uniquely-defined-behavior/--stripe-mode/' sorbet/config
# Delete the `--extra-package-files-directory-prefix-slash-deprecated` line
sed -i '/--extra-package-files-directory-prefix-slash-deprecated/d' sorbet/config
sed -i '/--extra-package-files-directory-prefix-slash-deprecated/d' sorbet/extra-package-directories.txt
# Delete the line starting with `--packager-layers`
sed -i '/--packager-layers/d' sorbet/config

This is kind of a cat-and-mouse game, so I'd like to make it so that when the Sorbet team bumps the Sorbet version, we run a test specifically checking that the flags are valid with scip-ruby too.

Our CI environment runs arm64 and x86_64 randomly but for Linux we only have x86_64 builds.

So I can't write the test until we have Linux arm64 builds :(

Suggested solution

https://github.com/sourcegraph/scip-ruby/releases/tag/scip-ruby-v0.4.3 currently scip-ruby-x86_64-linux and I would love a scip-ruby-arm64-linux too please

Compared to other tools

No response

OSS Examples

No response

Ngôn ngữ chính
Ruby
Star
22
Fork
4
Merge trung bình
4 giờ 58 phút
Pull request đã merge (30 ngày)
4

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sourcegraph/scip-ruby

Tất cả issue của sourcegraph/scip-ruby

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.