In devcontainers, GitHub Action for dependabot fails due to unknown error when requirements are not specified. #11185
Labels
L: devcontainers
L: docker
Docker containers
L: ruby:bundler
RubyGems via bundler
T: bug 🐞
Something isn't working
Is there an existing issue for this?
Package ecosystem
devcontainers
Package manager version
devcontainer feature 0.72.0
Language version
Ruby 3.3.6
Manifest location and content before the Dependabot update
/.devcontainer/devcontainer.json
/.devcontainer/devcontainer-lock.json
dependabot.yml content
Updated dependency
No response
What you expected to see, versus what you actually saw
What I expected
ghcr.io/rhiroe/features/saml2aws will be upgraded to the latest version (1.2.0).
What actually happened
In the case of
devcontainer.json
as shown above,requirement
forghcr.io/rhiroe/features/saml2aws
isnil
.dependabot-core/devcontainers/lib/dependabot/devcontainers/file_parser/feature_dependency_parser.rb
Line 80 in c0b00ef
The
Dependabot::Devcontainers::Version.new(nil)
is failing with unknown_error because it causes an ArgumentError.dependabot-core/devcontainers/lib/dependabot/devcontainers/update_checker.rb
Line 30 in c0b00ef
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: