fix(enrichment): treat .ruby-version as a Ruby runtime pin for EOL checks#3116
Conversation
…ecks The EOL analyzer and its scheduler gate recognized Node and Python pin files but not rbenv/asdf's `.ruby-version`, so PRs that pin Ruby that way silently skipped EOL analysis. Parse `.ruby-version` as product `ruby` and admit it through the runtime-pin gate. Co-authored-by: Cursor <cursoragent@cursor.com>
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-04 15:09:33 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 6 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Summary
The EOL analyzer and its scheduler runtime-pin gate recognized Node (
.nvmrc,.node-version) and Python (.python-version) pin files but not rbenv/asdf's.ruby-version. PRs that pin Ruby that way silently skipped EOL analysis.Scope
extractVersionPinstreats.ruby-versionas productruby(same leading-version format as the other pin files).isRuntimePinPathin the scheduler admits.ruby-versionso the gate cannot skip a file the analyzer would parse.Test plan
extractVersionPinson.ruby-versionwith3.2.2→{ product: "ruby", version: "3.2.2" }.node --test test/eol-check.test.ts— 11 passed.No linked issue
Self-contained detection-coverage fix; no tracking issue. Touches
eol-check.ts,scheduler.ts, and the eol test.Made with Cursor