Skip to content

fix: guard the suggestion index in shell completion - #308

Merged
lucassabreu merged 1 commit into
lucassabreu:mainfrom
nikosavola:nikosavola/push-oqnmqnrkomsv
Sep 17, 2026
Merged

lucassabreu merged 1 commit into
lucassabreu:mainfrom
nikosavola:nikosavola/push-oqnmqnrkomsv

Conversation

@nikosavola

Copy link
Copy Markdown
Contributor
  • len(args) == len(fns) passed the guard and then indexed past the end, panicking inside __complete

- len(args) == len(fns) passed the guard and then indexed past the end,
  panicking inside __complete

Co-Authored-By: DeepSeek V4.1 Flash <noreply@deepseek.com>
@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.46%. Comparing base (b97ea5d) to head (3bada0f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #308      +/-   ##
==========================================
+ Coverage   32.36%   32.46%   +0.09%     
==========================================
  Files         141      141              
  Lines        9016     9016              
==========================================
+ Hits         2918     2927       +9     
+ Misses       5984     5974      -10     
- Partials      114      115       +1     
Flag Coverage Δ
unittests 32.46% <100.00%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lucassabreu
lucassabreu merged commit 176547e into lucassabreu:main Sep 17, 2026
10 checks passed
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