DESCRIPTION:
lib/qos_search.rb lines 35-37 rescue NoMethodError and re-raise unless e.name == :get. This introspection is brittle - if the octokit gem changes the method name (e.g. wraps with method_missing delegate), e.name will differ and the original NoMethodError propagates as if it were uncaught. Also, the fallback octo.rate_limit.remaining may itself fail in newer Octokit versions.
REPRODUCTION:
- Upgrade octokit/fbe to a version that changes the API surface.
- The fallback path silently fails.
IMPACT:
Runtime fragility on dependency upgrade.
RELATED FILES:
lib/qos_search.rb
lib/pull_request.rb (same pattern at lines 32-37)
DESCRIPTION:
lib/qos_search.rb lines 35-37 rescue
NoMethodErrorand re-raise unlesse.name == :get. This introspection is brittle - if the octokit gem changes the method name (e.g. wraps with method_missing delegate),e.namewill differ and the original NoMethodError propagates as if it were uncaught. Also, the fallbackocto.rate_limit.remainingmay itself fail in newer Octokit versions.REPRODUCTION:
IMPACT:
Runtime fragility on dependency upgrade.
RELATED FILES:
lib/qos_search.rb
lib/pull_request.rb (same pattern at lines 32-37)