Skip to content

Fix NoneType crash in parse_feature_gates when SIMD field is absent - #15

Draft
marshalokos with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-job
Draft

marshalokos with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-job

Conversation

Copilot AI commented Aug 20, 2026

Copy link
Copy Markdown

scripts/parse_feature_gates.py crashes with AttributeError: 'NoneType' object has no attribute 'split' when a wiki feature row has no SIMD value — a case that occurs in the live wiki data.

Change

  • scripts/parse_feature_gates.py: Guard the .split(',') call against None by coercing to an empty string, producing an empty SIMD links list for features without a SIMD reference.
# Before
for simd in wiki_feature.simd.split(','):

# After
for simd in (wiki_feature.simd or '').split(','):

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
explorer Ready Ready Preview Aug 20, 2026 9:50am

Co-authored-by: marshalokos <211153994+marshalokos@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Fix NoneType crash in parse_feature_gates when SIMD field is absent Aug 20, 2026
Copilot AI requested a review from marshalokos August 20, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants