Skip to content

Spark feedback: Config type validation failure - spark config set accepts string instead of integer #36

Description

@gunguu2020

Best target repo

{"vibeship-spawner-ui" => "Mission Control, Kanban, Canvas"}

Page, command, module, or repo

spark config set

What got confusing?

Memory or domain chips

What did you expect to happen?

The system should reject non-integer values for advisor.max_items and show a validation error

What actually happened?

spark config set advisor.max_items 'any-text' accepted the string value without any error

Safe details

Reproduction: spark config set advisor.max_items 'any-text'
This will likely cause downstream crashes when the setting is used as an integer
Full bug report: https://github.com/gunguu2020/spark-bug-hunt

Suggested improvement or PR link

Add input type validation for config fields that expect specific data types like integers

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions