sourcegraph / sourcegraph/scip-ruby
scip-ruby-arm64-linux builds
Nessuno ha ancora preso questa issue.
- Lingua principale
- Ruby
- Stelle
- 22
- Fork
- 4
- Merge medio
- 4h 58m
- PR unite (30g)
- 4
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con il job CI di scip-ruby e l’artefatto di release esistente scip-ruby-x86_64-linux collegato nell’issue. Aggiungi la build Linux arm64 corrispondente e l’output di release; il lavoro è completato quando è disponibile un artefatto scip-ruby-arm64-linux per il release workflow indicato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ruby
- Ambito
- build-system, ci-cd
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100