Skip to content

Partial command matching is incorrectly suppressed by variable validation #140

Open

Description

@devibinoy

Issue 1: Partial command expansion blocked by variable validation

When requesting tab-completion on a partial token, valid expansion candidates may not be shown if a sibling variable node rejects the same input during validation.

Example:

set interface h<TAB>

Expected;

hostif-0/0/0
hostif-0/0/1
...

Actual:
No expansions are displayed.

Issue 2: Partial command execution is blocked

When entering a partial command that uniquely matches a keyword, the match can be discarded if a sibling variable candidate reports a validation error.

Example:

show subscriber his
where both history and are valid alternatives.

Expected:
show subscriber history should be selected as the unique partial command match.

Actual:
'his' is not a number
is returned from the variable validation path.

Activity

  1. added theissue type on Jun 22, 2026
  2. olofhagsand commented on Jun 22, 2026

    @olofhagsand
    Member

    See #141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions