Skip to content

Demo crashes with KeyError for approval-gated tickets lacking a verdict fixture #7

Description

@royalpinto007

Problem

Any new sample ticket hitting the approval interrupt without a REVIEWER_VERDICTS entry crashes the demo with KeyError.

Where

relayg/demo.py (REVIEWER_VERDICTS[ticket["ticket_id"]], direct indexing).

Acceptance

Add a failing test (or demo run) first where an approval-gated sample ticket has no verdict entry, expecting a default deny with a note instead of raising. Then fix.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions