Skip to content

Follow-ups from Spec 108-bd enforcement test gaps review (#1429) #1431

Description

@Dumbris

Low-severity findings left open after the review of #1429 (Spec 108-bd-tests). Both are missing assertions in tests; neither is a production defect.

  • internal/server/refusal_precedence_profile_v3_test.go:73 — row P1 (dangling pin before server_in_scope) checks the refusal text and that no upstream call was made, but never checks the activity/audit reason key. Rows P2, P3 and P9 do check it. As written, a regression that drops or mislabels the audit reason for a dangling-pin refusal would still pass.
  • internal/server/set_profile_v3_test.go:470 — matrix row 17 (switchable, then locked by the operator) checks the refusal text only. It never confirms that the stored session selection is unchanged, and it bypasses the shared refusedText helper that rows 1–14 use.

Activity

  1. added
    kind/bug
    priority/low
    triage/accepted
    on Sep 30, 2026
  2. added a commit that references this issue on Oct 6, 2026
    705d5cc
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

    kind/bugpriority/lowtriage/accepted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions