Skip to content

test: quiet KV-state ENOENT log spam in TUI consent/dialog tests #1254

Description

@anandgupta42

Found during v0.11.0-beta.1 release review (Tech Lead). altimate-base-consent.test.tsx / dialog-altimate-base.test.tsx are functionally green (7-9/9) but emit dozens of Failed to read KV state ... ENOENT .../tmp/opencode/state/kv.json stack traces to stderr per run — a fail-safe path working as designed (no state dir in the test sandbox). Deferred: point the tests at a fixture tmpdir or log the KV-read miss at warn-and-once so the noise doesn't bury a real failure in CI logs.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions