Skip to content

Fix analyzer errors in capability and receive pipeline test fixtures #79

Closed

Description

@thomhurst

The latest push CI on main fails during Build & Test / Build at b9056123cbeb75171d01bfa2704fa0f52c16bd68.

Run: https://github.com/thomhurst/Relayer/actions/runs/41301650892

Errors:

  • tests/Relayer.Tests/CapabilityValidationTests.cs:142,189: RLY004: Consumer has no handler. These runtime validation tests intentionally declare invalid consumers.
  • tests/Relayer.Tests/ReceivePipelineTests.cs:280: RLY001: Message type 'Relayer.Tests.ReceivePipelineTests.Payload' has no [Message] attribute.

Reproduce with dotnet build -c Release from the affected commit.

Acceptance criteria:

  • Preserve runtime coverage of invalid consumer declarations with narrowly scoped analyzer suppression.
  • Give the receive test payload its declared wire identity.
  • Release build and relevant tests pass without weakening production analyzer diagnostics.

Activity

  1. added
    bug
    area: testing
    P1
    in-progress
    on Nov 1, 2026
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

    P1area: testingbugin-progress

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions