fix(enrichment): treat .python-version as a Python runtime pin for EOL checks#3113
Conversation
…L checks The EOL analyzer and its scheduler gate recognized Node pin files but not pyenv/asdf's `.python-version`, so PRs that pin Python that way silently skipped EOL analysis. Parse `.python-version` as product `python` 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 14:53:45 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 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 pin files (
.nvmrc,.node-version) but not pyenv/asdf's.python-version. PRs that pin Python that way silently skipped EOL analysis.Scope
extractVersionPinstreats.python-versionas productpython(same leading-version format as.nvmrc).isRuntimePinPathin the scheduler admits.python-versionso the gate cannot skip a file the analyzer would parse.Test plan
extractVersionPinson.python-versionwith3.11.0→{ product: "python", version: "3.11.0" }.node --test test/eol-check.test.ts— 10 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