Multiple failures in gitlab-triage-post-release
During the release process, I got this error
/usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:430:in `visit_Psych_Nodes_Alias': Unknown alias: label-missed-resources (Psych::BadAlias)
from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in `visit_Psych_Nodes_Document'
from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
from /usr/lib/ruby/3.1.0/psych.rb:370:in `load'
from /usr/lib/ruby/3.1.0/psych.rb:671:in `block in load_file'
from /usr/lib/ruby/3.1.0/psych.rb:670:in `open'
from /usr/lib/ruby/3.1.0/psych.rb:670:in `load_file'
from /var/lib/gems/3.1.0/gems/gitlab-triage-1.40.0/bin/gitlab-triage:12:in `block in <top (required)>'
from /usr/lib/ruby/3.1.0/set.rb:511:in `each_key'
from /usr/lib/ruby/3.1.0/set.rb:511:in `each'
from /var/lib/gems/3.1.0/gems/gitlab-triage-1.40.0/bin/gitlab-triage:11:in `<top (required)>'
from /usr/local/bin/gitlab-triage:25:in `load'
from /usr/local/bin/gitlab-triage:25:in `<main>'
to fix it, I needed to manually expand labels by myself.
That was validating, but still not working. The reason is this line:
Date.today >= milestone.due_date
And indeed, the release was scheduled for tomorrow. While there was a metadata issue, I find this condition unnecessary and wrong. Checking milestone&.title == Tails_#{ENV['VERSION']}
seems good enough to me.