Replies: 3 comments 8 replies
-
Do such failures during the setup-ruby action? If not during the setup-ruby action, of course we cannot influence other steps so that wouldn't work. My other concern with this is there is no way to know when something will be fixed but the date would be mostly a guess and it's not unlikely it would fail again after that date. |
Beta Was this translation helpful? Give feedback.
-
No. The failures I'm speaking of are failures like the one you looked into in Puma (thank you). Or, a std-lib item changing from default to bundled, causing build failures. There may also be times when ruby head causes unforeseen issues. Errors like
Two assumptions:
I thought of this when I noticed Minitest's Using that syntax in Actions, re the Puma error, we could set |
Beta Was this translation helpful? Give feedback.
-
I'm not sure this feature makes much sense / is worth it. I think all bets are off with ruby-head builds, here's an example where ruby-head was passing and then started to not pass: sinatra/sinatra#1988 I get that we want exposure on ruby-head failures but to me it is not worth having the front page of your project show red failing builds. IMHO maintainers and interested contributors can check the Summary page from time to time to find out if head are causing problems (#564 (reply in thread)). |
Beta Was this translation helpful? Give feedback.
-
Given the issues that occur with additions to bundled gems in ruby head builds, and (I hope) that many CI workflows are using Ruby head builds...
Add an input like
allow-head-failure-until: <some easily parsed date format>
, which setup-ruby could use to set an environment variable to be used in logic to allow head builds to fail, but only before the date?IOW, an attempt to find a way to disable failures due to Ruby head builds, but only for a specified date period? Or, maintainers disable them to stop CI failures, but it's easy to forget to reenable them...
This is a bit messy regarding TruffleRuby & JRuby, which probably don't have the issues with bundled gems (I think). Maybe for now, don't include them in the 'date' calc?
Beta Was this translation helpful? Give feedback.
All reactions