Skip to content

[Bug] hs_persist_state silently ignores unknown variable names #1

@lepeuvedic

Description

@lepeuvedic

Summary

Passing a name that does not correspond to any variable produces an empty state string with no warning or error.

Current behavior

  • returns success with no output.
  • Callers cannot distinguish a typo from an intentional omission.

Expected behavior

  • Detect unknown variable names and fail with a clear error (or emit a warning).

Severity

Medium.

Notes

  • This is currently covered by tests added for unknown names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backward-compatibleChanges that maintain backward compatibilitybugSomething isn't workingbugfixBug fix branch typemediumMedium severity issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions